Chapter 4
General-Purpose Counter/Timer
©
National Instruments Corporation
4-47
DAQ-STC Technical Reference Manual
G
i_Save_St
i = 0
bit: 0
type: Read
in: G_Status_Register
address: 4
i = 1
bit: 1
type: Read
in: G_Status_Register
address: 4
This bit indicates the status of the general-purpose counter i save register:
0: Save register is tracing the counter.
1: Save register is latched for later read.
Related bitfields: Gi_Save_Trace.
G
i_Save_Trace
i = 0
bit: 1
type: Write
in: G0_Command_Register
address: 6
i = 1
bit: 1
type: Write
in: G1_Command_Register
address: 7
Setting this bit or Gi_Save_Trace_Copy to 1 places the general-purpose counter i save
register in the latched data state. Setting both this bit and Gi_Save_Trace_Copy to 0 makes
the save register trace the counter. To latch the counter contents in the save register, you must
make the save register trace the counter before issuing the save command.
G
i_Save_Trace_Copy
i = 0
bit: 14
type: Write
in: G1_Command_Register
address: 7
i = 1
bit: 14
type: Write
in: G0_Command_Register
address: 6
Setting this bit or Gi_Save_Trace to 1 places the general-purpose counter i save register in the
latched data state. Setting both this bit and Gi_Save_Trace to 0 makes the save register trace
the counter. To latch the counter contents in the save register, you must make the save register
trace the counter before issuing the save command.
G
i_Save_Value
i = 0
bits: <0..7>
type: Read
in: G0_Save_Registers
address: 12
bits: <0..15>
type: Read
in: G0_Save_Registers
address: 13
i = 1
bits: <0..7>
type: Read
in: G1_Save_Registers
address: 14
bits: <0..15>
type: Read
in: G1_Save_Registers
address: 15
When Gi_Save_Trace and Gi_Save_Trace_Copy are both 0, this bitfield reflects the contents
of general-purpose counter i. When you set Gi_Save_Trace or Gi_Save_Trace_Copy to 1,
this bitfield synchronously latches the contents of the counter using the counter source. The
eight MSBs are located at the lower address and the 16 LSBs are located at the higher address.
Related bitfields: Gi_Save_Trace, Gi_Save_Trace_Copy.