Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Glitching phenomenon on DAQ 6062

Hello,
 
We are using a 6062 PCMCIA card with Labview to continuously generate a waveform on the AO.
A brief (100 ms) data acquisition is done every 2 seconds on 2 AI.
We use the Daqmx Timing - Daqmx write to write the samples until the vi Daqmx Is Task Done stops generation.
 
The problem is that we have a glitching phenomenon every second on the AO. (waveform samplig info: Fs= 36000, #s = 36000).
I tried to change the buffer size to 72000 but It did not solve the problem.
 
Thanks
0 Kudos
Message 1 of 5
(3,807 Views)
Here is attached a picture of what I get on the AO.
0 Kudos
Message 2 of 5
(3,803 Views)

Hello,

I need your VI in order to simulate your problem.

Can you paste it in your next message.

Thanks.

Omar S.

NIF.

0 Kudos
Message 3 of 5
(3,773 Views)

Hello,

 

The main .vi is b1.vi. 

If used as is, the application will need sinusoidal inputs in the 2 AI to run. Once it has done a first search it will loop according to the number of cycles specified.

I suggest:

Frequency= 100Hz

Force: 500N

Trial duration: 10000 cycles

Save every: 5000 cycles.

 

Thanks

0 Kudos
Message 4 of 5
(3,771 Views)
Hello,
I suggest you to change your DAQmx Timing function in order to have a continuous samples generation instead of finite samples generation and put your VI configuration outside of the while loop. The glitch phenomenom is due to the actions done in the while loop between the end of your finite samples generation and the start of the next generation sequence.
 
Use the following example to help you in your changes:
 
The example is available on C:\Program Files\National Instruments\LabVIEW \examples\DAQmx\Analog Out\Generate Voltage.llb\Cont Gen Voltage Wfm-Int Clk.vi
 
Hope this can help you.
 
Omar S.
NIF.
Message 5 of 5
(3,749 Views)