108
Keysight E1406A Command Module Service Guide
Verification Tests - C Programs
Introduction
ViStatus err;
ViSession defaultRM, cm;
viOpenDefaultRM (&defaultRM);
viOpen (defaultRM, CM_ADDRESS, VI_NULL, VI_NULL, &cm);
/* ----Set command module timeout----* /
viSetAttribute(cm, VI_ATTR_TMO_VALUE, 15000);
/* ----MENU for selection of tests----* /
do
{
do
{
printf ("\n\n******** Keysight E1406A Functional Verification
Test Menu ********\n\n");
printf ("Enter the number 0 through 8 of the test you wish to
perform:\n\n");
printf (" 0 for Test S-1: GPIB Power-On Test\n");
printf (" 1 for Test F-1: Front Panel Outputs\n");
printf (" 2 for Test F-2: General System Information\n"); printf
(" 3 for Test F-3: Hierarchy/Device Information\n"); printf (" 4
for Test F-4: Table/Memory Information\n"); printf (" 5 for Test
F-5: Interrupt/Status Information\n"); printf (" 6 for Test F-6:
Triggering Information\n");
printf (" 7 for Test F-7: Serial Port Information\n");
printf (" 8 to quit testing\n\n");
printf ("Enter your selection = > ");
scanf ("%f", &test_select);
if (test_select > 8 | | test_select < 0)
{
printf ("\
n*******************************************************\n");
printf ("* The number you entered was %3.1f. * \n",
test_select);
printf ("* This is an invalid entry. Please enter a number 0
through 8 * \n");
printf
("*********************************************************\n");
}
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: ......