LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

IMAQ + webcam problem

Deal all,
 
So happy to discuss with you all. I am a new user of Labview. I am doing a project and using Labview 7.1 for my design.I prepare to install a webcam to monitor in my design. I search the old post in this forum. By my know, i need to install a NI-IMAQ for the webcam driver and download a webcam library "webcam1.4". Am I correct?

I have downloaded the webcam library and put it in the lib folder and I have opened the test.dll . When i clicked the RUN, the program is ok and have not any error occur but there was not any display image.
In that monent, I installed the NI-IMAQ. When I installed, there a error message, which was similar as "your labview must 7.1 or higher...", was provided.

Anyone know the mistake? Thank you all first.
 
Kim
0 Kudos
Message 1 of 22
(4,445 Views)

Dear all,

Who can help me please? i cannot solve this problem...

Thank You!

Kim

0 Kudos
Message 2 of 22
(4,435 Views)
 

Hi Kim,

Are you using a USB webcam? If so you need NI Vision development module and the IMAQ for USB driver.

NI Vision Development module: https://www.ni.com/en/shop/data-acquisition-and-control/add-ons-for-data-acquisition-and-control/wha...

IMAQ for USB is a driver that talks to your webcam and the Vision Development Module is a set of LabVIEW functions that let you perform Image Processing.

Please install these components and let me know if you have any other questions

-Jaidev

 

 

Senior Product Manager
National Instruments
0 Kudos
Message 3 of 22
(4,423 Views)
Hello, i'm ziv.

I also do my LabView project now, but when i click run the LabView show out the "ERR97", this error due to???

The LabView can support all brand of webcam? Because i use the "logictech" webcam, labView can support it?

Thank you everyone helping 1st.


0 Kudos
Message 4 of 22
(4,385 Views)

Hi Ziv,

Can you tell me which VI throws error 97?

To answer your other question, if a camera is Directshow compatible, then the IMAQ for USB driver can work with it.

-Jaidev

 

Senior Product Manager
National Instruments
0 Kudos
Message 5 of 22
(4,364 Views)
Thank you helping, the problem is settle.
But at here can i ask other question?
The labview can output the data by printer port?
The printer port need to do any setting??
Got any example can send to me?

Thanks you a lot....
0 Kudos
Message 6 of 22
(4,327 Views)

Hi Ziv,

Yeah, you can access the parallel port in LabVIEW. Here are two ways of doing it:

1. You can use the In Port/Out Port VIs. Please look at the example: Parallel Port Read and Write Loop.vi. You can find it in the Example Finder (try searching by keyword: "parallel")

2. You can use the VISA VIs. VISA is a set of VIs that let you access various communication devices. The standard VISA programming model is to Open a session, read or write and then close the session. You will find the VISA VIs in the Instrument IO palette. The VISA Open.vi will let you choose LPT1 as a VISA resource. Use VISA Close.vi to close the session.

Jaidev

Senior Product Manager
National Instruments
0 Kudos
Message 7 of 22
(4,311 Views)

Hello jaidev,

Thanks you the reply.

But I still have some confuse of the connection. Below is the attachment file of the printer port connection, I can connect the LED like that?

Ziv

0 Kudos
Message 8 of 22
(4,299 Views)

Hi Ziv,

You need to upload your images to gthe server for me to be able to see them (or you can attach them as assignments). The connection shown in the excel sheet should work. Just keep in mind that the data pins seem inverted. which means that when the output is zero, the led will be lit.

Jaidev

Senior Product Manager
National Instruments
0 Kudos
Message 9 of 22
(4,281 Views)

Hello Jaidev,

Thank you for the reply.

From your information, the data pin D0 ~ D7 seem inverted, but when I open the “Parallel Port Additional Data Register Input.vi.” this example in the LabVIEW. The table show out the “Inverted Logic” which D0 ~ D7 is “No”. In this row (Inverted Logic) the “Yes” or “No” meaning is?

That means the LED (-) need to connection to pin 2, then the LED (+) always connect to DC 5v?

If I want to control D0~D7 (Pin2 ~ pin9) data output only, got another method? Detail information please refers the attachment file.

0 Kudos
Message 10 of 22
(4,273 Views)