Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Using USB without VISA

I have a usb camera that has it's own drivers. I want to stream the video to the user via the front panel. I don't know the exact functions declaration that are in the dll to use with Code library function. I thought about using vfw but could not figure out exactly how to do that. I want to stay away from IVision or WebCam Library. Is there a way to figure this out? Thanks for tips and ideas.
0 Kudos
Message 1 of 5
(4,044 Views)
Hello Eager Student!

In taking a look at what's going on in your application, I imagine you may have been inquiring about some of our image acquisition (IMAQ) driver functionality. Those functions are actually only created to work with NI-IMAQ boards in the 14xx series, so unfortunately you wouldn't be able to use them with your USB camera. The way you will have to do this is by using a call to the dll that acts as the driver for your camera. Best of luck with your application and let us know if there's anything else we can help you out with.

Regards

Dan
National Instruments
0 Kudos
Message 2 of 5
(4,042 Views)
hellow,
I am programming with CVI to control an camera, there is dll I want to use.When I call the functions connecting the device and intilize the parments, i can capture pictures, but i do not know how to display the videostream timely, there is funtion that need a window to display the active movie window, can anybody help me,how to creat a window in cvi?
Dongsheng Zhao
North China Electronic Power Univ.
zds_hd@yahoo.com.cn
0 Kudos
Message 3 of 5
(3,954 Views)
toidi -

To display an image in CVI, you can use the imaqDisplayImage() function, which will display the passed in image in a window. Calling this function again with the same window number will update the image displayed in that window. Does this answer your question?

Greg Stoll
IMAQ R&D
National Instruments
Greg Stoll
LabVIEW R&D
0 Kudos
Message 4 of 5
(3,937 Views)
Greg Stoll
thank you for your kindness.
but i think you do not know my meaning. I am programming with CVI to control an camera(not the NI card), there is dll I can use. When I call the functions connecting the device and intilize the parameters, then I can capture pictures, and there is funtion that need a window to display the active movie window, my problem is i do know how to creat a window in cvi which and return the handle of the window. Does CVI have such function? if it does, how to creat a window in cvi?
Dongsheng Zhao
North China Electronic Power Univ.
zds_hd@yahoo.com.cn
0 Kudos
Message 5 of 5
(3,930 Views)