28 Keysight 34970A/34972A User’s Guide
34902A 16-Channel Multiplexer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 213
34903A 20-Channel Actuator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 216
34904A 4x8 Matrix Switch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 219
34905A/6A Dual 4-Channel RF Multiplexers . . . . . . . . . . . . . . . . . . . 222
34907A Multifunction Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 225
34908A 40-Channel Single-Ended Multiplexer . . . . . . . . . . . . . . . . . 227
5 Error Messages
Error Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 232
Execution Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 233
Instrument Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 238
Self-Test Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 246
Calibration Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 248
Plug-In Module Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 251
6 Application Programs
Application Programs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 254
Example Programs for Excel 7.0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 255
Excel 7.0 Example: takeReadings Macro . . . . . . . . . . . . . . . . . . . . 256
Excel 7.0 Example: Port Configuration Macro . . . . . . . . . . . . . . . . 258
Excel 7.0 Example: ScanChannels Macro . . . . . . . . . . . . . . . . . . . . 260
Example Programs for C and C++ . . . . . . . . . . . . . . . . . . . . . . . . . . . . 263
C/C++ Example: dac_out.c . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 264
C/C++ Example: stat_reg.c . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 265
7Tutorial
System Cabling and Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . 268
Cable Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 268
Grounding Techniques . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 270
Shielding Techniques . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 271
Separation of High-Level and Low-Level Signals . . . . . . . . . . . . . 271
Sources of System Cabling Errors . . . . . . . . . . . . . . . . . . . . . . . . . 272
Measurement Fundamentals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 276