Keysight E1406A Command Module Service Guide
115
Introduction
Verification Tests - C Programs
printf ("\n*** Hierarchy/Device Information ***\n");
err= viPrintf(cm, "* RST\n");
if(err< VI_SUCCESS) err_handler(cm,err);
err= viPrintf(cm, "VXI:CONF:LADD?\n"); if(err< VI_SUCCESS)
err_handler(cm,err); err= viScanf(cm,"%t",ladd);
if(err< VI_SUCCESS) err_handler(cm,err);
printf ("\n System Logical Addresses are: %s", ladd);
printf ("\n Enter the Logical Address of the module to check:");
scanf ("%u", &laddr);
err= viPrintf(cm, "VXI:SEL %u\n", laddr); if(err< VI_SUCCESS)
err_handler(cm,err); err= viPrintf(cm, "VXI:CONF:HIER?\n");
if(err< VI_SUCCESS) err_handler(cm,err); err= viScanf(cm, "%t",
hier);
if(err< VI_SUCCESS) err_handler(cm,err);
printf ("\n VXI:CONF:HIER? Command Results\n\n");
position = 0;
for (i = 1;i <= 17;i ++)
{
switch (i)
{
case 1:printf (" -Logical Address: ");
break;
case 2:printf (" -Commander’s Logical Address: ");
break;
case 3:printf (" -Interrupt Handler 1: ");
break;
case 4:printf (" -Interrupt Handler 2: ");
break;
case 5:printf (" -Interrupt Handler 3: ");
break;
case 6:printf (" -Interrupt Handler 4: ");
break;
case 7:printf (" -Interrupt Handler 5: ");
break;
case 8:printf (" -Interrupt Handler 6: ");
break;
case 9:printf (" -Interrupt Handler 7: ");
break;
case 10:printf(" -Interrupter 1: ");
break;
Содержание VXI bus 75000 C Series
Страница 1: ...Keysight E1406A Command Module Service Guide 75000 Series C...
Страница 2: ......
Страница 6: ...6...
Страница 10: ...x Keysight E1406A Command Module Service Guide...
Страница 70: ...70 Keysight Keysight E1406A Command Module Service Guide Replaceable Parts Component Locators...
Страница 77: ...Keysight E1406A Command Module Service Guide 77 Assembly Disassembly Instructions Service...
Страница 78: ...78 Keysight E1406A Command Module Service Guide Service Assembly Disassembly Instructions...
Страница 79: ...Keysight E1406A Command Module Service Guide 79 Assembly Disassembly Instructions Service...
Страница 81: ...Keysight E1406A Command Module Service Guide 81 Assembly Disassembly Instructions Service...
Страница 82: ...82 Keysight E1406A Command Module Service Guide Service Assembly Disassembly Instructions...
Страница 83: ...Keysight E1406A Command Module Service Guide 83 Assembly Disassembly Instructions Service...
Страница 84: ...84 Keysight E1406A Command Module Service Guide Service Assembly Disassembly Instructions...
Страница 106: ...106 KeysightE1406A Command Module Service Guide Error Messages Introduction...
Страница 129: ......