LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to read samples per second even if the sampling rate is different

Hi,
    I want to read three voltages simultaneously. i am using USB 6008. i have seen labview example code to read voltage continously which can be modified to acquire three inputs simultaneously.but i want to know something else.if i put sampling rate 1000, every millisecond  it will be reading one voltage . but i want to record only the reading for every second,so that i can collect a limitted amount of data even if i run the program  for some few minutes.Is their any way to modify the program for that.Kindly help me in this regad
Geetha
 
0 Kudos
Message 1 of 2
(2,537 Views)
I am not familiar with USB 6008 but...
You can set the sampling rate to 1. So you will have 1 measure/sec.
Or, every 1000 samples,  you can add them and divide by 1000, so you will keep the result, 1 number, the average.
Similar, you can do many things, depending of what you want to store. 
0 Kudos
Message 2 of 2
(2,528 Views)