Hi,
Our test system is as follow :
Industrial PC
Microsoft Windows NT 4
VenturCom RTX 4.3.1
LabWindows/CVI 5.5
NI-488.2 1.50
NI-PAL 1.5.0f0
NI-VISA 2.5.2
NI-VXI 3.2
IVI Engine 1.83
The hardware is as follow :
PCI-GPIB controller connected to several instruments :
GPIB0::4:INSTR
GPIB0::5::0::INSTR
GPIB0::5::1::INSTR
GPIB0::21:INSTR
GPIB0::22:INSTR
GPIB0::23:INSTR
etc.
I agree with the fact that reading after an invalid instruction will return a Time Out.
My point is that sending an invalid command by itself will make the instrument raise a Service ReQuest on the GPIB bus.
Do do this you need an IEEE488.2 instrument which support status registers (accessible through commands like "*ESR?" "*ESE xx" "*STB?" "*SRE xx").
To config
ure the instrument in our test case, you tipically send :
"*ESE 52"
"*SRE 32"
When the SRQ is detected, you need to acknowledge it by reading the Status Byte Register ("*STB?" or viReadSTB) and the Event Status Register ("*ESE?").
Hope this will help you reproduce my problem.
Sincerely,
Rémi THEVENIN