libtiepie  0.3.0
 All Files Functions Typedefs Groups
Trigger sources

Macros

#define TS_NONE   0x0000000000000000ULL
 No trigger source.
#define TS_CH1   0x0000000000000001ULL
 Channel 1.
#define TS_CH2   0x0000000000000002ULL
 Channel 2.
#define TS_CH3   0x0000000000000004ULL
 Channel 3.
#define TS_CH4   0x0000000000000008ULL
 Channel 4.
#define TS_CH5   0x0000000000000010ULL
 Channel 5.
#define TS_CH6   0x0000000000000020ULL
 Channel 6.
#define TS_CH7   0x0000000000000040ULL
 Channel 7.
#define TS_CH8   0x0000000000000080ULL
 Channel 8.
#define TS_CH9   0x0000000000000100ULL
 Channel 9.
#define TS_CH10   0x0000000000000200ULL
 Channel 10.
#define TS_CH11   0x0000000000000400ULL
 Channel 11.
#define TS_CH12   0x0000000000000800ULL
 Channel 12.
#define TS_CH13   0x0000000000001000ULL
 Channel 13.
#define TS_CH14   0x0000000000002000ULL
 Channel 14.
#define TS_CH15   0x0000000000004000ULL
 Channel 15.
#define TS_CH16   0x0000000000008000ULL
 Channel 16.
#define TS_CH17   0x0000000000010000ULL
 Channel 17.
#define TS_CH18   0x0000000000020000ULL
 Channel 18.
#define TS_CH19   0x0000000000040000ULL
 Channel 19.
#define TS_CH20   0x0000000000080000ULL
 Channel 20.
#define TS_CH21   0x0000000000100000ULL
 Channel 21.
#define TS_CH22   0x0000000000200000ULL
 Channel 22.
#define TS_CH23   0x0000000000400000ULL
 Channel 23.
#define TS_CH24   0x0000000000800000ULL
 Channel 24.
#define TS_CH25   0x0000000001000000ULL
 Channel 25.
#define TS_CH26   0x0000000002000000ULL
 Channel 26.
#define TS_CH27   0x0000000004000000ULL
 Channel 27.
#define TS_CH28   0x0000000008000000ULL
 Channel 28.
#define TS_CH29   0x0000000010000000ULL
 Channel 29.
#define TS_CH30   0x0000000020000000ULL
 Channel 30.
#define TS_CH31   0x0000000040000000ULL
 Channel 31.
#define TS_CH32   0x0000000080000000ULL
 Channel 32.
#define TS_GENSTOP   0x0400000000000000ULL
 Generator stop.
#define TS_GENNEW   0x0800000000000000ULL
 Generator new period.
#define TS_GENSTART   0x1000000000000000ULL
 Generator start.
#define TS_EXT2   0x2000000000000000ULL
 External 2 (TTL)
#define TS_EXTANALOG   0x4000000000000000ULL
 External (Analog)
#define TS_EXT   0x8000000000000000ULL
 External (TTL)

Detailed Description

Trigger source : The trigger source of a device is set with two DWORDs in the Int64. The first is dwAND, the second dwOR. Bits set in these DWORDs indicate which channels / other sources are used to compose the trigger source.

Bits 0..31 are reserved for the channels ( max 32). Bits 31..63 are reserved for other sources ( max 32), suchs as External , AnalogExternal , PXIExternal etc... Bit masks of these sources are defined below

Example: dwAND = 110b , dwOR = 001b ; Source = (Ch2 and Ch1) or Ch0 Selecting one channel / other source as the triggersource can be done by setting one bit in dwAND and/or dwOR.


Macro Definition Documentation

#define TS_CH1   0x0000000000000001ULL

Channel 1.

Definition at line 272 of file libtiepie.h.

#define TS_CH10   0x0000000000000200ULL

Channel 10.

Definition at line 281 of file libtiepie.h.

#define TS_CH11   0x0000000000000400ULL

Channel 11.

Definition at line 282 of file libtiepie.h.

#define TS_CH12   0x0000000000000800ULL

Channel 12.

Definition at line 283 of file libtiepie.h.

#define TS_CH13   0x0000000000001000ULL

