Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Apps Won't release serial Port

Posted on 1997-08-12
10
Medium Priority
?
385 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
  • 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
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

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

 
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 300 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: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone 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

The purpose of this Apple-hardware based article is to provide helpful information about an important component required of all Apple portable notebooks (Apple does not call them "Laptops" because they are too hot to sit on your lap), but is not o…
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…
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

916 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