Communication problem with an old device on a GPIB bus

Locked
Zimbo
Posts: 239
Joined: Fri Feb 11, 2005 10:50 pm

Communication problem with an old device on a GPIB bus

Post by Zimbo »

Hi,

I'm using a NI PCMCIA-GPIB+ card plugged into my laptop(running WinXP) to communicate with a Mitutoyo "MAG-1" (Multi-Axis Gathering) device. This device follows the IEEE488 Std 75/78.

I'm running my C code in MS VC++ environment and simultaneously studying the communication between my laptop and MAG using the NI GPIB Analyzer software.

First I let the MAG know that it has to do an 'interface test' by sending the device specific instruction from the MAG manual. Then I send the 'test data' to it and it should send me back the bit by bit compliment of my test data. I use ibwrt/ibrd functions with proper addressing and delimiter settings.

Of the 20 or more times, I ran the application only once did the communication went fine, meaning I got the compliment of my test data.

Most of the time: in the first step itself, i.e. letting the device know about the test by using ibwrt function, the application gives me a ibwrt timeout error.

Does it have something to do with the timing issues of GPIB card and the device. I'm new to GPIB. Can anyone help me with my problem?
Zimbabwe
Magestic
Posts: 66
Joined: Wed Mar 14, 2001 8:00 am

Post by Magestic »

I think you need to take this to a specialized forum.
Tormentius
Posts: 4108
Joined: Sat Dec 14, 2002 8:00 am

Post by Tormentius »

Memphis wrote:
Magestic wrote:I think you need to take this to a specialized forum.
I think you'll find our Zimbo here fancies himself as a bit of a troll
Ah, that makes a little more sense.
Locked