Is there any way one can use Visual C or similar DLL's such as which come with National Instruments data acqusition boards to make Origin my data acquisition program? I know that in the past (long ago) there was LabGPIB for a similar concept.
In order to read or write on a port, include the header file: #pragma dll(c:\WINDOWS\SYSTEM\Msvcrt) int __cdecl _inp(unsigned short port); int __cdecl _outp(unsigned short port, int value);
and if short port is the port number the function: int a= _inp(port) read the byte on the port int b= _outp(port,databyte) write