From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
07-23-2018 12:25 PM
Hello guys,
I'm new to labview so i'm still not verty familiarized with all the functions of the software. Right now i'm having troubles measuring Voltage and Current in a Crio-9074.
I have the 9225 and 9227 modules, i know they are for measuring voltage and current respectively but i just cant find a way to interpret the measurement, i tried connecting them directly to a waveform chart (since they throw out a double type output) but it stays in 0, i already measured the voltage of the inputs with a multimeter and there is voltage on the terminals.
I'm actually programming in Scan Mode, i dont know if this has to be done on FPGA Mode, i havent been able to find examples regarding my problem.
Thank you.
Solved! Go to Solution.
07-23-2018 08:28 PM
the scan engine default is at 10ms (~2 data per cycle for 50/60Hz), you probably want to reduce it to get a better sample of the waveform.
can consider using a producer-consumer, timed loop as producer, read from 9225/7 to enqueue, queue element being 1D array of double, dequeue in consumer with circular buffer array (fixed size) for further processings (rms, etc).
07-24-2018 10:55 AM
Thank you CY, now i was able to reed the voltage values coming from the 9225, the problem is that i have readings of 160v, while i only have 120V AC connected. I already tried with a DC source and it measures the voltage correctly, do you know any particular reason why i might have faulty readings for the AC. i already checked the voltaje on the terminals of the module and there are indeed 120v.
07-24-2018 12:01 PM
Try to check if you are measuring peak or rms, for the amplitude?
Also check if the sampling rate is sufficient.
07-24-2018 12:05 PM
Yes i totally forgot about RMS, now im getting the desired value, i just have to work with it, thank you very much.
07-24-2018 12:08 PM
Glad you got it working, have a great day ahead