Chapter 4
General-Purpose Counter/Timer
DAQ-STC Technical Reference Manual
4-44
©
National Instruments Corporation
G
i_Loading_On_Gate
i = 0
bit: 14
type: Write
in: G0_Mode_Register
address: 26
i = 1
bit: 14
type: Write
in: G1_Mode_Register
address: 27
This bit determines whether the gate signal causes counter reload:
0: Gate signal does not cause counter reload.
1: Counter is reloaded on gate edge that stops the counter, unless edge gating is used
and Gi_Trigger_Mode_For_Edge_Gate is set to 3. In the later case, counter is
reloaded on every selected gate edge.
Reloading occurs on active source edge. Notice that it is legal to set both
Gi_Loading_On_Gate and Gi_Loading_On_TC to 1 simultaneously. Related bitfields:
Gi_Trigger_Mode_For_Edge_Gate.
G
i_Loading_On_TC
i = 0
bit: 12
type: Write
in: G0_Mode_Register
address: 26
i = 1
bit: 12
type: Write
in: G1_Mode_Register
address: 27
This bit determines the counter behavior on TC:
0: Roll over on TC.
1: Reload on TC.
Notice that it is legal to set both Gi_Loading_On_Gate and Gi_Loading_On_TC to 1
simultaneously.
G
i_Next_Load_Source_St
i = 0
bit: 4
type: Read
in: G_Status_Register
address: 4
i = 1
bit: 5
type: Read
in: G_Status_Register
address: 4
This bit indicates the next load source of general-purpose counter i:
0: Load register A.
1: Load register B.
G
i_No_Load_Between_Gates_St
i = 0
bit: 10
type: Read
in: G_Status_Register
address: 4
i = 1
bit: 11
type: Read
in: G_Status_Register
address: 4
This bit indicates that a counter reload did not occur for general-purpose counter i between
two relevant G_GATE edges.