LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

creating VI to control Keithley 2231A-30-3 triple channel Power supply

hello,

 

I need to creat a VI for Keithley 2231A-30-3 Power supply to control Power supply. I want to make VI to set voltage and current limits and start and stop power supply when it is needed, in short I want fully control on power supply using labview.

 

I have already installed keithley USB adapter drivers and KeithleyKE22xxSeriesVer1.2 in my PC. But when I opened Keithley KE22xx Series Project it shows the following error as shown in attached file. 

 

Kindly guide me how to use this file to creat VI for controlling Keithley Power supply.

Download All
0 Kudos
Message 1 of 24
(6,154 Views)

Hi Yash,

 

- the "error.png" clearly explains the problem: the device driver is expected at a very special place!

Please install the device driver with usual settings into the instr.lib-folder!

 

- the error in your VI is also explained in the error message dialog. Your device did not respond (as expected). Did you check the connection?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 24
(6,150 Views)

Are you sure your instrument is located at COM 14?

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 3 of 24
(6,103 Views)

Error 1 => Usually when you install the drivers on your PC and open the examples the first time LabVIEW has to find all the files and paths dependencies.  Did you click "ignore" or "ignore all" while it was loading the dependencies? 

 

Try this: 

Close the VI, close LabVIEW.

Re-open the VI and if it asks to locate dependencies, click "browse" and find the missing files yourself. 

 

Once properly located you should be good to go.

 

Error 2 =>  Are you using Serial or USB or GPIB?  You will need to specify that as Gerd and Bob pointed out.  COM14 is for serial connection.  USB would look something like  "USB0::0x041E::0x12C0::<more>"  Click the VISA resource name drop-down list, hit refresh and then select your device address.

0 Kudos
Message 4 of 24
(6,091 Views)

thanks for the reply to all.

 

cstorey : when I opened examples for the first time I clicked "ignor all" while it was loading the dependencies. after that this problem appeared. after that I closed my VI and labview file and re-opened it. but the problem continues and display following message which is attached below. how to solve this problem?

0 Kudos
Message 5 of 24
(6,076 Views)

Hi yash,

 

you need to resolve those dependencies.

And you should not move any VIs outside of the project context to avoid that message in the future!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 6 of 24
(6,076 Views)

1) To resolve the issue when you open the VI you will need to manually browse and locate the file.  Like GerdW said don't move those files outside of the project folder.  Also, don't modify or erase any.   Perhaps re-install the driver to make sure you haven't moved/modified or erased the file already!

 

2) If you are using a USB cable then your device is not COM14.  But if you are using a USB-Serial converter then it could be.  Not all of those work as expected!  Try another one, and google for VISA compatibility.

0 Kudos
Message 7 of 24
(6,065 Views)

thanks to all. 

0 Kudos
Message 8 of 24
(6,051 Views)

hello,

I have create one VI for controlling keithley power supply. but it shows error in reading part. how to solve this error?

 

1) Error -1073807253 occurred at VISA Read in labview for power supply monitor output_10.1.18.vi

 

VISA:  (Hex 0xBFFF006B) A framing error occurred during transfer.

 

2) Error -1074000000 occurred at an unidentified location.

 

Possible reason(s):
KE22xx Error Query;
instrument reports:
140, "Wrong type of parameter"
0, "No error"

 

 

 

 

0 Kudos
Message 9 of 24
(6,034 Views)

Hi yash,

 

KE22xx Error Query; instrument reports: 140, "Wrong type of parameter"

Debug your VI to find the command where the Keithley reports this error. Then read the Keithley manual to learn about the correct type of parameters for that command…

 

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 10 of 24
(6,033 Views)