Chapter 2
Analog Input Timing/Control
DAQ-STC Technical Reference Manual
2-64
©
National Instruments Corporation
AI_SC_Q_St
bits: <3..4>
type: Read
in: AI_Status_2_Register
address: 5
This bitfield reflects the state of the SC control circuit:
0: WAIT 1.
1: PCNT.
2: WAIT 2.
3: CNT.
, for more information on the SC control circuit.
AI_SC_Reload_Mode
bit: 1
type: Write
in: AI_Mode_2_Register
address: 13
This bit selects the reload mode for the SC counter:
0: No automatic change of the SC load register.
1: The SC counter will switch load registers on every SC_TC.
You can use setting 1 for pretrigger acquisition mode and for staged analog input.
AI_SC_Save_St
bit: 2
type: Read
in: AI_Status_2_Register
address: 5
This bit indicates the status of the SC save register:
0: SC save register is tracing the counter.
1: SC save register is latched for later read.
Related bitfields: AI_SC_Save_Trace.
AI_SC_Save_Trace
bit: 10
type: Write
in: AI_Command_2_Register
address: 4
Setting this bit to 1 causes the SC save register to latch the SC counter value at the next
SC_CLK falling edge. Setting this bit to 0 causes the SC save register to trace the SC counter.
AI_SC_Save_Value
bits: <0..7>
type: Read
in: AI_SC_Save_Registers
address: 66
bits: <0..15>
type: Read
in: AI_SC_Save_Registers
address: 67
When AI_SC_Save_Trace is 0, this bitfield reflects the contents of the SC counter. When you
set AI_SC_Save_Trace to 1, this bitfield synchronously latches the contents of the SC counter
using the SC source. The eight MSBs are located at the lower address and the 16 LSBs are
located at the higher address. Related bitfields: AI_SC_Save_Trace.