Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Ni-Imaq and Ni-Vision license problematic

Hi
 
Just a question on licensing:
If ONLY install the one of lastest NI-Imaq -driver there also will be installed a (maybe only a Part) of NI-Vision.
Thats seems well but which functions of NI-Vision are without license ?
I need from Ni-Vision create, load and save from file and convert to array.
Now erverything is working as i suspected but is it running in 31 days, too ?
 
So for guys of NI:
Dont forget the "C" programmers! 
With NI-IMAQ there is only shipped a imagvision.chm help file for the LabVIEW-programmers.
 
Greetings
juergen
 
  
--Signature--
Sessions NI-Week 2017 2016
Feedback or kudos are welcome
0 Kudos
Message 1 of 12
(4,566 Views)
Hey,
 
With the IMAQ driver you will be able to create, load and save to file but the convert to array is part of the vision development module. Within the following link you find a list of the VIs (similar to the functions) contained in IMAQ as well as the ones of the vision dev module.
 
Christian
0 Kudos
Message 2 of 12
(4,547 Views)
Hi, Christan
 
I am missing the link.
 
greetings
juergen
--Signature--
Sessions NI-Week 2017 2016
Feedback or kudos are welcome
0 Kudos
Message 3 of 12
(4,546 Views)
0 Kudos
Message 4 of 12
(4,542 Views)

Hi Christian,

Sorry, but this link is down

Greetings

Juergen

 

--Signature--
Sessions NI-Week 2017 2016
Feedback or kudos are welcome
0 Kudos
Message 5 of 12
(4,523 Views)

Hey,

I'm sorry but it seems this KB is not for external use, but a list of these functions can be found in the NI-IMAQ VI Reference Help. This file can be found by selecting Help>>NI IMAQ VI Reference...

Christian

0 Kudos
Message 6 of 12
(4,512 Views)

Hi Christian,

I have found a link:

http://digital.ni.com/public.nsf/allkb/392E8F10F049918986256A3B005D484A?OpenDocument

I am not using LabView. I use C++ with nivision.h, nivision.lib (Version 8.2.1.94) this is shipped with NI-IMAQ Driver  3.7.1

So I wonder why is my function imaqArrayToImage working or is it just working a few weeks and then there will be
Errorcode: #define ERR_NEED_FULL_VERSION -1074396156 // The function requires an NI Vision 5.0 Advanced license.Other Question:
Or: #define ERR_UNREGISTERED -1074396157 // Unlicensed copy of NI Vision.

Other Question:
Why are all my imag-functions retruning 1
instead of #define ERR_SUCCESS 0 // No error.

Greeting from the lake of Constance, Germany

Juergen

--Signature--
Sessions NI-Week 2017 2016
Feedback or kudos are welcome
0 Kudos
Message 7 of 12
(4,501 Views)

Hey,

Image to Array is from IMAQ, this works, but Array to Image is from the Vision palette which won't work after the 30 days.

Christian

0 Kudos
Message 8 of 12
(4,499 Views)
Hi,
 
This sounds bad!
Is there a documentaion about this for c/c++ programmers?
 
Is it possible to do bitmap savings of "userarray" by using imgSessionSaveBufferEx.
I have tried this but my system failed with an "System Exception" !"
 
Greetings
Juergen
--Signature--
Sessions NI-Week 2017 2016
Feedback or kudos are welcome
0 Kudos
Message 9 of 12
(4,492 Views)
Juergen,

it seems like that you try to find a workaround for the missing function "array to image", right?
The function mgSessionSaveBufferEx needs a valid session ID of an active IMAQ acquisition.

To store a completely unmatched data array as a bmp picture you need to match the data with the specific BMP header.
For more information on this stuff, browse the following URL: http://wiki.unixboard.de/index.php/BMP


If my assumption isn't correct, please post a simple example which indicates what you wanna try to achieve.


The documenation on the functions can be found in the following folder on your HDD:
...\National Instruments\NI-IMAQ\Docs
-> NIIMAQFunctionReference.chm
-> niimaq_concepts.chm

For specific functions concerning overlay, manipulation, write2file navigate to the following folder:
..\\National Instruments\Vision\Documentation
->IMAQVision.chm (LV based)
->NIVisionCVI.chm


In the below quoted folder you will find some examples:
..\National Instruments\NI-IMAQ\Sample

Thanks,
ThSa
0 Kudos
Message 10 of 12
(4,486 Views)