summaryrefslogtreecommitdiff
path: root/gpib.h
blob: 610d74e6e7d8050b6561f0941a862d1001263b08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/* define macros */

#include <glib.h>

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);
void GPIB_start_query_response(gpointer *ignore_this, char *in_string);
void GPIB_finish_query_response();
void GPIB_check_remote_status (int *is_remote, int *is_lockout);
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);