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: 

Save sample a specific time

Hello

I am quite new to LabView so i dont know much about it yet.

 

I am trying to make a VI that samples from a NI cRIO-9215 A/D converter, one channel for ECG and one for aterial pressure.

The VI is working fine just sampling and saving the data and i have made it with a timer and this also works fine.

 

Now i need to make a trend curve from the pressure samples in the last 30min. I want to make a 5-10sec long sample every 5min, and the totally lenght of the graph should be around 30mins.

This gives me 6 times the function should sample for 5-10sec from the pressure adc input.

The sample rate is about 200 and the max save time is 6 hours, maybe less.

I tried to make a for/while loop but this is just slowing the others functions of the VI way down 😞 

 

I also need to make a VI that can view the saved samples. I was thinking that I can use the same trend function to generate a trend curve like the real time, from the logged data. But this isn't so urgent as saving the data.

 

I hope you understand my problem and are able to help me, and I apologise if this i a duplicate post!


Regards

Tommy

0 Kudos
Message 1 of 1
(2,702 Views)