Hi everyone,
I'm using Advantech USB-4704 as a replacing card for our current A/D card which has gone EOL.
Advantech is only "officially" supporting LabWindows, but since they have ANSI_C examples, I have been looking into them.
Except for one line, which i replace everything else seems to be supported:
//wcscpy(devInfo.Description, deviceDescription); strcpy(devInfo.Description, deviceDescription);
The code runs perfectly using Visual Studio 2017, but not CVI 2015SP1.
Could someone help me out to get this to work with LabWindows?
Or is there another approach that is better? Thinking of maybe wrap the example that builds in VS2017 and export the DLL to CVI?
I have attached both VS2017 and CVI example, where one works and one fails.
You would need to install Advantech SDK to make it work, I assume (http://downloadt.advantech.com/download/downloadsr.aspx?File_Id=1-1MENNIH).
Thanks