02-08-2022 11:32 PM
I have CRIO9074 and NI modules NI9227 (current) and NI 9225 (voltage) for measurements.
I am measuring the current for load emulator and voltage for grid simulator, but I am unable to set up the sample size/ sample rate for accurate measurement, the sine wave is not accurate.
How to get RMS values and power values with accurate sine wave.
I applied 230V 50Hz and load about 1-2kW range.
Thanks
02-09-2022 12:50 AM - edited 02-09-2022 12:55 AM
Hi meharda,
@meharda_92 wrote:
I have CRIO9074 and NI modules NI9227 (current) and NI 9225 (voltage) for measurements.
I am measuring the current for load emulator and voltage for grid simulator, but I am unable to set up the sample size/ sample rate for accurate measurement,
You are using the ScanEngine interface with your cRIO: this is quite limited to low samplerates! That old 907x device is limited even more to about <=200Hz… You may try to lower the ScanEngine update rate, but less than 10ms might be hard to reach.
When it comes to high samplerates (with low jitter) you should use the FPGA in your cRIO. Do you have access to the FPGA module with your LabVIEW installation/license?
(If possible you should upgrade the cRIO chassis to something more recent, like the 905x line, to get much more processing power. The 907x line isn't supported very well nowadays, it's "end of life"…)
On your VI:
02-09-2022 02:20 AM
I can access the FPGA module with LABVIEW and I am using DBL control to change the sampling time and see the impact on graphs (if they are accurate or not), after getting final sample rate/time then I will fix it
I used the graphs to see the current and voltages waveforms.
02-09-2022 02:30 AM
Hi Meharda,
@meharda_92 wrote:
I can access the FPGA module with LABVIEW
Then you should get rid of the ScanEngine and implement DAQ within the FPGA…
@meharda_92 wrote:
I am using DBL control to change the sampling time
That doesn't make sense when the Wait function only accepts integers…
(It also doesn't make a lot of sense in the ScanEngine context.)
02-09-2022 04:53 AM - edited 02-09-2022 04:53 AM
Also note that with the cRIO-904x and 905x series you may be able to use DAQmx on the controller to achieve significant higher sampling rates than with the Scan Engine, without having to create a dedicated FPGA personality yourself.