In article <1125393251274-260471@exchange.ni.com>, Finkler <x@no.email>
wrote:
> I'm trying to communicate with several of my measuring devices, for example a
> temperature controller and a lock-in amplifier. When I send the command to
> read the output of the device, instead of getting an exponential string such
> as:
> 7.75E-03
> I get the following string:
> 3*31A)03
>
> Note that in ASCII code, all the characters in the string I get (other than
> the last two characters) are 4 places down the ASCII table, e.g. * is 42
> while it should be . which is 46.
>
> Does anyone have any idea why this happens and how I can solve this?
Yeah, you have a bad GPIB line. It is the data bit #2 (logical 4).
This line is either bad on the controller and not reading it correctly
or bad on your instrument.
If you see it on multiple instruments it is either the card in the Mac,
the cable or connectors. First look at the connectors for bent pins,
paint etc on the gold plated fingers. if they are all good, then try
swapping GPIB cards.
If you see it on only one instrument then check that instrument
connector or get it repaired.
-Scott
PS (the same holds for PeeCee or any host computer!)