Channel 13.

Definition at line 284 of file libtiepie.h.

#define TS_CH14   0x0000000000002000ULL

Channel 14.

Definition at line 285 of file libtiepie.h.

#define TS_CH15   0x0000000000004000ULL

Channel 15.

Definition at line 286 of file libtiepie.h.

#define TS_CH16   0x0000000000008000ULL

Channel 16.

Definition at line 287 of file libtiepie.h.

#define TS_CH17   0x0000000000010000ULL

Channel 17.

Definition at line 288 of file libtiepie.h.

#define TS_CH18   0x0000000000020000ULL

Channel 18.

Definition at line 289 of file libtiepie.h.

#define TS_CH19   0x0000000000040000ULL

Channel 19.

Definition at line 290 of file libtiepie.h.

#define TS_CH2   0x0000000000000002ULL

Channel 2.

Definition at line 273 of file libtiepie.h.

#define TS_CH20   0x0000000000080000ULL

Channel 20.

Definition at line 291 of file libtiepie.h.

#define TS_CH21   0x0000000000100000ULL

Channel 21.

Definition at line 292 of file libtiepie.h.

#define TS_CH22   0x0000000000200000ULL

Channel 22.

Definition at line 293 of file libtiepie.h.

#define TS_CH23   0x0000000000400000ULL

Channel 23.

Definition at line 294 of file libtiepie.h.

#define TS_CH24   0x0000000000800000ULL

Channel 24.

Definition at line 295 of file libtiepie.h.

#define TS_CH25   0x0000000001000000ULL

Channel 25.

Definition at line 296 of file libtiepie.h.

#define TS_CH26   0x0000000002000000ULL

Channel 26.

Definition at line 297 of file libtiepie.h.

#define TS_CH27   0x0000000004000000ULL

Channel 27.

Definition at line 298 of file libtiepie.h.

#define TS_CH28   0x0000000008000000ULL

Channel 28.

Definition at line 299 of file libtiepie.h.

#define TS_CH29   0x0000000010000000ULL

Channel 29.

Definition at line 300 of file libtiepie.h.

#define TS_CH3   0x0000000000000004ULL

Channel 3.

Definition at line 274 of file libtiepie.h.

#define TS_CH30   0x0000000020000000ULL

Channel 30.

Definition at line 301 of file libtiepie.h.

#define TS_CH31   0x0000000040000000ULL

Channel 31.

Definition at line 302 of file libtiepie.h.

#define TS_CH32   0x0000000080000000ULL

Channel 32.

Definition at line 303 of file libtiepie.h.

#define TS_CH4   0x0000000000000008ULL

Channel 4.

Definition at line 275 of file libtiepie.h.

#define TS_CH5   0x0000000000000010ULL

Channel 5.

Definition at line 276 of file libtiepie.h.

#define TS_CH6   0x0000000000000020ULL

Channel 6.

Definition at line 277 of file libtiepie.h.

#define TS_CH7   0x0000000000000040ULL

Channel 7.

Definition at line 278 of file libtiepie.h.

#define TS_CH8   0x0000000000000080ULL

Channel 8.

Definition at line 279 of file libtiepie.h.

#define TS_CH9   0x0000000000000100ULL

Channel 9.

Definition at line 280 of file libtiepie.h.

#define TS_EXT   0x8000000000000000ULL

External (TTL)

Definition at line 310 of file libtiepie.h.

#define TS_EXT2   0x2000000000000000ULL

External 2 (TTL)

Definition at line 308 of file libtiepie.h.

#define TS_EXTANALOG   0x4000000000000000ULL

External (Analog)

Definition at line 309 of file libtiepie.h.

#define TS_GENNEW   0x0800000000000000ULL

Generator new period.

Definition at line 306 of file libtiepie.h.

#define TS_GENSTART   0x1000000000000000ULL

Generator start.

Definition at line 307 of file libtiepie.h.

#define TS_GENSTOP   0x0400000000000000ULL

Generator stop.

Definition at line 305 of file libtiepie.h.

#define TS_NONE   0x0000000000000000ULL

No trigger source.

Definition at line 270 of file libtiepie.h.