Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

NI-IMAQ: The passed in interface or session is invalid

Solved!
Go to solution

Hello,

 

I'm trying to use a USB camera (thorlabs DCC1240c) with the "Grab and save to AVI.vi" example.

When I run the file i got "NI-IMAQ:  The passed in interface or session is invalid". 

 

I checked in NI MAX and the interface name of the camera is cam0 and that's what I entered in the "Interface name" box in the front panel.

 

What's the problem ?

 

Thanks in advance,

 

Gabriel

0 Kudos
Message 1 of 7
(8,520 Views)
Hi Gabriel_B,
-Please tell me in MAX Under which category you can see your device: NI IMAQ or NI IMAQdx?
-If it's under IMAQdx, Grab and Save to AVI.vi will give the error.
Thanks
uday
Message 2 of 7
(8,518 Views)

Hi,

it is in NI-IMAQdx Devices.

 

How can I change it then ?

 

Thanks for your help

0 Kudos
Message 3 of 7
(8,510 Views)
Solution
Accepted by topic author Gabriel_B
-Replace all IMAQ vis with IMAQdx vis.
Thanks
uday
Message 4 of 7
(8,500 Views)

Thanks a lot, it works fine now 😉

 

Have a nice day.

 

Gabriel

0 Kudos
Message 5 of 7
(8,485 Views)
Kudoes always welcomed 😛
Thanks
uday
Message 6 of 7
(8,482 Views)
But I can find out the IMAQdx AVI vis, there are IMAQ AVI2 vis in labview2015 only, thanks
0 Kudos
Message 7 of 7
(5,972 Views)