Configure the timer output subsystem.
More...
|
| UlError | ulTmrPulseOutStart (DaqDeviceHandle daqDeviceHandle, int timerNum, double *frequency, double *dutyCycle, unsigned long long pulseCount, double *initialDelay, TmrIdleState idleState, PulseOutOption options) |
| | Starts a timer to generate digital pulses at a specified frequency and duty cycle. More...
|
| |
| UlError | ulTmrPulseOutStop (DaqDeviceHandle daqDeviceHandle, int timerNum) |
| | Stops a timer output. More...
|
| |
| UlError | ulTmrPulseOutStatus (DaqDeviceHandle daqDeviceHandle, int timerNum, TmrStatus *status) |
| | The status of the timer output operation, if supported. More...
|
| |
| UlError | ulTmrSetTrigger (DaqDeviceHandle daqDeviceHandle, TriggerType type, int trigChan, double level, double variance, unsigned int retriggerSampleCount) |
| | Configures the trigger parameters that will be used when ulTmrPulseOutStart() is called with the PO_RETRIGGER or PO_EXTTRIGGER PulseOutOption, when supported. More...
|
| |
| UlError | ulTmrGetInfo (DaqDeviceHandle daqDeviceHandle, TmrInfoItem infoItem, unsigned int index, long long *infoValue) |
| | Use with TmrInfoItem to retrieve information about the timer subsystem. More...
|
| |
| UlError | ulTmrGetInfoDbl (DaqDeviceHandle daqDeviceHandle, TmrInfoItemDbl infoItem, unsigned int index, double *infoValue) |
| | Use with TmrInfoItemDbl to retrieve information about the timer subsystem. More...
|
| |
Configure the timer output subsystem.
Use with TmrInfoItem to retrieve information about the timer subsystem.
- Parameters
-
| daqDeviceHandle | the handle to the DAQ device |
| infoItem | the timer information to retrieve |
| index | either ignored or an index into the infoValue, depending on the value of the infoItem argument |
| infoValue | the timer information is returned to this variable |
- Returns
- The UL error code.
Use with TmrInfoItemDbl to retrieve information about the timer subsystem.
- Parameters
-
| daqDeviceHandle | the handle to the DAQ device |
| infoItem | the timer information to retrieve |
| index | either ignored or an index into the infoValue, depending on the value of the infoItem argument |
| infoValue | the timer information is returned to this variable |
- Returns
- The UL error code.
Starts a timer to generate digital pulses at a specified frequency and duty cycle.
- Parameters
-
| daqDeviceHandle | the handle to the DAQ device |
| timerNum | the timer number |
| frequency | frequency of the timer pulse output |
| dutyCycle | duty cycle of the timer pulse output |
| pulseCount | the number of pulses to generate; set to 0 for continuous pulse output |
| initialDelay | the amount of time in seconds to wait before the first pulse is generated at the timer output |
| idleState | the idle state (high or low) |
| options | pulse out options |
- Returns
- The UL error code.
The status of the timer output operation, if supported.
- Parameters
-
| daqDeviceHandle | the handle to the DAQ device |
| timerNum | the timer number |
| status | the status of the background operation |
- Returns
- The UL error code.
Stops a timer output.
- Parameters
-
| daqDeviceHandle | the handle to the DAQ device |
| timerNum | the timer number to stop |
- Returns
- The UL error code.
Configures the trigger parameters that will be used when ulTmrPulseOutStart() is called with the PO_RETRIGGER or PO_EXTTRIGGER PulseOutOption, when supported.
- Parameters
-
| daqDeviceHandle | the handle to the DAQ device |
| type | the digital trigger type |
| trigChan | ignored |
| level | ignored |
| variance | ignored |
| retriggerSampleCount | ignored |
- Returns
- The UL error code.