LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

dll/libraries

hallo,
i'm trying to compile a CVI-example (Sequence) with Dev-C++...but i got i lot of undefined references.
which DLLs/Libraries do i need?

best regards,
malte
0 Kudos
Message 1 of 6
(3,837 Views)
hello malte,

could you provide further information?
which exact example do you want to compile?
what are the errors you get?
do you have CVI installed on the same system?

regards

robert h
national instruments
0 Kudos
Message 2 of 6
(3,807 Views)
hello robert,
thank you for your reply. i'd like to compile the "hlsequence.c" example...
i installed the trial version of cvi. today i'm able to compile the code, but i get warnings and can't start the .exe-file.
-----
Linker Parameter (Dev-C++):
imaq.lib
cvi_lvrt.lib
cvintwrk.lib
cvirt.lib
cvirtsup.lib
instrsup.lib
cvirtsupp.lib
cviwmain.lib
----
Warnings:
.drectve -'defaultlib:LIBC' unrecognized
.drectve -'defaultlib: OLDNAMES' unrecognized
----
Error Message (while executing):
'Error in call to LoadPanel
Error Code: -86
UIR File Name: hlsequence.uir
Panel Resource ID: 1
Parent Handel: 0'
----

the example is just a general test...
my real goal is to film a sample with a laser point on it and to determine the coords of it's center.
therefore i want to use some image analysing functions that i found when i createt an example builder file
in the vision asistant.
----
Example:

Image* MyImage;
imaqAutoThreshold(MyImage, MyImage, 2, 4);
----
is there an easier way to get access to that kind of functions or do i have to use CVI?

thank you very much and best regards,
malte


Message Edited by asmodi on 10-07-2005 04:00 AM

Message Edited by asmodi on 10-07-2005 04:01 AM

0 Kudos
Message 3 of 6
(3,805 Views)
hello malte,

basically you don't need to use CVI, but the errors, you get on the try to link the CVI example, result from CVI components.

if you want to use imaq or vision functions in another C environment, you could include the header- and lib-files from the subfolders "include" and "lib" in each of the installation directories.
the function you listed in your post is part of the "Vision Development Module", which is needs a license.

regards,

robert h
0 Kudos
Message 4 of 6
(3,798 Views)
hello robert,

ok, just to be sure:
i already have the "NI VISION ASSISTANT"- and the "NI-IMAQ"-CD.
does that really mean i have to buy the "NI VISION DEVELOPMENT MODULE" 
to solve the task mentioned above?
and very important: does this module work with dev-c++? because i have no
LabView, LabWindows or Measurement Studio!


best regards,
malte

Message Edited by asmodi on 10-07-2005 06:59 AM

Message Edited by asmodi on 10-07-2005 07:00 AM

0 Kudos
Message 5 of 6
(3,797 Views)
hello malte,

you only need the vision development module, if you want to use functions from it.
NI-IMAQ allready provides many functions:
you find a complete list in the IMAQ-installation directory under "Docs -> NI-IMAQ Function Reference Help"
if the functionality you must implement cannot be done with them, you need the vision development module.

if you include the header and lib it works with any environment, which could use dlls.

regards,

robert
0 Kudos
Message 6 of 6
(3,784 Views)