12-06-2013 08:46 PM
I am trying to use a new model NI SmartCAM reader with VBAI 2013 - previously we have been using VBAI 2009 API - and have connect, inspect and get results (specifically ID matrix read and pass status).
The C# code example uses VBAIEngine object. Not clear how to connect to the camera. An example that I can make work with the camera would help tremendously.
Solved! Go to Solution.
12-08-2013 05:26 PM
There are 2 constructors a to a VBAIEngine. The first one to connect to a local engine, illustrated in the example.
The second one to connect to a remote target such as the Smart Camera.
public VBAIEngine(string ipAddress, bool forceConnection, string password)
12-10-2013 11:20 AM
Thank you for this. Please let me know where I can find documentation for the VBAIEngine (2013). Thanks in advance.
12-11-2013 03:21 PM
12-11-2013 05:36 PM
I am sorry. There is no chm or online documentation for the VBAI .NET API. We currently just provide examples.
The API is relatively easy to use, and the examples provided with VBAI show how to use most of the functions.
For the complete list of the functions and their prototype, double click on the NationalInstruments.VBAI.200x under References in the example project, to view the assembly in the Object Browser.
From there, tyou can expand NationalInstruments.VBAI, click on VBAIEngine and see the list of all methods and their prototypes in the window.
Same thing for NationalInstruments.VBAI.Enums and NationalInstruments.VBAI.Structures.
Sorry I don't have a better answer for now. If you have specific questions on some of the methods, feel free to post again on the forum.
Best regards,
Christophe