From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

I have ten errors when I run SerialPoll.c.

I installed a copy of your measurement studio and used
my MS Visual C++ open one of your example SerialPoll.c. I was able to complier the program with no error, but failed to link the program.

Here is an example of the error message:

SerialPoll.obj:error LNK2001: unresolved external symbol _ibcntl
0 Kudos
Message 1 of 2
(2,834 Views)
You need to link with the file gpib-32.obj that is included with the NI-488.2 driver. This should be located in (National Instuments Directory)\NI-488.2\Languages\Microsoft C\gpib-32.obj.

Craig A
National Instruments Engineer
0 Kudos
Message 2 of 2
(2,834 Views)