08-04-2009 10:04 PM
G'day all,
The setup:
Labview 8.6
IMAQdx (with GigE camera)
Site Licence (unmanaged)
1 NIC
Network requires static IP, GigE requires dynamic (Currently use batch files to swap between these however it's not a rapid process).
The issue:
I'm currently using IMAQdx in a labview program.
When the program runs it does the usual create image, create session, open camera, set-up camera, start acquisition routine.
The issue is that it doesn't actually load the IMAQdx section of labview until it's needed (of course).
As I only have one network card, I need to swap back and forth between the site network and the camera.
This means that the IMAQdx software always fails to find the licence server (as it's not connected to the network), and so continues with its evaluation timer countdown.
Trying to use it before I disconnect doesn't help as it complains about not having a camera (as it should).
Currently I load labview at system start up to let it know that it is registered, but this doesn't seem to go across to IMAQdx.
The question:
Is there any way to either;
a) Load IMAQdx at system start up (when it's still connected to the network), and thus let it recognise that it is actually licensed.
or b) Get labview to load it in a program without it complaining about not having a camera, while it's still connected to the network.
or c) Some other nifty way of getting IMAQdx to pick up the site licence (that doesn't require multiple quick disconnects and reconnects [due to the batch files, this would take ages])
Getting a second network card is not really an option at this stage.
Thanks in advance.
Solved! Go to Solution.
08-05-2009 04:36 AM - edited 08-05-2009 04:37 AM
Hi Mr Rhino
Since the two "simple" solutions (second NIC and disconnected License) are out couldn't you writing a simple IMAQdx VI and run while you are still connected to the server? Something like this:
Otherwise your best bet would probably be to check if your agreement allows you to convert one of your VLA licenses to a single seat license. Contact you local NI support.
Best Regards
David
NISW
08-05-2009 07:39 PM
Yep that did it. Thanks.
I used enumerate cameras instead of find ethernet cameras though.
Feed the error into a while loop to run before the rest of the program so I can just click a button to continue once I have changed the network settings etc.
08-11-2009 10:19 PM
After testing for a while, it would seem that the chosen method is flakey.
It'll go through the "find ethernet cameras" and chuck error -1074360293.
Then proceed fine through various loops which don't involve IMAQdx.
It reaches the stage of the open camera VI, which is where it then opens up the splash screen and licence page (of course as I've disconnected from the network by this stage it can't find the server, if I didn't disconnect it wouldn't be able to even try and open it).
[suggested blocks]->[setup blocks]->[Open camera etc]
Looks like I'll have to get the second NIC.
08-12-2009 02:21 AM
Getting a second NIC or a stand alone license were always the best ways, sorry the workaround wasn't consistent
Best Regards
David
08-12-2009 02:28 AM
Just an errant thought that hit me. Would it be possible to hook up your camera to the network and connect to it that way instead of directly to your computer? This depends on your network setup, the bandwith you need for your application etc, but I know we've connected and used cameras that way before.
Best regards
David
08-12-2009 11:35 PM
Well the second NIC (National Instruments GigE adapter) has been installed.
Working well. Now to speed up pattern match 2 🙂
Thanks all.
08-12-2009 11:46 PM
sorry the workaround wasn't consistent
It's all good. It was only going to be a stop gap measure anyway, it's just that part of the final setup was necessitated a bit earlier than intended.
08-13-2009 11:55 AM
Glad it worked out for you!
Take care
David