View unanswered posts | View active topics It is currently Fri May 24, 2013 1:11 pm



Reply to topic  [ 5 posts ] 
 Multiple SB instances ok I presume? 
Author Message

Joined: Dec 26, 2007
Posts: 486
Location: British Columbia
Post Multiple SB instances ok I presume?
Already thinking up new stuff for SerialBridge.

Am I correct in my thinking that multiple instance of SB can be run, I.e. one for each serial port doing Indigo duty.

Each with their own registration code of course.

Or would one simply switch ports in the AScript as needed.

TIA


Sun Mar 16, 2008 11:11 pm
Profile WWW
Site Admin
User avatar

Joined: Jan 27, 2003
Posts: 11698
Location: Texas
Post Re: Multiple SB instances ok I presume?
Actually, you just need 1 instance of the SB app running. You can create multiple connections (File->New Connection menu item), each of which has its own port settings and runs a different AppleScript for processing the serial communication. And all for 1 low price! :-)

(good manual and documentation not included!)

Regards,
Matt


Mon Mar 17, 2008 2:46 pm
Profile WWW

Joined: Dec 26, 2007
Posts: 486
Location: British Columbia
Post 
Cool.

Thanks Matt.


Mon Mar 17, 2008 2:50 pm
Profile WWW

Joined: Mar 19, 2006
Posts: 56
Post Re: Multiple SB instances ok I presume?
support wrote:Actually, you just need 1 instance of the SB app running. You can create multiple connections (File->New Connection menu item), each of which has its own port settings and runs a different AppleScript for processing the serial communication. And all for 1 low price! :-)

(good manual and documentation not included!)

Regards,
Matt


Matt I want to put two Easydaq USB serial relay boards controlled by indigo.
One board has 4 inputs and 4 relays and the second board has 24 relays.

I can right now open and control either board.

So to control 2 boards I do what - I presume since the script has a line

property connectionName : "relays4"

Do I duplicate the script and change the line to

property connectionName : "relays24"

on the second script?


Tue May 05, 2009 6:34 am
Profile
Site Admin
User avatar

Joined: Jan 27, 2003
Posts: 11698
Location: Texas
Post Re: Multiple SB instances ok I presume?
Duplicate the entire connection folder (probably called "relays4") inside:
Code: Select all
/Library/Application Support/Perceptive Automation/Serial Bridge/

and then change the folder name to whatever you want to call the connection ("relays24"). That will then be the connection name. You can get SB to open the connection by double-clicking on the .sbDb file inside that folder.

_________________
Image


Tue May 05, 2009 7:18 am
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 5 posts ] 

Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.   Template designed by STSoftware.