Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

Revised: Do I need to use a PCI6602 or a simpler DIO card?

Sorry, the signals only have to be delayed in 1 ms increments... not .0001s... too many zeroes.

"I have to delay a signal for about 1 ms from a sensor to trigger a vision camera taking pics at a rate of ~15 parts/sec. We will have 10 cameras running off one PC (equipped w/ several PCI8252's)... so 10 signals have to be delayed... the delay has to be adjustable (in .0001s increments) from the front panel too. Do I need to get a timer card (like a PCI6602) or will software based timing using a DIO card (like a PCI6503) suffice?"
0 Kudos
Message 1 of 2
(3,191 Views)
To be able to adjust the delay of your acquisition from your start trigger in DAQmx you should use the DAQmx Trigger property node. There are two values you would need to set in order to achieve this functionality: Start.Delay and Start.DelayUnits (See attached delaySettings.GIF and delaySettingsWhere.GIF for the location of the different options). By using a control for at least the Start.Delay, you will be able to change the delay from the front panel.

The Delay Units can be set to be Seconds, Ticks or Sample Clock Periods. The attached file shows how I used Seconds as my Delay units. You'll probably want to use Sample Clock Periods, and that will mean you'll need to do some arithmetic to get the millisecond accuracy. For example, if you have
a Sample Clock Rate of 1MHz, a user would need to enter in 1000 to get a millisecond delay. This also means that my previous response wasn't quite correct. Even though you don't need the microsecond accuracy, you could achieve a microsecond delay using the Trigger property node with a fast enough board.
Download All
0 Kudos
Message 2 of 2
(3,191 Views)