LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Build array while reading realtime measurement from NI9225

I have connected cRIO9074 and NI9225/NI9227 for voltage and current measurement real time modules.

When I reading data and plot waveforms then it only showing correct waveforms when reading before the build array and when I connect graph after building array then its showing incorrect waveforms as per images attached.

 

what should I do to correct measurement and then after I want to measure power/RMS.

 

thanks

0 Kudos
Message 1 of 7
(1,422 Views)

I have connected cRIO9074 and NI9225/NI9227 for voltage and current measurement real time modules.

When I reading data and plot waveforms then it only showing correct waveforms when reading before the build array and when I connect graph after building array then its showing incorrect waveforms as per images attached.

 

what should I do to correct measurement and then after I want to measure power/RMS.

 

thanks

Download All
0 Kudos
Message 2 of 7
(1,422 Views)

Hi, could you attach images of the plots and code?

 

Fort

0 Kudos
Message 3 of 7
(1,402 Views)

You are using charts, which have a history built-in.  By writing the array to the chart, you are essentially writing the history to the chart, which doubles the history and things will not look right.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 4 of 7
(1,390 Views)

Hi meharda,

 


@meharda_92 wrote:

what should I do to correct measurement and then after I want to measure power/RMS.


You have been told several times to employ the FPGA in your cRIO to get "good" measurements (like in this thread or here), but you still insist on using the ScanEngine…

 

Is there a reason you're not following our suggestions?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 5 of 7
(1,365 Views)

I am unable to write the code in FPGA mode and further program part is also depend on its Scan Engine mode. that why I don't want to switch to FPGA mode.

 

Thanks for your support.

0 Kudos
Message 6 of 7
(1,346 Views)

 I have tried this as per the image but waveforms sometimes get distorted but now its looks fine but the issue here is (Ia G 2) current and (Ia L) current waveforms magnitute should be same but there is showing difference in measurement here. I have cross checked at hardware part but there is same current magnitute.

 

Thanks

0 Kudos
Message 7 of 7
(1,342 Views)