HP (Hewlett-Packard) 16500C Sander User Manual


 
/*Send command strings to the HP16500*/
file = fopen("/users/system/program", "w");
putstr(file, "*rst\n");
putstr(file, ":sel 4\n");
putstr(file, ":mach1:twav:range 1 s\n");
putstr(file, ":start\n");
putstr(file, ":mach1:twav:range 100 ns\n");
fclose(file);
sleep(2);
file = fopen("/users/system/program", "r");
while (getstr(file, receive_str) == 0);
fclose(file);
printf("%s\n", receive_str);
}
Programming Over LAN
Writing to \system\program from a Program
4–10