acquire data from solartron LVDT


Recommended Posts

Apparently so.

OK, this is what I did to try it, all in the command / alert window:

extern("C:\daqfactory\Orbit_if.dll","short OrbitSetaddr(short, short, string[10], short[1])","setadd", "stdcall")

global s = "abcdefghi"

global op = 0

? setadd(1,1,@s,@op)

The last line printed 11, which is presumably an error code from the DLL since I don't have any hardware. But, I was able to successfully call into the DLL without any DAQFactory generated errors.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.