LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Trigger rearm time on USB 6211

I am using a USB 6211 to generate raster waveform and digital trigger to drive the galvanormeter mirror. I just want to send one cycle of waveform for every trigger pulse. The problem is that it seems like the USB 6211 trigger rearm speed is limited to about 20 Hz, which is quite low. Is this correct?

 

Any solution?

 

Triggering.png

0 Kudos
Message 1 of 10
(3,104 Views)

Hi Beat

 

What do you mean by rearm speed? Are you stopping the task and restarting it? Because DAQmx Trigger will only be armed once,  unless you enable the retriggertable property to rearm the trigger without stopping the task. Unfortunately this property is not supported by the USB 6211 for analog output tasks.

 

Take a look at this, it can help you with your application.

 

Regards

Chris S.
0 Kudos
Message 2 of 10
(3,064 Views)

I might use the wrong word to explain it. What I mean by observing the behavior of the device when it was programmed as shown in the code is that no matter how fast my triggering clock was, there seem to be a certain period of time when the device did not accept any trigger pluse. That period of time was about 50 ms or about 20 Hz clock rate. The code worked as I expected it to be at trigger frequency less than 20 Hz. As soon as the clock speed pass 20 Hz, the extra pulse was not accepted.

One thing that I did to verify the 50 ms time limit was by sending 200 Hz of clockspeed and found that the one that close to 50 ms did trig the device.

 

Is there any example how to setup this device to surpass that trigger speed?

 

If not possible with the USB 6211, which DAQ device you would reccomend to achieve more than 100 Hz trigger speed, or even better for up to 200 Hz?

 

Thanks for your response : )

0 Kudos
Message 3 of 10
(3,049 Views)

Hi Beat

 

The time you describe, when the device does not accept any trigger pulse is the time that takes for the task to be executed. While the task is being executed, the device won’t accept any other trigger pulses.

 

If I understood correctly you are wiring a clock signal to the PFI 3 line of the device which you defined as your trigger and you want to trigger the output task on every rising edge of this signal. It works for a frequency of 20 HZ. Is that correct?

Chris S.
0 Kudos
Message 4 of 10
(3,018 Views)
Yes, that is the case. I just want to
0 Kudos
Message 5 of 10
(3,011 Views)
Yes, that is the case. I just want to confirm if the trigger speed is actually limited to 20 Hz or it is because I did not program it correctly. Any idea?
0 Kudos
Message 6 of 10
(3,005 Views)

Hi Beat 

 

Can you share your code to try to reproduce the issue on my end?

Chris S.
0 Kudos
Message 7 of 10
(2,972 Views)

The labview code is attached. A wavefrom we would like to produce is a sawtooth, for example at 40 Hz sweep rate. The trigger pulse rate was set at 80 Hz.  Please see an attatched picture for our result.

Thanks in advance.

Trigger result

0 Kudos
Message 8 of 10
(2,905 Views)

Any new solution or comment? I still can not solve this issue.

 

0 Kudos
Message 9 of 10
(2,785 Views)

I tried to open the attached vi but I could not run it. I got a broken arrow stating that the connector pane connections of the subVI (the Waveform Buffer Generation (multi).vi) do not match the way it is wired on this diagram, as if the original exmple had been modified; in fact, I noticed that your Waveform Buffer Generation (multi).vi from the trigger_sync_test.vi has on more input than mine.

 

Did you do any changes to that subVI? If so, you will also need to attach that VI.

Camilo V.
National Instruments
0 Kudos
Message 10 of 10
(2,745 Views)