EasyManua.ls Logo

National Instruments PCI E Series - Page 105

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-42
©
National Instruments Corporation
AO_Mode_1_Register
AO trigger once = 1;
AO_Trigger_Select_Register
AO START1 select = 7;
AO START1 polarity = 0;
AO START1 edge = 1;
AO START1 sync = 1;
AO_Mode_3_Register
AO trigger length = 0;
Joint_Reset_Register
AO configuration start = 0;
AO configuration end = 1;
3. Call
AO_Counting to program the buffer size and the number of
buffers. Configure the DAQ-STC for non-continuous operation
(AO will stop on BC_TC). Load the BC counter with 49 (output the
buffer 50 times). Load the UC counter with 100 (the first buffer
contains 100 points). Write 99 to UC Load Register A (each
subsequent buffer contains 100 points).
Joint_Reset_Register
AO configuration start = 1;
AO_Mode_1_Register
AO continuous = 0;
AO_Mode_2_Register
AO BC initial load source = 0;
AO_BC_Load_A_Registers (24 bits)
Number of buffers - 1 = 49;
AO_Commmand_1_Register
AO BC load = 0;
AO_Mode_2_Register
AO UC initial load source = 0;
AO_UC_Load_A_Registers (24 bits)
Points per buffer = 100;
AO_Command_1_Register
AO UC load = 1;
AO_UC_Load_A_Registers (24 bits)
Points per buffer - 1 = 99;
Joint_Reset_Register
AO configuration start = 0;
AO configuration end = 1;

Table of Contents

Related product manuals