diff options
author | Michael J. Chudobiak <mjc@avtechpulse.com> | 2012-08-30 11:38:48 -0400 |
---|---|---|
committer | Michael J. Chudobiak <mjc@avtechpulse.com> | 2012-08-30 11:38:48 -0400 |
commit | d6c71646ddc4a34293bb5cadde78a30806d8eace (patch) | |
tree | 11ab0d737aca55ccf3e96df40cd8624f75c85dfd /globals.h | |
parent | 996f3d52275475f2478f377f12f0ef7571ecc795 (diff) |
first attempt at lcd menus
Diffstat (limited to 'globals.h')
-rw-r--r-- | globals.h | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -92,6 +92,15 @@ #define NO 0 +#define LOCS_ctrl 0 +#define LWLS_ctrl 1 +#define REMS_ctrl 2 +#define RWLS_ctrl 3 +#define RS232_ctrl 4 +#define TELNET_ctrl 5 +#define WEB_ctrl 6 // FIXME + + #define max_commands_in_input 12 #define max_output_length 512 #define max_channels 2 @@ -209,6 +218,10 @@ #define max_v_dymanic_range 1e6 +/* general formatting */ +#define remote_digits_after_decimal 4 /* how many digits are returned after decimal by query commands */ + + // self-cal configs #define NOT_ENABLE_COUNT 0x01 #define ENABLE_COUNT 0x00 @@ -272,6 +285,7 @@ long sec_timer (void); +unsigned long long ms_timer (void); typedef struct { int PRIMARY_ADDRESS; /* GPIB chip's GPIB primary address */ @@ -807,6 +821,7 @@ typedef struct { FlagStruct DefaultFlags; TimeStruct Timers; MenuStatusStruct MenuStatus; + int control_mode; // FIXME and all instances of control_mode } GlobalStruct; |