Hello guys, I am developing an application and I need to control a Spectrum Analyzer, I was programming with GPIB a long time ago, and I need to control now from Borland C++ Builder 6.0.
I am using 'Language Interface 32-bits for Borland C++", and I have problems when I try to read data from GPIB.
I do the next:
ibdev(0, 16, 0, T10s, 1, 0)
ibclr(0)
ibwrt(0, "*IND?", 5)
ibrd(0, msg, 2000)
When I do ibrd and I obtain an error in ibsta and I can not read anything, the other commands was okey without errors.
I am following the examples and I am using to compile the "Decl-32.h" and add the library BorlandC_gpib-32.obj to my project.
If I use measseurement application to query the device, the devices respond me correctly, when I try the same commands using "Interactive Control", I obtain the same error that my application.
Anyone knows which is the problem?
thanks!!