National Instruments PCI E Series Programmer's Manual page 99

Register-level programmer manual, multifunction i/o boards for pci bus computers, register-level
Hide thumbs Also See for PCI E Series:
Table of Contents

Advertisement

Chapter 4
Programming
PCI E Series RLPM
AO_Trigger_Select_Register
AO START1 select = 0;
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;
10. Call
AO_Counting
buffers. Configure the DAQ-STC for non-continuous operation
(AO will stop on BC_TC). Load the BC counter with 4 (output the
buffer 5 times). Load the UC counter with 3000 (the first buffer
contains 3000 points). Write 2999 to UC Load Register A (each
subsequent buffer contains 3000 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 = 4;
AO_Command_1_Register
AO BC load =1;
AO_Mode_2_Register
AO UC initial load source = 0;
AO_UC_Load_A_Registers (24 bits)
Points per buffer = 3000;
AO_Command_1_Register
AO UC load = 1;
AO_UC_Load_A_Registers (24 bits)
Points per buffer - 1 = 2999;
Joint_Reset_Register
AO configuration start = 0;
AO configuration end = 1;
11. Call
AO_Updating
UPDATE mode. Set the UI source to AO_IN_TIMEBASE1. Load the
to program the buffer size and the number of
to program the update interval. Use the internal
4-36
© National Instruments Corporation

Advertisement

Table of Contents
loading

Table of Contents