Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Why? Able to read only 1 bytes on GPIB at query.

Hi.

I able to read Only 1 bytes on GPIB at query to keithley2182(NanoVoltMeter) and keithley6221(AC/DC SourceMeter).

 

For example, Reading buffer after has written "*IDN?", could reading "K". And then read "E", "I"... every time when I push only "Read".

Actually I should get whole of instruments identification;"KEITHLEY INSTRUMENTS..." when I push "Write"and"Read" once.
But It had been useless chaging GPIB cable, rebooting my PC and instruments.

 

On the other hand I could get whole of identification on other instruments (example:keithley7001,6510 and Lakeshore340) when I pushed once.

Why I connot get whole id?
Please help me.

 

(Postscript. It are so terrible that my English, but your consideration make me happy. Thank you for reading.)

0 Kudos
Message 1 of 3
(1,005 Views)

How are you performing these operations?

 

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 2 of 3
(978 Views)

Please attach some code or explain a bit more! 

 

Are you using Ni-MAX or LabVIEW?  If LabVIEW are you using the Keithley 2182 and 6221 drivers or using VISA Write and Read directly?  If using VISA read make sure you specify a number of bytes larger than the expected string length.  Just use 5000, no need to make it match the exact number and it just needs to be longer than you expect.

 

cstorey_0-1668198529906.png

 

Hope that helps.

Craig

0 Kudos
Message 3 of 3
(952 Views)