06-11-2008 06:47 AM
I have to send a signal (wave or pulse) through 8 databits over my parallel port to an external device. The parallel port is only used as output not as input as well.
I already checked the examples in labview, but in that example you can only set single pins of the parallel port. But I want to send a signal, for example a pulse of 0.6 V for 0.02ms to the device.
I also want to be flexible – so I can send +0.6V for 0.02ms now and later maybe -0.4V for 0.05ms and so on. I do not want to set every single pin, but just give the amplitude and duration of the pulse.
I read something about doing this using VISA, but my pins 11 and 12 are not grounded on my device, which seems to be necessary for that.
How can I do this anyway?
Thank you very much!
06-12-2008
07:08 AM
- last edited on
03-09-2024
04:22 PM
by
Content Cleaner
The parallel port is a digital port, so you can NOT generate any voltage you want. Every single line can be set to logic HIGH (TTL level is between 3.3 and 5 Volts) or logic LOW (TTL level is between 0.0 and 0.35 Volts), and to nothing else.
So you can NOT use the lines of the parallel port to generate the voltage-levels you need.
I would recomend to use a DAQ device for that. You can by USB devices at National Instruments that can fullfill your needs without any problems. The USB-6008 would be enough for your needs, and is an inexpensive solution:
06-12-2008 08:53 AM
06-12-2008 09:30 AM
06-13-2008 07:09 AM