01-15-2008 02:16 AM
01-15-2008 09:05 AM
Dear all,
Who can help me please? i cannot solve this problem...
Thank You!
Kim
01-15-2008
07:49 PM
- last edited on
04-01-2025
09:13 AM
by
Content Cleaner
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
01-21-2008 06:43 PM
01-22-2008 08:24 PM
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
01-29-2008 01:10 AM
01-29-2008 06:41 PM
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
01-30-2008 12:06 AM
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

01-30-2008 10:14 PM
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
01-31-2008 03:12 AM
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.