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.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

array showing fixed value when inputting a waveform

I'm trying to calculate the phase between voltage and current, but first i have to work out power and do it from there. So i'm inputting the power data into an array but the array data doesn't change through out the whole session of for loop. I'm not sure what is happening.

 

0 Kudos
Message 1 of 4
(801 Views)

If you talk about the array in shift registers it's beacause you're replacing the array with same data at each iteration.

Lucian
CLA
0 Kudos
Message 2 of 4
(749 Views)

so the function replacing array subset does not add new data to the array?

 

0 Kudos
Message 3 of 4
(732 Views)

No, as the name of the function says, it replaces a subset of the input array.

Lucian
CLA
0 Kudos
Message 4 of 4
(718 Views)