LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Temperature reading from Keithley 6517B using LabVIEW drivers

Solved!
Go to solution

You have a syntax error.  The best way to debug this is to break up the command string you are sending to the instrument and look at what part of the string triggers the error.  Make your self a little VI that has 1 string control as input and then does a VI write to the 6517, then a VI read response and error.  Enter the strings one at a time until you hit the error.  Look up that specific command in the manual (500 pages reduced to perhaps 2pages!) and see if you have the string correct.  Does it require something you omitted?  Wrong separators?  Wrong colon/semi-colon?  Etc..

 

If you attached the real VI I might have a look to help, but nothing I can do with images of the code.

0 Kudos
Message 11 of 16
(1,490 Views)

OK I'll try that and get back to you (device not with me now). Here is the VI.

0 Kudos
Message 12 of 16
(1,473 Views)
Solution
Accepted by labview_rookie4

Today I happened to be in a lab with a 6517a, so I borrowed it for the afternoon.

 

This is code that implements the solution gregoryj pointed out above.  It works! 

 

Rather than modify the driver VIs I implemented a complimentary set for using with temperature measurements.  So leave the original in place and use these along side..safer this way! 

 

There are two examples:

 

- k6517a_Example_Acquire_Measurement+Temp+Humidity.vi
- k6517a_Example_Measure_Temp+Humidity.vi

 

Enjoy.

Message 13 of 16
(1,459 Views)

Thank you so much!

0 Kudos
Message 14 of 16
(1,452 Views)

Hi

 

Thank you for sharing your VI.

When I try to use it, it always have a error of VISA CLEAR OVERTIME. But when i run a normal example VI like measure current, it works will. 

 

Maybe do you have any idea of it.

 

Thank you

 

 

0 Kudos
Message 15 of 16
(186 Views)

Hi Avery,

 


@Avery__l wrote:

When I try to use it, it always have a error of VISA CLEAR OVERTIME.


Please show an image of that error…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 16 of 16
(179 Views)