Help!
Using LabVIEW 2012 (I know, old, but there are reasons...), when I call a driver DLL I get Error 1097.
We don't have target hardware yet (it will be a while), when I call the DLL initialisation function the DLL status output returns 'not initialised', but there is no error, as I would expect.
Error 1097 is returned when I subsequently try and interact with the device, for instance calling the DLL out8 function.
Could the exception be raised because target hardware isn't present? I thought Error 1097 was corruption due to incorrect DLL call parameter types?
I've tried changing the calling convention between stdcall and C, and set the parameters to those stated by the header file, but Error 1097 is still returned.
I've also used the LabVIEW 'Tools> Import > Shared Library (DLL)', the resulting lvlib does the same (Init and exit works, but all other DLL functions fail with 1097)
I've attached the lvlib and included the header file with it.
Any thoughts please?
Thanks