|
|
|
@ -775,6 +775,11 @@ int scope_perform_initial_setup(const char * scopeType, int gpibDevice) {
|
|
|
|
|
return -1;
|
|
|
|
|
}
|
|
|
|
|
else if (strcmp("TDS744AOS", scopeType) == 0) {
|
|
|
|
|
sprintf(falpha,"HEAD OFF");
|
|
|
|
|
#ifdef ENABLE_EXTRA_DEBUGGING
|
|
|
|
|
printf("[DEBG] Writing: %s\n\r", falpha);
|
|
|
|
|
#endif
|
|
|
|
|
if (gpib_write(gpibDevice, falpha) == 0) {
|
|
|
|
|
sprintf(falpha,"DATA:ENCDG RIBINARY");
|
|
|
|
|
#ifdef ENABLE_EXTRA_DEBUGGING
|
|
|
|
|
printf("[DEBG] Writing: %s\n\r", falpha);
|
|
|
|
@ -808,6 +813,10 @@ int scope_perform_initial_setup(const char * scopeType, int gpibDevice) {
|
|
|
|
|
return -2;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
else {
|
|
|
|
|
return -2;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
else {
|
|
|
|
|
return -1;
|
|
|
|
|
}
|
|
|
|
|