summaryrefslogtreecommitdiffstats
path: root/servers/gpib_server_lin/src/scope_functions.h
diff options
context:
space:
mode:
Diffstat (limited to 'servers/gpib_server_lin/src/scope_functions.h')
-rw-r--r--servers/gpib_server_lin/src/scope_functions.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/servers/gpib_server_lin/src/scope_functions.h b/servers/gpib_server_lin/src/scope_functions.h
index 2e7eaa3..8b0a215 100644
--- a/servers/gpib_server_lin/src/scope_functions.h
+++ b/servers/gpib_server_lin/src/scope_functions.h
@@ -22,16 +22,16 @@
extern unsigned char scope_raw_screenshot_data[4194304];
-unsigned long scopeScreenSize (char * scopeType);
-unsigned long scopeScreenWidth (char * scopeType);
-unsigned long scopeScreenHeight (char * scopeType);
+unsigned long scopeScreenSize (const char * scopeType);
+unsigned long scopeScreenWidth (const char * scopeType);
+unsigned long scopeScreenHeight (const char * scopeType);
int gpib_read_binary(int ud, int max_num_bytes);
-int scope_get_screenshot(char * scopeType, int gpibDevice);
-int scope_get_screenshot_stage2(char * scopeType, int gpibDevice);
-int scope_set_timebase(float desired_timebase, char * scopeType, int gpibDevice);
-int scope_set_volts_div(int desired_channel, float desired_volts, char * scopeType, int gpibDevice);
-int scope_set_acquisition(int status, char * scopeType, int gpibDevice);
-int scope_set_channel_state(int desired_channel, int status, char * scopeType, int gpibDevice);
-int scope_set_trigger_channel(int desired_channel, char * scopeType, int gpibDevice);
-int scope_set_trigger_level(float desired_level, char * scopeType, int gpibDevice);
-int scope_set_channel_position(int desired_channel, float desired_level, char * scopeType, int gpibDevice); \ No newline at end of file
+int scope_get_screenshot(const char * scopeType, int gpibDevice);
+int scope_get_screenshot_stage2(const char * scopeType, int gpibDevice);
+int scope_set_timebase(float desired_timebase,const char * scopeType, int gpibDevice);
+int scope_set_volts_div(int desired_channel, float desired_volts,const char * scopeType, int gpibDevice);
+int scope_set_acquisition(int status,const char * scopeType, int gpibDevice);
+int scope_set_channel_state(int desired_channel, int status,const char * scopeType, int gpibDevice);
+int scope_set_trigger_channel(int desired_channel,const char * scopeType, int gpibDevice);
+int scope_set_trigger_level(float desired_level,const char * scopeType, int gpibDevice);
+int scope_set_channel_position(int desired_channel, float desired_level,const char * scopeType, int gpibDevice); \ No newline at end of file