Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Is this a bug in the NI GPIB OCX Control?

(Yes, it's me again--already.)

The VB6 application I'm writing to control an Anritsu MP1570A Sonet Analyzer is now working moderately well, but I intermittently get the GPIB error,

"Unable to talk to GPIB device.||Type mismatch."

I find that this error does not occur if the program is single stepped. I have tried adding delays after each GPIB command and have played around with the duration. Delays seem to improve the situation but not entirely and not consistently. I'm not certain, but it seems like the problem may be less pronounced when the application is running standalone, i.e., not in the development environment. NI Spy reports no errors, by the way.

Has anyone seen anything similar or have an idea what the fi
x might be?

Thanks to all in advance,
JG
0 Kudos
Message 1 of 2
(3,078 Views)
duplicate post

Bilal Durrani
NI
Bilal Durrani
NI
0 Kudos
Message 2 of 2
(3,078 Views)