[SunHELP] URGENT: TTL pulse on serial or parallel port

Wolfgang Engelien sunhelp at sunhelp.org
Thu Apr 19 14:00:09 CDT 2001


At 11:45 AM 4/19/01 -0700, you wrote:
>On Thu, 19 Apr 2001, Wolfgang Engelien wrote:
>
>> I would like to give out a ttl pulse
>> (length anything between 50-300 ms,
>> signal change from constant 0-5V to
>> any other value within 0-5V) on either
>> a serial port or the parallel port on
>> an Ultra2.
>>
>> Does anybody have a hint on how to do this
>> or where to get information about this.
>
>One way (if you only need one bit) is to open a serial port...
Sorry for my ignorance, but how do I do that?

>... and use ioctl() to toggle RTS.
Sounds good, but how do I do that?

>
>If your port is set up for EIA232...
Where can I check that?

>... then the voltage levels will flip
>+12/-12 but this is easy to adapt to your requirements in hardware.
No problem on this end ...

>
>-James

Thanks,
Wolfgang
#####
# Wolfgang Engelien                       
# Tel.: +1 (212) 746 3724
# Fax.: +1 (212) 746 5818
# email: wolfgang at hanazono.med.cornell.edu
#####



More information about the SunHELP mailing list