Contents 11
Performing Channel Calibration (Important!). . . . . . . . . . . . . . . . . . . . . . . . . . 122
Calibrating the VT1422A . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122
Calibrating Remote Signal Conditioning Units . . . . . . . . . . . . . . . . . . . . . . 123
Defining an Analog Input Scan List (ROUT:SEQ:DEF). . . . . . . . . . . . . . . . . . 123
Defining C Language Algorithms. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125
Global Variable Definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126
Algorithm Definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126
Pre-setting Algorithm Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126
Defining Data Storage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127
Specifying the Data Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127
Selecting the FIFO Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128
Setting up the Trigger System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129
Arm and Trigger Sources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129
Programming the Trigger Timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131
Setting the Trigger Counter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131
Sending Trigger Signals to Other Instruments . . . . . . . . . . . . . . . . . . . . . . 131
INITiating the Module/Starting Scanning and Algorithms. . . . . . . . . . . . . . . . 132
Starting Scanning and/or Algorithms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132
The Operating Sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133
Reading Running Algorithm Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134
Modifying Running Algorithm Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138
Updating Algorithm Variables andCoefficients . . . . . . . . . . . . . . . . . . . . . 138
Enabling and Disabling Algorithms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138
Setting Algorithm Execution Frequency . . . . . . . . . . . . . . . . . . . . . . . . . . . 139
Example SCPI Command Sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139
Example VXIplug&play Driver Function Sequence . . . . . . . . . . . . . . . . . . . . . 140
Using the Status System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142
Enabling Events to be Reported in the Status Byte . . . . . . . . . . . . . . . . . . 145
Reading the Status Byte . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146
Clearing the Enable Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
The Status Byte Group’s Enable Register . . . . . . . . . . . . . . . . . . . . . . . . . . 147
Reading Status Groups Directly . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 148
VT1422A Background Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 148
Updating the Status System and VXIbus Interrupts . . . . . . . . . . . . . . . . . . . . . 149
Creating and Loading Custom EU Conversion Tables . . . . . . . . . . . . . . . . . . . 150
Compensating for System Offsets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153
Special Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154
Detecting Open Transducers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155
More On Auto Ranging. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156
Settling Characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157
Background . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157
Checking for Problems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157
Fixing theProblem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 158