LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Waveforms to XY pairs, control dt

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

0 Kudos
Message 1 of 4
(3,176 Views)

select property node for your waveform. In property node select X-scale-->range-->min and max.

 

like this

 

 

xy.PNG

0 Kudos
Message 2 of 4
(3,169 Views)

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' :

 

GetWaveformdt.jpg

 

 

Message Edité par J.DECHET le 07-23-2009 01:46 PM
Message 3 of 4
(3,157 Views)

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

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 4 of 4
(3,145 Views)