Keysight E1406A Command Module Service Guide
125
Introduction
Verification Tests - C Programs
err= viPrintf(cm, "OUTP:TTLT%u:LEV?\n", i); /* Query TTLTrg Line
0-7 logic level * /
if(err< VI_SUCCESS) err_handler(cm,err);
err= viScanf(cm, "%s", level);
if(err< VI_SUCCESS) err_handler(cm,err);
err= viPrintf(cm, "OUTP:TTLT%u:SOUR?\n", i); /* Query TTLTrg
Line 0-7 source * /
if(err< VI_SUCCESS) err_handler(cm,err);
err= viScanf(cm, "%s", source);
if(err< VI_SUCCESS) err_handler(cm,err);
err= viPrintf(cm, "OUTP:TTLT%u:STAT?\n", i); /* Query TTLTrg
Line 0-7 state * /
if(err< VI_SUCCESS) err_handler(cm,err);
err= viScanf(cm, "%s", state);
if(err< VI_SUCCESS) err_handler(cm,err);
printf (" -TTLTrg Trigger Line %u: ", i);
for (j = 0;j < strlen(level)-1;j + + ) printf ("%c", level[j]);
printf(" ");
for (j = 0;j < strlen(source)-1;j + + ) printf ("%c", source[j]);
printf(" ");
for (j = 0;j < strlen(state);j + + ) printf ("%c", state[j]);
}
err= viPrintf(cm, "OUTP:EXT:LEV?\n"); /* Query Trig Out port
logic level * /
if(err< VI_SUCCESS) err_handler(cm,err);
err= viScanf(cm, "%s", level);
if(err< VI_SUCCESS) err_handler(cm,err);
err= viPrintf(cm, "OUTP:EXT:SOUR?\n"); /* Query Trig Out port
source * /
if(err< VI_SUCCESS) err_handler(cm,err);
err= viScanf(cm, "%s", source);
if(err< VI_SUCCESS) err_handler(cm,err);
err= viPrintf(cm, "OUTP:EXT:STAT?\n"); /* Query Trig Out port
state * /
if(err< VI_SUCCESS) err_handler(cm,err);
err= viScanf(cm, "%s", state);
if(err< VI_SUCCESS) err_handler(cm,err);
printf ("\n -Trig Out Port ");
for (j = 0;j < strlen(level)-1;j + + ) printf ("%c", level[j]);
printf(" ");
for (j = 0;j < strlen(source)-1;j + + ) printf ("%c", source[j]);
printf(" ");
for (j = 0;j < strlen(state);j + + ) printf ("%c", state[j]);
Summary of Contents for VXI bus 75000 C Series
Page 1: ...Keysight E1406A Command Module Service Guide 75000 Series C...
Page 2: ......
Page 6: ...6...
Page 10: ...x Keysight E1406A Command Module Service Guide...
Page 70: ...70 Keysight Keysight E1406A Command Module Service Guide Replaceable Parts Component Locators...
Page 77: ...Keysight E1406A Command Module Service Guide 77 Assembly Disassembly Instructions Service...
Page 78: ...78 Keysight E1406A Command Module Service Guide Service Assembly Disassembly Instructions...
Page 79: ...Keysight E1406A Command Module Service Guide 79 Assembly Disassembly Instructions Service...
Page 81: ...Keysight E1406A Command Module Service Guide 81 Assembly Disassembly Instructions Service...
Page 82: ...82 Keysight E1406A Command Module Service Guide Service Assembly Disassembly Instructions...
Page 83: ...Keysight E1406A Command Module Service Guide 83 Assembly Disassembly Instructions Service...
Page 84: ...84 Keysight E1406A Command Module Service Guide Service Assembly Disassembly Instructions...
Page 106: ...106 KeysightE1406A Command Module Service Guide Error Messages Introduction...
Page 129: ......