Measurement Studio for VB6

cancel
Showing results for 
Search instead for 
Did you mean: 

Saving an imaq image to disk using CWIMAQVision

Hey Brad,

 

Thanks for helping out. As far as I can tell, he is going to eventually deploy his code to another computer. I would assume that he is only trying to do it on his development computer at the moment. I really do belive that this is a licensing issue now. 

 

For clarification: Vision Acquisition Software contains

 

  • NI-IMAQ 4.1
  • NI-IMAQdx 3.2 (Includes legacy IEEE 1394 support)
  • NI-IMAQ I/O 2.2

You may very well have the VAS, but IMAQdx needs the license PER computer that it is ran on. I think we already checked this, but it would be good to double check. I'm working on getting a test computer to see if I get the same results.
Message Edited by Chris_VH on 12-03-2008 05:09 PM
Chris Van Horn
Applications Engineer
0 Kudos
Message 51 of 56
(2,602 Views)

So it turns out if you DO NOT have Vision installed on the machine, everything works fine. If you do have Vision installed, an extra check occurs and if it's not licensed, that causes the license warning to appear. So if you're deploying your exe to machines that don't have an unlicensed vision or don't have vision installed at all, you will be fine. We will look into why this happens more in depth and see if we can fix this.

Thanks,

Brad

0 Kudos
Message 52 of 56
(2,584 Views)

OK, I'm confused.  Is Vision different from Vision Acquisition Software?  If they are different, how do I know if Vision is installed?

 

I was able to get the code Brad wrote to work on VB 6.0, but it still does not work on VB 2008, which is the platform I had been writing the rest of my code on. Does NI just not support applications with VB 2008? (VB 6.0 is COM and VB 2008 is .NET framework)

 

I am writing the code on my computer right now, and when I get the laptop that will ultimately be controlling the camera for the experiment, I will transfer the license from this computer to the laptop.
0 Kudos
Message 53 of 56
(2,578 Views)

Vision is the Vision development module (VDM) which has functions in it that pertain specifically to image processing (such as that Canny Edge). Vision Acquisition Software is a bundle of drivers that I mentioned above.

 

It looks like you don't have vision on your computer if that is the only license you have. If possible, I might try it on your "clean" laptop that you KNOW won't have any other software on it.

Chris Van Horn
Applications Engineer
0 Kudos
Message 54 of 56
(2,575 Views)
VDM is not installed on my machine, and to my knowledge, it's never been installed on my machine. 
0 Kudos
Message 55 of 56
(2,573 Views)
If it still doesn't work, could please send a simple VB2008 .NET application (similar to what I made) that reproduces the problem. It's weird that my simple Visual Basic exe works since the VB2008 .NET exe would call the same code my exe calls, so I don't see any reason why your exe doesn't work and mine does. I'll set up a VB2008 machine here to test your code. Thanks, Brad
0 Kudos
Message 56 of 56
(2,562 Views)