EasyManua.ls Logo

National Instruments PCI E Series - Page 109

National Instruments PCI E Series
162 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 4 Programming
PCI E Series RLPM 4-46
©
National Instruments Corporation
G0_Mode_Register=0x0000;
G0_Command_Register=0x0000;
G0_Input_Select_Register=0x0000;
G0_Autoincrement_Register=0x0000;
Interrupt_A_Enable_Register=0x0000;
G0_Command_Register
G0_Synchronized_Gate =1;
Interrupt_A_Ack_Register=0xc060;
G0_Autoincrement_Register
G0_Autoincrement=0;
4. Call
Simple_Gated_Count() to set up DAC-STC for simple
counting.
Go_Mode_Register
G0_Load_Source=0;
G0_Load_A_Registers (24 bits)
G0_Load_A=0x0000; //initial counter value
G0_Command_Register
G0_Load=1;
G0_Input_Select_Register
G0_Source_Select=4; (PFI3)
G0_Source_Polarity=0; (rising edges)
G0_Gate_Select=5; (PFI4)
G0_OR_Gate=0;
G0_Output_Polarity=0; (active high)
G0_Gate_Select_Load_Source=0;
G0_Mode_register
G0_Output_Mode=1; (one clock cycle output)
G0_Gate_Polarity = 1; (enable inversion)
G0_Loading_On_Gate = 0;
G0_Loading_On_TC = 0;
GO_Gating_Mode = 1;
G0_Gate_On_Both_Edges = 0;
GO_Trigger_Mode_For_Edge_Gate = 2;
G0_Stop_Mode = 0;
G0_Counting_Once = 0;
G0_Command_Register
G0_Up_Down = 1; (up counting)
G0_Bank_Switch_Enable = 0;
G0_Bank_Switch_Mode = 0;

Table of Contents

Related product manuals