LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Wrting to lvm file and reading it in same loop

Hi

I am writing lvm file (10 samples in one loop at 1kHz) inside a while loop and displaying it. 

The same data i wanted to read and display.

But the issue is that read vi reads first 10 samples in every iteration.

My objective is to synch the two charts and display same data in every iterations .

Thanks

0 Kudos
Message 1 of 4
(2,993 Views)

Why do you need to write and read data from a file inside your loop?

Why don't you just branch the wire containing the data?

 

Btw. I don't think it's useful to display data at 10 kHz sample rate...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 4
(2,974 Views)

me too has same objective .

Actually I am reading sensor data on a remote PXI target and sending to host pc .

 

0 Kudos
Message 3 of 4
(2,898 Views)

Hi DMic,

 

and what's your problem with this?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 4
(2,880 Views)