Stores and reads time stamps between synchronized devices.
More...
#include <nidaqmxdriver.h>
|
|
const char * | label () const |
| |
|
void | setArmTerm (const char *arm_term) |
| |
|
const char * | armTerm () const |
| |
|
bool | isPersistentCoherentMode () const |
| |
|
void | setPersistentCoherentMode (bool x) |
| |
|
void | start (float64 freq) |
| |
|
float64 | freq () const |
| | [Hz].
|
| |
|
unsigned int | bits () const |
| |
|
void | stop () |
| |
|
void | forceStamp (uint64_t now, float64 freq) |
| |
|
void | stamp (uint64_t cnt) |
| |
| template<typename T > |
| void | changeValue (T oldval, T val, uint64_t time) |
| |
|
void | connect (uint32_t rising_edge_mask, uint32_t falling_edge_mask) throw (XInterface::XInterfaceError &) |
| |
|
void | disconnect () |
| |
| void | setBlankTerm (float64 blankterm) |
| |
|
STRGTalker & | onStart () |
| | for restarting connected task.
|
| |
|
void | clear () |
| | clears all time stamps.
|
| |
|
void | clear (uint64_t now, float64 freq) |
| | clears past time stamps.
|
| |
| uint64_t | tryPopFront (uint64_t threshold, float64 freq) |
| |
|
|
| SoftwareTrigger (const char *label, unsigned int bits) |
| |
|
| enum | { QUEUE_SIZE = 8192
} |
| |
typedef atomic_queue_reserved
< uint64_t, QUEUE_SIZE > | FastQueue |
| |
|
typedef std::deque< uint64_t > | SlowQueue |
| |
Stores and reads time stamps between synchronized devices.
Definition at line 100 of file nidaqmxdriver.h.
template<typename T >
| void XNIDAQmxInterface::SoftwareTrigger::changeValue |
( |
T |
oldval, |
|
|
T |
val, |
|
|
uint64_t |
time |
|
) |
| |
|
inline |
| void XNIDAQmxInterface::SoftwareTrigger::setBlankTerm |
( |
float64 |
blankterm | ) |
|
|
inline |
- Parameters
-
| blankterm | in seconds, not to stamp so frequently. |
Definition at line 131 of file nidaqmxdriver.h.
References freq().
| uint64_t XNIDAQmxInterface::SoftwareTrigger::tryPopFront |
( |
uint64_t |
threshold, |
|
|
float64 |
freq |
|
) |
| |
- Returns
- if not, zero will be returned.
- Parameters
-
| freq | frequency of reader. |
| threshold | upper bound to be pop, unit in 1/freq (2nd param.). |
Definition at line 187 of file nidaqmxdriver.cpp.
The documentation for this class was generated from the following files: