Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Relationship between Basic Function Generator and DAQ Assistance.

Hi All,

          I am programming Labview to generate four signal types in differance frequency, attached VI. I want to know the definition of sampling rate, number of sample in Basic Function Generator and also Sample to write, Rate in DAQ Assistance? How are the relationship between them that will effect to output on DAQ card?

          Right no, I use DAQ card NI-6713 pci type.

 

 

 

0 Kudos
Message 1 of 2
(3,046 Views)

Hi pomakoo,

 

First some definintions:

 

sampling rate - the speed of sampling, usually expressed in Hertz, 1000 Hz = 1000 times a second

 

number of samples - the quantity of samples to be generated(Basic Function Generator), the quantity of samples to be written(DAQ Assistant)

 

 

These values are related like this:  [number of samples]/[sampling rate]=[time to complete]

 

This part of system is deterministic, meaning it happens in very specific time.  Your computer system does not have deterministic timing so a buffer is used to aligin the deterministic and the non-deterministic system.

 

 

For continuous samples:

 

If it takes too long for your samples to be output, you will overflow your buffer and cause an error.


If it doesn't take enough time for your samples to be output, you will run your buffer empty causing an underflow error.

 

For finite samples:

 

It will take [number of samples]/[sampling rate]=[time to complete] to output your signal, the generation will be complete after this amount of time.

 

Does this help answer your question?

 

Regards,

 

Dustin D

0 Kudos
Message 2 of 2
(3,021 Views)