ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Use Read from Measurement File to Create Array

Solved!
Go to solution

Good morning!

 

I have some data logged in .lvm file format.  I would now like to arrange this data in a sequential array so I can apply a median filter to it.

 

When I run the VI I notice that the first element of the indicator seems to be getting overwritten on each loop (rather than going to the next element), I think the array should be built outside the loop but I am unsure how to code this.

 

Please find my current VI attached.

 

Peter


Regards,

Peter D

0 Kudos
Message 1 of 3
(4,468 Views)
Solution
Accepted by topic author Pete.Dunc

use shift register... See the attached snippet

 

1.png

Regards
Guru (CLA)
Message 2 of 3
(4,456 Views)

Thank you!  It has been a while since I used shift registers (or LabVIEW for that matter!).

 

 

Peter


Regards,

Peter D

0 Kudos
Message 3 of 3
(4,445 Views)