03-05-2015 01:41 AM
We am working on a project on eye tracking. We run a labVIEW vi through which the co ordinates of the path of eye movenment are added to a txt file and we process the text file in run-time for getting the path in my C# application.
This requires us to run the VI when I click a button in the c# application window. and stop running it when I press another.
We haven't been able to interface the C# application with LabVIEW. The ready made app dll's didnt come of help because of our inexperience.
We have tried using the Process.start(in C# diagnostics) functions to run LabVIEW onclick,but still doesnt solve our problem clicking the run button in background.
Any stepwise guide would be appreciated,concerning labVIEW dll or,other.
Just to make things clear,
Our project GUI is a C# wpf application. We need to run a labVIEW vi in background. (need control over run)
Any help would be appreciated. Thanks a lot!
Our system:
Windows 8/8.1
NI LabVIEW 2014 Student edition(with Vision assistant,mathscript,Vision development module)
Microsoft Visual Studio 2013 Professional (WPF C# application)
03-05-2015 03:58 AM
03-05-2015 05:41 AM - edited 03-05-2015 05:42 AM
LabVIEW executables also have an ActiveX interface you can turn on.
Mike...
03-05-2015 07:09 AM
LabVIEW can generate an assembly that you can reuse in C#, that's the best .NET integration build we offer. You define the namespaces, classes and methods in the Application Builder, build the assembly and add it as a reference to your C# project 😃
Eric M. - Senior Software Engineer
Certified LabVIEW Architect - Certified LabVIEW Embedded Systems Developer - Certified LabWindows™/CVI Developer
Neosoft Technologies inc.
03-05-2015 09:34 AM