LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

The compiler complains that it can't find the externals _SCAN_Op or _SCAN_Demux, ETC when trying to compile. I have downloaded NI-DAQ 6.1 and can't find the function library that supposedly contains them.

I've looked through the KnoledgeBase, etc with only a referance to the NI-DAQ function library, which I can't locate. using labwindows 2.2 and MS C/C++ V 7.0 as I am trying to modify a dos program written 9 years ago.

Windoze 98 won't run the MS C/C++ 7.0 compiler and MS Visual C++ 6.0 won't compile this old code. I have a machine running MS Windoze 95 and that does run the old compiler, etc. But I run smack into the above problem when trying to modify the code.

What now?
0 Kudos
Message 1 of 6
(3,508 Views)
Those functions are in NI-DAQ. You have to include appropriate LIB file from NI-DAQ in your project. A MSC compatible lib file (nidaq32.lib) should be in your NI-DAQ/lib directory.

Best Regards,

Chris Matthews
Measurement Studio Supprt Manager
0 Kudos
Message 2 of 6
(3,508 Views)
Thank You for your time and effort.
I have the C:\NI-DAQ directory but do not have the C:\NI-DAQ\lib directory installed.
Why? I don't know. What am I doing rong in installing NI-DAQ 6.1 that it isn't there?
0 Kudos
Message 3 of 6
(3,508 Views)
I don't remember the specifies of NI-DAQ 6.1 installation. It sounds like you don't have CVI or C support installed for NI-DAQ. When you install NI-DAQ it will have check boxes for the development environments you want support for. Reinstall DAQ and check 3rd party compilers and LabWindows/CVI.

Best Regards,

Chris Matthews
0 Kudos
Message 4 of 6
(3,508 Views)
EdB wrote in message
news:506500000008000000E3170000-984882144000@quiq.com...
> The compiler complains that it can't find the externals _SCAN_Op or
> _SCAN_Demux, ETC when trying to compile. I have downloaded NI-DAQ 6.1
> and can't find the function library that supposedly contains them.
>
> I've looked through the KnoledgeBase, etc with only a referance to the
> NI-DAQ function library, which I can't locate. using labwindows 2.2
> and MS C/C++ V 7.0 as I am trying to modify a dos program written 9
> years ago.
>
> Windoze 98 won't run the MS C/C++ 7.0 compiler and MS Visual C++ 6.0
> won't compile this old code. I have a machine running MS Windoze 95
> and that does run the old compiler, etc. But I run smack into the
> above problem when trying to modify the code.
>
> What now?

Do you want your program to run under windows or DOS?

I'm not certain (someone from NI probably knows) but the last version of
NI-DAQ for DOS was ver 4.8.0, but (and its a big but) the last version of
NI-DAQ that supported LW-DOS was 4.6.1

I think its possible that some of the names of functions have changed since
back then (possibly that first underscore wasn't there)

I'll check out a couple of our old LW programs and have a look at the NI-DAQ
functions we used back then.

Best Wishes

paulr


Dr Paul Rocca - Managing Director
Brill Engineering Ltd, 3 Longwood Court,
Love Lane, Cirencester, Gloucestershire
GL7 1YG. www.brill-eng.co.uk
Phone: 01285 883888 Fax: 01285 883876

Celebrating 10 Years of System Integration

Please note that calls may be recorded using our leading edge digital
recording product AudioPC.

Any opinions expressed in the email are those of the individual and not
necessarily of the Company. This email and any files transmitted with it
are confidential and solely for the use of the intended recipient. It
may contain material protected by lawyer-client privilege. If you are
not the intended recipient or the person responsible for delivering to
the intended recipient, be advised that you have received this email in
error and that any use is strictly prohibited. If you have received this
email in error please notify the Security Manager by telephone on +44
(0)1285 883821 or by email to security@brill-eng.co.uk
.
Message 5 of 6
(3,508 Views)
Dr Rocca:
Thank you for your time and effort and your offer of help.
As it turns out I hound that if i boot the development system from the win 98 startup disk every thing works well. When I asked this question I had tried using a dos window in win 98 nd booting into windows 98 command line mode. Both of which gave the compiler errors. Why did the startup disk work: i do not know.

Thanks again

Ed B.
0 Kudos
Message 6 of 6
(3,508 Views)