Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

How to run ni-daq examples within BorlandC 5.02

The results of compilation and runnig within BorlandC 5.02 IDE are below.

Info :Compiling C:\Program Files\National Instruments\NI-DAQ\Examples\BorlandC\Ai\aionepoint.c
Warn : aionepoint.c(78,2):'iRetVal' is assigned a value that is never used
Warn : aionepoint.c(56,2):'iStatus' is assigned a value that is never used



Info :Linking C:\Program Files\National Instruments\NI-DAQ\Examples\BorlandC\Ai\AIonePoint.exe
Error: Error: Unresolved external 'AI_VRead' referenced from C:\PROGRAM FILES\NATIONAL INSTRUMENTS\NI-DAQ\EXAMPLES\BORLANDC\AI\AIONEPOINT.OBJ
Error: Error: Unresolved external 'NIDAQErrorHandler' referenced from C:\PROGRAM FILES\NATIONAL INSTRUMENTS\NI-DAQ\EXAMPLES\BORLANDC\AI\AIONEPOINT.OBJ
0 Kudos
Message 1 of 2
(3,014 Views)
Hello;

There is a good KnowledgeBase at www.ni.com that talks about how to run NI-DAQ examples at Borland. You might want to double check that to see if you are including all the necessary files.
If you go to NI home page and type +ni-daq +example +run +borland, the first result of the search is the link to that KB.
Hope this helps.
Filipe
0 Kudos
Message 2 of 2
(3,014 Views)