Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

for USB camera,The passed in sesssion or interface is invalid,why?

Solved!
Go to solution

i wanna use USB camera to snap image,but i meet  the problem.i have these softwares:

 

I`}COCIRW5SYO)Q05P7GLL6.jpg

and the error is:

original.jpg

and IN MAX the USB camera is in this position:

RD}AT`]UPQB_GWC9D0BQFXJ.jpg

what's the matter?do i need more software to support the USB camera  such as LABVIEW RT module?In NI.com,there are only updates for RT module,what should I DO?

I really appreciate your help.thank you

0 Kudos
Message 1 of 7
(4,314 Views)

TECDQA6[M7HSO}@)5M00[W9.jpg

and in project explorer i can't find the USB camera

0 Kudos
Message 2 of 7
(4,312 Views)
Solution
Accepted by topic author tuming

Use IMAQdx instead of IMAQ!

 

And be sure that you have image in MAX.

 

Andrey.

 

0 Kudos
Message 3 of 7
(4,308 Views)
AS andrey has suggested use an imaqdx and check for proper interface name.
0 Kudos
Message 4 of 7
(4,306 Views)
0 Kudos
Message 5 of 7
(4,305 Views)
thank you andrey.it's done.really thank you.
0 Kudos
Message 6 of 7
(4,286 Views)
thank you too muks.
0 Kudos
Message 7 of 7
(4,285 Views)