09-24-2024 04:31 AM
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
09-24-2024 05:37 AM
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)…
09-24-2024 09:18 AM
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?
09-24-2024 09:59 AM
Hello. Yes I have installed drivers.
09-24-2024 10:32 AM
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.
09-30-2024 08:22 AM
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?