![]() ![]() Your secondary question is how to compile a DLL with C#. In the past I have recommended using AutoIt to perform this kind of automation. If not, then you have to resort to automation via a third-party tool that basically allows you to simulate pressing buttons and entering stuff on an application's front panel. NET functions to control the application. If it does, then you can actually use the same. A C# application is really no different than any other application, and so the question boils down to: how do I control an application from LabVIEW? The answer is that it depends on whether the application exposes an interface to allow it to be programmed. There are examples that ship with LabVIEW that show how this is done. NET functions that are available in LabVIEW. NET library in LabVIEW is similar to using a DLL in that you use the. Thank you in advance for anyone who is able to help me or at least shed some light on my situation.Ĭ# creates. Otherwise, I would like to know of any easier shortcuts for accessing my C# program via LabVIEW. I was hoping for something simpler and more user friendly. ![]() In the past I have created DLLs with a C program and accessed the DLL in LabVIEW, so I might be able to do this with a DLL that I created in C#, but I do not know how to create a DLL in C#.Ĭould anyone please help me with figuring out how to compile a DLL with C# code in Visual Studios 2008 so I can use it in LabVIEW? I've searched online and I always find something that asks me to enter a line in DOS command prompt starting with "CSC," which is not a recognized command. I heard that there is an easy way to access a C# program via LabVIEW, but I haven't had any luck finding out how it is done. I am however quite familiar with LabVIEW programming and have been using it since version 6.1. I am starting to learn a little bit about C#, but I'm starting from scratch. I've downloaded Visual Studios C# and I can compile the program, edit the button sizes of the executable window, etc. I've worked with C language before, but not. ![]() C# is not widely used among my company, but LabVIEW is, so I would like to convert the C# program to a LabVIEW program somehow. I have a program that was created in C# by an engineer who has left the company. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |