From c70c87d3865c9e591b08c2d49cccbc776a136fab Mon Sep 17 00:00:00 2001 From: daniel Date: Sat, 5 Jan 2013 16:30:05 +0900 Subject: add a work in progress "vxi-11 client library" and test client.. this will become the perl module later --- libvxi11client/client.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 libvxi11client/client.c (limited to 'libvxi11client/client.c') diff --git a/libvxi11client/client.c b/libvxi11client/client.c new file mode 100644 index 0000000..e25c037 --- /dev/null +++ b/libvxi11client/client.c @@ -0,0 +1,18 @@ +#include "vxi11.h" +#include + +int main() { + printf("VXI-11 test client\n"); + CLIENT* clnt; + vxi11_open("192.168.2.250"); + vxi11_write(); + vxi11_read(); + vxi11_trigger(); + vxi11_clear(); + vxi11_abort(); + vxi11_lock(); + vxi11_unlock(); + vxi11_remote(); + vxi11_local(); + vxi11_close(); +} -- cgit