I developed an EasyWin 16bit application using Borland Turbo C++ version 4.5. I downloaded the language specific files and followed the examples, however, the GPIB board will not communicate with this program. The GPIB board works fine with LabView and the troubleshooter shows it is okay. I have included the Windecl.h and linked with the gpib.lib files that I downloaded and the program compiles and links okay, but I don't get any response from the GPIB board when I run it. NI Spy also shows no activity when I run the EasyWin program, yet I see all the GPIB traffic with my LabView program.
Here is some of the code I am trying to execute (the gpiberr function is from the examples):
if (ibfind(0) < 0)
gpiberr("ibfind Error");
Bd = ibdev (GPIB0, 4, 0, T10s, 1, 0);
if (Bd < 0)gpiberr("ibdev Error");
Both of these functions will return the EDVR error code.
Any advise would be greatly appreciated.