| View previous topic :: View next topic |
| Author |
Message |
Ttelmah
Joined: 11 Mar 2010 Posts: 20159
|
|
Posted: Thu Jan 06, 2011 10:17 am |
|
|
QUATECH, do cards for Express bus, which implement the PCI chipset needed to produce a 'real' parallel port, which can be set to the LPT1 port addresses, and can be used by software like LabView. You may need to run something like 'porttalk', to allow the software to directly access the port, but these are off the shelf items, but because of the complexity involved, they are not cheap.
Best Wishes |
|
 |
FvM
Joined: 27 Aug 2008 Posts: 2337 Location: Germany
|
|
Posted: Thu Jan 06, 2011 4:30 pm |
|
|
I'm always referring to FTDI interfaces...
After you finally revealed, that you are aiming to LabVIEW control, I like to add, that FTDI devices can be of course also driven by LabVIEW
http://www.ftdichip.com/Support/SoftwareExamples/CodeExamples/LabVIEW.htm
A more general approach would be to write an ActiveX control to interface the FTDI parallel port and access it by LabVIEW automation functions. |
|
 |
Wayne_
Joined: 10 Oct 2007 Posts: 681
|
|
Posted: Fri Jan 07, 2011 3:24 am |
|
|
The FTDI USB to Parallel devices use the Virtual Com port drivers D2XX and FTD2XX.dll present a virtual COM port to the PC. By writing serial data via the virtual COM port you can bit bang the parallell port on the device.
You therfore need to tell LabView how to use this virtual com port to do the same job as a parallel port. Use COMn instead of LPT1.
I am not a LabView expert so I don't know if this is possible.
Labview can not access the FTDI device by writing to LPTn port or accessing the LPTn port addresses directly!
As far as I can tell.
There is a lot of info on the FTD site with regards to LabView, I sugest you read some of it  |
|
 |
FvM
Joined: 27 Aug 2008 Posts: 2337 Location: Germany
|
|
Posted: Fri Jan 07, 2011 4:44 am |
|
|
More exactly, D2XX and VCOM are alternative drivers for the FTDI device.
A very basic method would be to use a VCOM driver and the FTDI interface as 8-bit port emulating
a serial port. Each single character written to the VCOM is send as 8-Bit parallel data to FTDI device.
Using the dedicated FTDI LabView drivers and D2XX mode of the device allows to control each port pin
individually and also to configure input pins. |
|
 |
|