LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

IMAQ + webcam problem

Hi Ziv,

The 378 is 0x378 which is address of the parallel port. The non inverted just means that the status indicators display real logic. You can connect the LEDs as you were connecting before, just invert the logic levels in your code.

-Jaidev

 

Senior Product Manager
National Instruments
0 Kudos
Message 11 of 22
(1,846 Views)

Hello Jaidev,

Thank you for the reply.

If I want the output as this table, i need to key in what number?

Got any printer port table can reference?

INPUT PRINTER PORT OUTPUT (Pin 2 ~ Pin 9)
REGISTER DATA READ DO D1 D2 D3 D4 D5 D6 D7
378 1 1 1 1 1 1 1 1
??? 1 0 0 0 0 0 0 0
??? 0 1 0 0 0 0 0 0
??? 0 0 1 0 0 0 0 0
??? 0 0 0 1 0 0 0 0
??? 0 0 0 0 1 0 0 0
??? 0 0 0 0 0 1 0 0
??? 0 0 0 0 0 0 1 0
??? 0 0 0 0 0 0 0 1

ziv


0 Kudos
Message 12 of 22
(1,831 Views)

Hi Ziv,

If I understand this right, you need to output a shifting '1' on your parallel port. Like the first output be "0b 10000000" followed by "0b 01000000" and so on. All you need to do is write these binary values to the address "0x378".

You can also directly enter binary values using a numeric control. Right-click on the control and click Properties. In the display format tab, you have an option of selecting the format. Select Binary and you can directly enter binary numbers in your control.

Jaidev

Senior Product Manager
National Instruments
0 Kudos
Message 13 of 22
(1,820 Views)

 Hello Jaidev,

Thank you for the reply & helping.

Ziv Smiley Happy

0 Kudos
Message 14 of 22
(1,815 Views)

You're welcome, Ziv!

-Jaidev

Senior Product Manager
National Instruments
0 Kudos
Message 15 of 22
(1,804 Views)

Hello Jaidev,

Sorry disturb you again.

 


The LabView can output the data by USB port without any hardware/interface?

I mean direct connect the LED as my output. The USB ports have 4 wires (show as attachment)

, then LED should connect to which wire? USB port total can output how many difference results?

 


The USB port needs to do any setting??

Got any example can send to me?

Thanks you a lot....

ziv

 

0 Kudos
Message 16 of 22
(1,715 Views)

Hi Ziv,

Unfortunately, there is no way to erite to the USB port directly. USB ports have a windows driver that you can possibly access through LabVIEW. But this is not trivial. There are some tools available in the market that expose the USB port as a COM port. You might want to try those.

Thank You,

Jaidev

 

Senior Product Manager
National Instruments
0 Kudos
Message 17 of 22
(1,694 Views)

Jaidev,

Thank you for the reply & helping.

Ziv 

0 Kudos
Message 18 of 22
(1,686 Views)

Dear Jaidev,

I’m sorry I still have some confusing of control the printer port.

As your information, u said change the Binary and can directly enter binary numbers in your control, but after I change it to Binary, the printer port result not same as my input. (Refer the attachment file)

Can teach me how to modify it? Or have any control printer port vi can send to me?

0 Kudos
Message 19 of 22
(1,444 Views)
Hi Ziv

Message Edited by Jaidev on 06-16-2008 04:17 PM
Senior Product Manager
National Instruments
0 Kudos
Message 20 of 22
(1,415 Views)