- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello.
I have some questions. Is there any possibility to send output signal (let's say I need voltage to switch something) on one of 9 pins in com1. I have a program for Winamp which is using com1 and it goes something like that: there are four buttons and 5 pins of 9 are used. One pin (4 i think) for output voltage and the other 4 are conected trough buttons on this one. So PLEASE help me. Is there any chance to just send some voltage to one of pins for some seconds. If you could tell me something about that, i've got some more questions.
Thank you very much
Urban
I have some questions. Is there any possibility to send output signal (let's say I need voltage to switch something) on one of 9 pins in com1. I have a program for Winamp which is using com1 and it goes something like that: there are four buttons and 5 pins of 9 are used. One pin (4 i think) for output voltage and the other 4 are conected trough buttons on this one. So PLEASE help me. Is there any chance to just send some voltage to one of pins for some seconds. If you could tell me something about that, i've got some more questions.
Thank you very much
Urban
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Look up the SPORT (serial port) documentation in VF on-line help. That set of routines may help you accomplish what you want to do.
Mike
Mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can use either the SPORT library routine SPORT_SPECIAL_FUNC or the underlying Win32 routine EscapeCommFunction to raise most commonly DTR or RTS, wait the appropriate amount of time, then drop the chosen signal using the same routine.
James
James

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page