User manual
2.3.107 AcqrsT3_getChannel
Purpose
Returns the current channel parameters of the Time-to-Digital Converter.
Parameters
Input
Name Type Description
instrumentID ViSession Instrument identifier
channel ViInt32 1…Nchan or
−1 for the common channel
−2 for the veto
Output
Name Type Description
mode ViInt32 The LSB (bit 0) = 0 positive slope
= 1 negative slope
Bit 1 = 0 normal events
= 1 pulse events with pulse type defined by the
LSB (TC890 ONLY)
The MSB (bit31) = 0 active channel
= 1 inactive channel
level ViReal64 Threshold value in Volts.
reserved ViInt32 Currently unused, set to “0”
Return Value
Name Type Description
status ViStatus Refer to Table 2-1 for error codes.
Discussion
See remarks under AcqrsT3_configChannel.
LabWindowsCVI/Visual C++ Representation
ViStatus status = AcqrsT3_getChannel (ViSession instrumentID,
ViInt32 channel, ViInt32* mode,
ViReal64* level, ViInt32* reserved);
LabVIEW Representation
Acqiris Tx.lvlib: (or Aq Tx) Query Channel.vi
MATLAB MEX Representation
[status modeP levelP reservedP]= AqT3_getChannel(instrumentID, channel)
Programmer’s Reference Manual Page 197 of 210