summaryrefslogtreecommitdiff
path: root/error_utils.c
diff options
context:
space:
mode:
authorMichael J. Chudobiak <mjc@avtechpulse.com>2012-11-02 09:09:29 -0400
committerMichael J. Chudobiak <mjc@avtechpulse.com>2012-11-02 09:09:29 -0400
commitcdbd46762b944ccc310315e11d865c2ea7cac922 (patch)
treedcd94f778505b4795c0b25dcd541005615c795ad /error_utils.c
parent2ee3c13800b11a609229df8f16c7028f52340571 (diff)
Add a flag to signal completion of startup. To be expanded.
Diffstat (limited to 'error_utils.c')
-rw-r--r--error_utils.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/error_utils.c b/error_utils.c
index bb2cd32..d1f8283 100644
--- a/error_utils.c
+++ b/error_utils.c
@@ -60,6 +60,7 @@ void set_gpib_error_flags (int error_num)
case Soft_Limit_Exceeded:
case SelfCalError:
case NetworkNotFound:
+ case Startup_Not_Finished:
GPIB_Set_Device_Dependent_Error();
break;
default:
@@ -519,6 +520,10 @@ void get_error_text(gchar **response, int error_num)
format_error_text(response,-200,"Invalid execution path. Programming error.");
break;
+ case Startup_Not_Finished:
+ format_error_text(response,-300,"Not ready for commands yet. Still booting up.");
+ break;
+
default:
format_error_text(response,-200,"Specific problem unknown.");
}