LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I calculate the average number of failure bits per second where I know my sampling rate is 8000 samples/sec

It sounds like you are using LabWindows/CVI with a National Instruments data acquisition board. For future reference, questions regarding data acquisition actually belong in the Multifunction IO (DAQ) category, rather than the LabWindows/CVI category.

If you are programming with CVI, I assume you are either using the Data Acquisition library or the Easy IO for DAQ library.

In the Data Acquisition library, the Scan Start function allows you to determine the actual scan interval and thus actual scan rate you are achieving. The NI-DAQ Help file discusses the calculation, using your chosen scanTimebase and scanInterval input parameters.

In the Easy IO for DAQ library, there are numerous functions that have the Actual Scan Rate as an output parameter, such as the AIAc
quireWaveform(s) function.

Regards,

Geneva L.
Applications Engineer
National Instruments
http://www.ni.com/ask
0 Kudos
Message 2 of 2
(2,747 Views)