LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Measure Supply Voltage Continuously

Hello. I am driving motor with LabVIEW and I record some data. I was recording input voltage connecting voltage probe to power supply but recently I realized that I can do this inside LabVIEW. I am using CPX400 power supply. Can someone help me me how I can record supply voltage continuously during 10 s, while I record current with current probe? Thank you 

0 Kudos
Message 1 of 6
(156 Views)

Hi Lily,

 


@Lily3000 wrote:

Can someone help me me how I can record supply voltage continuously during 10 s, while I record current with current probe?


Put the communication with your power supply in its own loop and read the data as long/often as you like (and is supported by that device)…

Best regards,
GerdW


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

Have you installed the LabVIEW drivers for your PS?  CPX Series Bench/System/ATE Programmable DC Power Supply | Aim-TTi (aimtti.com)

 

Maybe there are examples with the drivers that you can use or modify?

LabVIEW Pro Dev & Measurement Studio Pro (VS Pro) 2019
0 Kudos
Message 3 of 6
(118 Views)

Hello. Yes I have installed drivers. 

0 Kudos
Message 4 of 6
(109 Views)

Looks like there's an example in there that allows you to set some parameters and reads the output voltage.  All you have to do is put that code in a loop and connect a chart to the Measurement VI.  You'll want the Initialize before the loop and the Close VI after the loop.  Add a Wait.vi in there too, to throttle the loop speed to whatever you need.

LabVIEW Pro Dev & Measurement Studio Pro (VS Pro) 2019
0 Kudos
Message 5 of 6
(105 Views)

I don't see relevant examples for me there. Can you please show me how to put it in a loop and continuously measure voltage from the supply?

 

0 Kudos
Message 6 of 6
(66 Views)