Solved

Apps Won't release serial Port

Posted on 1997-08-12
10
380 Views
Last Modified: 2013-12-27
 I have the following problem with a PowerBook 5300c computer. The
Powerbook 5300 is hooked up to a BIOPAC Systems MP100 data acquistion
system. BIOPAC gave me software (Acknowledge 3.2) to communicate with
the MP100 data acquistion system. The I/O for the MP100 system goes thru
the PowerBook's single serial port. The MP100 needs the serial port for
data transfer and setup.
   Another system, an ATI Force/Torque gauge (F/T gauge), also needs the
serial port for setup and checkout. I am communicating with the F/T
gauge via Versaterm Pro Version 5.0.6. The reason for this is the (F/T
gauge) needs to to zeroed and set up prior to use.
   Currently I am using a manual switchbox to change between the F/T
gauge and the MP100 data acquistion system. I do the following:

    (1) Turn everything on,
    (2) Launch Versaterm Pro,
    (3) Set the manual switchbox to talk to the F/T gauge,
    (4) Send the commands to the F/T gauge with Versaterm Pro,
    (5) Quit Versaterm Pro,
    (6) Set the manual switchbox to talk to the MP100 data acquistion
system,
    (7) Launch Acknowledge 3.2,
    (8) Collect data with the MP100 data acquistion system

   Unfortunately the F/T gauge requires constant zeroing and other
operations. So I do this:

    (1) Leave Acknowledge 3.2 active (i.e. don't quite Acknowledge 3.2),
    (2) Set the manual switchbox to talk to the F/T gauge,
    (3) Launch Versaterm Pro,
    (4) Send the commands to the F/T gauge with VersaTerm Pro.

   When I try (4) above, I get an error dialog stating that the serial
port is in use by another application. In order to proceed, I have to
quit Acknowledge 3.2. After that, I can talk to the F/T gauge.
   The Acknowledge 3.2 documentation contains nothing on how to make
Acknowledge 3.2 release the serial port.

How do I solve this prob?
0
Comment
Question by:OTO356
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
  • 3
10 Comments
 
LVL 3

Expert Comment

by:rickyr
ID: 1542245
Hello...
The serial port will not be released unless you quit. Think of it this way,  When you launch an app that uses the serial port, it first tries to initialise it, where would we be if our serial port connections were dropped just because an app is made inactive. Could you not use two cables, one to your printer port as a serial link to MP100 and the modem port linking to the F/T guage.
byeeee.
0
 

Author Comment

by:OTO356
ID: 1542246
The PowerBook 5300 has only one serial port. I think a Mac expert should know this.

Quitting the Acknowledge application constantly is a pain in @#$!*. That's why I have a prob. I want to release the serial port w/o quitting any apps at all.
0
 
LVL 3

Expert Comment

by:rickyr
ID: 1542247
If I ever meet a mac expert I'll pass on your advice.
maybe someday I will be able to call MYself a mac expert.
untill then...
happy answer hunting.

0
MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

 
LVL 3

Expert Comment

by:rickyr
ID: 1542248
Hello OTO356....
I've just had a thought, Most serial comm softwares allow you to do a disconnect or close connection, you could try this if you haven't already done so.
I hope that this works.
ricky.
0
 
LVL 1

Accepted Solution

by:
karl_s earned 100 total points
ID: 1542249
Quite simply - It can't be done. (unless you install another serial port!)
0
 
LVL 3

Expert Comment

by:rickyr
ID: 1542250
Hiya
I think I may have a work around that will solve your problem. Let Applescript automate your serial sessions. If you need more info on exactly how, then let me know
ricky...
0
 
LVL 1

Expert Comment

by:karl_s
ID: 1542251
A possibility - try using software that emulates several serial ports on your mac.. It's a long shot...
0
 

Author Comment

by:OTO356
ID: 1542252
Thank you Karl. I'll look into it. I found a shareware app called CommCloser that closes serial ports. But the software author advises against closing a serial opened by application while that app is running.
0
 

Author Comment

by:OTO356
ID: 1542253
I found a shareware app called CommCloser that closes serial ports. But the software author advises against closing a serial opened by application while that app is running.

Any thoughts on this?
0
 
LVL 1

Expert Comment

by:karl_s
ID: 1542254
generally, applications that have their ports closed when they are meant to be open get stuck in infinite loops in attempts to re-open the driver...
CommCloser is designed for maverick apps that forget to close the ports after use..
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How to change Apple ID - greyed out? 7 3,394
When to replace iPhone 5c Battery? 7 90
access files on old iMac 3 68
Free up space on a Mac 2 41
Apple's line of laptop computers has made significant strides forward in the last few years. The biggest change being the switch to Intel processors in 2005. One thing about Apple hardware, especially that from a few years ago, is the tendency for i…
How can this article save you time AND money?  In just a few minutes you may discover something you didn't know existed that is easy enough for you to fix yourself!
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question