LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Power supply control

Solved!
Go to solution

I have solved the problem by using array for commands. 

0 Kudos
Message 11 of 16
(552 Views)

I have solved the problem by using array for commands.

0 Kudos
Message 12 of 16
(549 Views)

Hi,

what type of power supply you have ? as an example for Aim-TTI power supply you need to download LabVIEW driver from the TTI website.

https://www.aimtti.com/resources/pl-p-series-power-supplies-combined-labview-driver-and-labwindows-c... 

you don`t need to use the visa Palette.

Best Regards.

thank you.

 

0 Kudos
Message 13 of 16
(543 Views)

Hello,

 

My power supply is from Chinese company "MHInstek", has non-standard command set. I have successfully created a VI to adjust parameters finally, but now I want to add "read output values" function, I was using "format into string" for write function, now if I want to read returned values from from power supply, which function I have to use? Returned voltage string is ex. "Aru03500" means 35.00V  How to convert this value to see on "meter" in front panel?

0 Kudos
Message 14 of 16
(537 Views)
Solution
Accepted by topic author BerkayBtr

First, the array method is no different from the flat sequence method except that you added a 60ms delay between commands (sort of).

 

To extract the 35V from "Aru03500" you just need scan from string or similar string to numeric conversion function as implemented in the below example. Please note the offset "3"  used to skip the first three characters in the response and the scaling factor "100" used to scale the value to voltage.

santo_13_0-1650229951303.png

 

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
Message 15 of 16
(526 Views)

Thank you very much, this is what I was looking for.

0 Kudos
Message 16 of 16
(523 Views)