Application Programs
5
Example Program for C++ (GPIB IEEE 488)
E3632A User’s Guide
143
viPrintf (power_supply, "Output Off\n"); /* turn off output */
/* Close communication session */
viClose (power_supply);
viClose (defaultRM);
}
/* Pauses for a specified number of milliseconds. */
void delay( clock_t wait )
{
clock_t goal;
clock_t delay;
wait = wait/1000;
delay = (clock_t)wait * CLOCKS_PER_SEC;
goal = delay + clock();
while( goal > clock() );
}
End of program
Содержание E3632A
Страница 1: ...Keysight E3632A DC Power Supply User s Guide ...
Страница 2: ......
Страница 3: ......
Страница 12: ...X E3632A User s Guide THIS PAGE HAS BEEN INTENTIONALLY LEFT BLANK ...
Страница 20: ...XVIII E3632A User s Guide THIS PAGE HAS BEEN INTENTIONALLY LEFT BLANK ...
Страница 22: ...XX E3632A User s Guide THIS PAGE HAS BEEN INTENTIONALLY LEFT BLANK ...