Currently I meet an NI-VISA I/O Error,which refers to hex code"0xBFFF003E",when i try to design a VI to control 2 HP GPIB devices within one block diagram using LabVIEW 5.0 on a WinNT PC.The two devices that i am trying to control are Agilent 33120A Function Generator & HP83712B Synthesized CW Generator.
I first developed one VI for each device controlling respectively, the two VIs works fine for their corresponding devices. Then I combined the two VIs' block diagrams into one so as to control the 2 devices using a combined GUI. On the combined block diagram, I still use two VISA class sessions, one for each device controls.
I think there should be no problem since the individual VI for each device works fine. Howeve
r, when i run the combined VI, there's an error comes out for VISA Write in, and the "error explanation" states its "Possible Reasons" as:
VISA: (Hex 0xBFFF003E) Could not perform operation because of I/O error.
I am wondering how come the individual VI works fine, but when combine them together there comes out an error.
The most magic thing is, when i use the hightlighting debugging techniques, the error disappears and the combined VI works fine as well!!!
But it seems not so stable, therefore, it's better to find a way to fix the error... but how can i fix the I/O Error in NI-VISA?
Thanks for anyone's kind help!