Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Status byte times out with KS3988 VIs and Labview 6i

I'm trying control my CAMAC crate with PCI-GPIB card and ks3988 crate controller. On software, I use labview 6i and ks3988 device driver found on NI website.

I wrote a small program, which open the controller, initializes it, and readout the status register, and then close it.

Everything is OK, except that readout process gives out timeout error. However, the status can be readout and displayed on screen.

I found that this read process calls a VISA Read VI with a 5 bytes buffer. If I change this parameter with 4 bytes buffer, the program can run quickly and only gives out a warning on readout status register, telling that it has reached the end of buffer.

How to solve this problem?

Thanks.
0 Kudos
Message 1 of 3
(3,111 Views)
What is the exact error code that you get? Kindly refer, http://www.ni.com/support/labview/visa/default.htm for a visa error.

Also it might be a good idea to update your GPIB,VISA and LV from, http://digital.ni.com/softlib.nsf/MainPage?ReadForm&node=132010_US
0 Kudos
Message 2 of 3
(3,111 Views)

can you share your .vi file .. i am also working on KS3988 and labview10

may be it is usefull me 

0 Kudos
Message 3 of 3
(2,672 Views)