10-23-2008
11:30 AM
- last edited on
04-18-2024
04:19 PM
by
Content Cleaner
Hello,
i already searched for this question but to be 100% sure i better ask again.
The question is if the program "NI Vision Development Module" which can be found on this page https://www.ni.com/en/shop/data-acquisition-and-control/add-ons-for-data-acquisition-and-control/wha...
can be used with C#.Net?
The first description says "Hundreds of functions for LabVIEW, C/C++, Visual Basic, and .NET" but when i open the datasheet then there is no word any more from .Net.
Second question is: When i run the Vision-software in assistant-mode and it works there, is it then possible to see which functions are used? Or what is the way to write the thing in C# after it my assistant-mode what ok?
Thanks for your help
Solved! Go to Solution.
10-23-2008 11:48 AM
Hi,
If you can call external DLLs from C#.Net (I'm pretty sure, that you can), then you can use NI VDM.
If you want to see which functions was used in Vision Assistant, then you can export your script as *.c file and you will get code snapshot with all of them.
best regards,
Andrey.
10-23-2008 01:52 PM
OnlyOne -
Currently, the NI Vision Development Module does ship .NET interop assemblies, so it can be used with C#.
Vision Assistant has the option to generate LabVIEW or C code, so if you write a script you can generate code and see what functions are being called. Vision Assistant does not directly generate C# code, but it will generate pseudcode that uses the Visual Basic API (which is what the .NET interop assemblies are based on) so it shouldn't be too difficult to manually convert it to VB.NET or C#.
Greg Stoll
Vision R&D
National Instruments