Where can I find a C# example for the Ixxat USB to CAN?

Here is what I have so far, but it does not work at the IEnumerator part.

using Ixxat.Vci4;

namespace ixxat1
{
class Program
{
static void Main(string[] args)
{

        IVciDeviceManager deviceManager = VciServer.Instance().DeviceManager;
        IVciDeviceList deviceList = deviceManager.GetDeviceList();
        IEnumerator vciDevice = deviceList.GetEnumerator();


        IMessageFactory factory = VciServer.Instance().MsgFactory;
        ICanMessage canMsg = (ICanMessage)factory.CreateMsg(typeof(ICanMessage));

        Ixxat.Vci4.
    }
}

}

There are examples installed with the VCI driver here:

c:\Users\Public\Documents\HMS\IxxatVCI 4.0\Samples\dotnet

Also, here is the guide in case you don’t have it:

https://cdn.hms-networks.com/docs/librariesprovider8/default-document-library/downloads/vci-v3/4.02.0250.20021-.net-softwaredesignguide-en.pdf?sfvrsn=2cb1b5d6_28

Thanks!

Paul

Great, thank you!

Paul

You’re welcome.

I can’t find the examples at “c:\Users\Public\Documents\HMS\IxxatVCI 4.0\Samples\dotnet”
or at “C:\Program Files\HMS\Ixxat VCI”

Also the link to the guide is dead

1 Like