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 14
(784 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 14
(767 Views)
Solution
Accepted by topic author 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 14
(753 Views)

Thank you so much!

0 Kudos
Message 14 of 14
(746 Views)