I've been using RXTX and the Serial Macro Extensions plugin (at
http://imagejdocu.tudor.lu/doku.php?id=plugin:utilities:serial_macro_extensions:start) in macros to communicate with serial devices, using syntax like:
Ext.open(firstPort, 9600, "DATABITS_8 STOPBITS_1 PARITY_ODD");
Can I simultaneously have two ports open, a la:
Ext.open(somePortSpecifier, 9600, "DATABITS_8 STOPBITS_1 PARITY_ODD");
Ext.open(someOtherPortSpecifier, 9600, "DATABITS_8 STOPBITS_1 PARITY_ODD");
Do I first need to construct multiple instances, something like:
Ext firstPort = new Ext();
Ext secondPort = new Ext();
Thanks.
Bill Christens-Barry