how to control 2230 with linux(ubuntu) host?

2200-20-5, 2200-30-5, 2200-32-3, 2200-60-2, 2200-72-1, 2220-30-1, 2230-30-1
Post Reply
zewenhs
Posts: 2
Joined: December 6th, 2017, 9:36 pm
Country: China

how to control 2230 with linux(ubuntu) host?

Post by zewenhs » December 6th, 2017, 11:26 pm

Hi all,
I want control 2230 with ubuntu pc, But compile error as(command is gcc 2230.c -o 2230 -lvisa):
/tmp/ccbIYaRH.o: In function `main':
2230.c:(.text+0x289): undefined reference to `viScanf'
2230.c:(.text+0x2f5): undefined reference to `viScanf'
/tmp/ccbIYaRH.o: In function `SendSCPI':
2230.c:(.text+0x47c): undefined reference to `viBufRead'
collect2: error: ld returned 1 exit status


I check the visa.h, and there have this two functions: viScanf & viBufRead, but there not have in libvisa.a or libvisa.so with nm command

what is cause of this problem? How to control 2230 in ubuntu system? thanks!

Post Reply

Return to “Series 2200 Programmable DC Power Supplies”

Who is online

Users browsing this forum: No registered users and 1 guest