National Instruments PCI E Series Programmer's Manual page 118

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

© National Instruments Corporation
and the high value is set to be relative 1.25. The software scans the analog
channel 0 100 times. Each scan is at a gain of 1 and in RSE mode. Within
each scan, the sample interval should be 100 µs. Dithering should remain
off during the acquisition. Use polled input to obtain the data.
1.
Perform Step 1 of the
2.
Call
Configure_Board()
Write_Strobe_0_Register
Write strobe 0 =1;
Write_Strobe_1_Register
Write strobe 1=1;
Configuration_Memory_High_Register
Channel Number=0;
Channel type =3;
Configuration_Memory_Low_Register
Last Channel =1;
Gain =1;
Polarity =0;
Dither enable =0;
3.
Perform Steps 3 through 9 of
4.
Call the function
Joint_Reset_Register
AI configuration start = 1;
AI_SC_Load_A_Register(24 bits)
Number of postrigger scan -1 = 99;
AI_Command_1_Register
AI SC Load=1;
Joint_Reset_Register
AI configuration start = 0;
AI configuration end=1;
5.
Perform Steps 5 through 8 in
6.
Call the
Analog Trigger Control
Analog_Trigger_Etc_Register
Analog_Trigger_Mode =6 (low hysteresis);
Analog_Trigger_Drive=0;
Analog_Trigger_Enable=1(Enable);
Mis_Command_Register (8 bits)
Int/Ext Trigger =1 (PGIA2)
Analog Input
Example 1.
to clear all of the necessary registers bits.
Analog Input
Number_of Scans()
Analog Input
.
4-55
Chapter 4
Programming
Example 1.
to load the number of scans.
Example 2.
PCI E Series RLPM

Advertisement

Table of Contents
loading

Table of Contents