07-23-2009 05:31 AM
I'm acquiring a Analog signal by using USB6009, I'm using Labview 'waveforms to XY pairs' control in my VI, what I need is, I want to control the time difference(dt) between two sample data acquisition.Actually I want to define this value
How I can control this. One of my friend in NI community told it will be decided by the system, but I want to make sure, whether I can control the time gap between two datas, since I need this facility for my design
Thank you
Best Regards,
Rathan
07-23-2009 06:02 AM
select property node for your waveform. In property node select X-scale-->range-->min and max.
like this
07-23-2009 06:44 AM - edited 07-23-2009 06:46 AM
As you say that you use the funtion 'Waveform to XY pairs', it supposes that your original data type is a waveform.
So, you can use the function "Get Waveform components" (available in Waveform palette) on your initial waveform and select dt to obtain your 'dt' value.
If you need to change this value, use "Build Waveform" and select 'dt' :
07-23-2009 07:36 AM
rathan wrote:I'm acquiring a Analog signal by using USB6009, I'm using Labview 'waveforms to XY pairs' control in my VI, what I need is, I want to control the time difference(dt) between two sample data acquisition.Actually I want to define this value
How I can control this. One of my friend in NI community told it will be decided by the system, but I want to make sure, whether I can control the time gap between two datas, since I need this facility for my design
Thank you
Best Regards,
Rathan
The sample rate you specify when you set up the acquisition task can be looked at as a requested sample rate. The actual sample rate will be limited by the capabilities of the on-board clock and its control logic. The driver will choose the rate closest to your requested value.
That restriction applies to a single channel of acqisition.
If you have multiple channels and you are not using a simultaneous sampling bd, then there is an "inter-channel" delay for switching the input mux and letting the ADC settle. These are generally eqaully spaced but (at least in the days of traditional DAQ) can be specified if required.
Ben