LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

can not use IMAQ ImageToArray and IMAQ Rotate on MY CVS .

when using my image processing DLL, I have to use IMAQ ImageToArray and
ArrayToImage which call the NIVissvc.dll and NIVision.dll . these are very
common IMAQ fuctions, in Labview, all my vi works well, when this exe
running on the CVS, it says can not find (or load) the ImageToArray, we can
use many IMAQ functions like imageExtract, IMaqCreate, on CVS before, but
failed on this one and the IMAQ rotate as well, we checked the dll on CVS
RT/System dir, the NIVision.dll is 2MB, and the one on my PC win/system32 is
2.2MB, then we copy the 2.2MB DLL to CVS , then the CVS says canot find the
NIVision.dll, is the DLL on pc not for real time ? what the diff btw DLL on
CVS and on LV in PC ?

don't how to use some
simple IMAQ functions on CVS like IMAQ Rotate and
ImageToArray etc, or the DLL version on my CVS is not a full version ?
0 Kudos
Message 1 of 2
(2,666 Views)
Richard Zhu wrote:

> when using my image processing DLL, I have to use IMAQ ImageToArray and
> ArrayToImage which call the NIVissvc.dll and NIVision.dll . these are very
> common IMAQ fuctions, in Labview, all my vi works well, when this exe
> running on the CVS, it says can not find (or load) the ImageToArray, we can
> use many IMAQ functions like imageExtract, IMaqCreate, on CVS before, but
> failed on this one and the IMAQ rotate as well, we checked the dll on CVS
> RT/System dir, the NIVision.dll is 2MB, and the one on my PC win/system32 is
> 2.2MB, then we copy the 2.2MB DLL to CVS , then the CVS says canot find the
> NIVision.dll, is the DLL on pc not for real time ? what the diff btw DLL on
> CVS and on LV in PC ?

Copying DLLs between the systems i
s not a very good idea. IMAQ consists
of several different DLLs and I'm almost 100% sure they have
dependencies between each other. It is very likely that mixed up DLLs do
depend on features in other IMAQ DLLs which were not present in previous
versions so when you try to use them loading fails because they can't
resolve dependancies to other DLLs and then LabVIEW tells you that the
DLL could not be found.

Also if comparing DLLs it is not very helpful to look at their size
alone. Right click on them in the explorer and select the Properties
dialog. Select the Version tab and look at the versions visible. That
can give some more glues as to what might be different.

> don't how to use some simple IMAQ functions on CVS like IMAQ Rotate and
> ImageToArray etc, or the DLL version on my CVS is not a full version ?

These are functions which are quite some time in IMAQ so it is unlikely
that you have an old version where these functions are not present. More
likely there is a t
echnical reason these functions are missing in the RT
version. Which one that is I woudn't really know.

Rolf Kalbermatter
Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 2 of 2
(2,666 Views)