I’m writing an application that reads from a controller attached to Ixxat’s USB-to-CAN. This is a C# application. I’m new to the API, but I understand that the starting point is to get an instance of the VciServer object via code like the following:
// Get a reference to the server.
IVciServer server = IVciServer.Instance();
However, this line throws the following exception:
ArgumentNullException: Argument cannot be null.
Parameter name: path1
System.IO.Path.Combine (System.String path1, System.String path2) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.IO/Path.cs:112)
Ixxat.Vci4.VciServer.LoadServer ()
Ixxat.Vci4.VciServer.Instance ()
Test.Start () (at Assets/Ixxat USB-to-CAN/Test.cs:13)
Can someone assist? I cannot find anything about how to handle this, and I can’t move forward until I clear this hurdle.