Chapter 4
General-Purpose Counter/Timer
©
National Instruments Corporation
4-43
DAQ-STC Technical Reference Manual
G
i_Load_A
i = 0
bits: <0..7>
type: Write
in: G0_Load_A_Registers
address: 28
bits: <0..15>
type: Write
in: G0_Load_A_Registers
address: 29
i = 1
bits: <0..7>
type: Write
in: G1_Load_A_Registers
address: 32
bits: <0..15>
type: Write
in: G1_Load_A_Registers
address: 33
This bitfield is load register A for general-purpose counter i. If load register A is the selected
load register, the counter loads the value contained in this bitfield on Gi_Load, on the counter
TC, and on the G_GATE induced counter reload condition (if G_GATE reloading is
enabled). The eight MSBs are located at the lower address and the 16 LSBs are located at the
higher address. Related Bitfields: Gi_Next_Load_Source_St, Gi_Load,
Gi_Loading_On_Gate.
G
i_Load_B
i = 0
bits: <0..7>
type: Write
in: G0_Load_B_Registers
address: 30
bits: <0..15>
type: Write
in: G0_Load_B_Registers
address: 31
i = 1
bits: <0..7>
type: Write
in: G1_Load_B_Registers
address: 34
bits: <0..15>
type: Write
in: G1_Load_B_Registers
address: 35
This bitfield is load register B for general-purpose counter i. If load register B is the selected
load register, the counter loads the value contained in this bitfield on Gi_Load, on the counter
TC, and on the G_GATE induced counter reload condition (if G_GATE reloading is
enabled). The eight MSBs are located at the lower address and the 16 LSBs are located at the
higher address. Related Bitfields: Gi_Next_Load_Source_St, Gi_Load,
Gi_Loading_On_Gate.
G
i_Load_Source_Select
i = 0
bit: 7
type: Write
in: G0_Mode_Register
address: 26
i = 1
bit: 7
type: Write
in: G1_Mode_Register
address: 27
If general-purpose counter i is disarmed, this bit selects the initial counter load register:
0: Load register A.
1: Load register B.
The source for subsequent loads depends on Gi_Reload_Source_Switching. If
general-purpose counter i is armed, writing to this bit has no effect. Related bitfields:
Gi_Reload_Source_Switching, Gi_Arm, Gi_Arm_Copy.