summaryrefslogtreecommitdiff
path: root/gpib.h
diff options
context:
space:
mode:
authordaniel <danieruru@gmail.com>2012-09-28 14:45:34 +0900
committerdaniel <danieruru@gmail.com>2012-09-28 14:45:34 +0900
commit131d5ec32ca62c06f1eed9ee282bb15f814f4ba8 (patch)
treec5aa8015fd026708bcaaa5a14a63fa1de1303af0 /gpib.h
parent923c8ce77ea407f3b50999447bc1d774f6a7d5e0 (diff)
parentbc066aa6f5b6c69a29109a2405e8a91c55d2fade (diff)
Merge branch 'master' of grenfell.avtechpulse.com:Instrument
Diffstat (limited to 'gpib.h')
-rw-r--r--gpib.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/gpib.h b/gpib.h
new file mode 100644
index 0000000..cf00b34
--- /dev/null
+++ b/gpib.h
@@ -0,0 +1,25 @@
+/* define macros */
+
+void GPIB_Set_Execution_Error(void);
+void GPIB_Set_Command_Error(void);
+void GPIB_Set_Query_Error(void);
+void GPIB_Set_Device_Dependent_Error(void);
+void GPIB_initialize(void);
+void GPIB_change_address(int new_address);
+int GPIB_check_for_device_clear_signal(void);
+int GPIB_check_for_device_clear_signal(void);
+int GPIB_check_for_messages(char *gpib_buf);
+int GPIB_handle_new_input(char *gpib_buf);
+int GPIB_send_query_response(char *out_buffer);
+void GPIB_check_remote_status (int *is_remote, int *is_lockout);
+unsigned char GPIB_response_already_pending ();
+void GPIB_go_to_local ();
+void GPIB_clear_events ();
+unsigned int GPIB_get_ESR ();
+unsigned int GPIB_get_SRE ();
+unsigned int GPIB_get_ESE ();
+unsigned int GPIB_get_STB ();
+void GPIB_set_ESR (unsigned int byte,int operation);
+void GPIB_set_SRE (unsigned int byte,int operation);
+void GPIB_set_ESE (unsigned int byte,int operation);
+