![]() |
| The AccuTerm forum has moved. Go to community.rocketsoftware.com to register for the new Rocket forum. |
|
Post Reply
|
| Author | |
anonymous
Groupie
Joined: January 15 2004 Location: United States Status: Offline Points: 46 |
Post Options
Thanks(0)
Quote Reply
Topic: Bidirectional Aux Port (again)Posted: February 09 2004 at 3:40am |
|
Several months ago you had helped me with a script to accept data via the serial port on the pc, much like a aux port on an adds 4000 by using a second session connected to the serial port. That has worked out great!. My only problem is that sometimes the users forget to start the ‘scanner’ session, and things get messed up. I was wondering if there is any way from a BASIC program, - or whatever – to automatically start that session if it is not already open. Meaning my program would check for this session before running the script to send and receive data from the PC serial port.
Any help would be great! |
|
![]() |
|
PSchellenbach
Admin Group
Moderator Joined: December 15 2003 Location: United States Status: Offline Points: 2150 |
Post Options
Thanks(0)
Quote Reply
Posted: February 09 2004 at 3:45am |
|
You can modify the BIDIRECT.ATSC script automatically open the scanner session if its not already open. For example, before the check for 'Sessions.Count = 2', add this line:
If Sessions.Count = 1 Then Sessions.Add "scanner.atcf" (that is all on a single line). Change "scanner.atcf" to the name of the session you use for the scanner port. Thanks, Pete |
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |