Properly configured headers on TDS744A scopes before trying to establish communications

master
Timothy Pearson 5 years ago
parent febfc4d4a0
commit 256facf7d3

@ -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;
}

Loading…
Cancel
Save