Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Instrument loses communication with VB2010 and NI-488.2

I'm trying to update my company's software to VB2010.  I tried out the SimpleReadWrite project and it works fine.  Then I tried to integrate the "Device" class into a wrapper that includes the model name.  I have no problems except one instrument can only communicate for one write then it times out.  I do not have this problem in NIMax or in the SimpleReadWrite example with the same instrument.  Using NI-Spy, it appears that line-by-line all programs are writing identical commands, it's just that the one instrument will time out on every other command, no matter how long you pause in-between commands, whereas the other two programs run without any difficulty.

 

The same program is actually written in VB 6, but using the old API commands (ibfind, etc.).  It may sound like the command is the difficulty, but it does not matter what command you use, it will time out.

 

I've tried repairing the installation, but it had no effect.  Have not yet tried a new card or uninstalling and reinstalling all the NI software I have installed (which is not something I would like to do).  I don't think this is the problem since the same problem happened on another computer.

 

Instrument is an ILX LDT-5910B if you are curious.  I've attached the class and also the NI capture.

0 Kudos
Message 1 of 2
(2,897 Views)

Solved by enabling readdressing, known issue with the ILX LDT-5910B.

Message 2 of 2
(2,884 Views)