| Author |
Message |
alyver00
Joined: Sep 25, 2007 Posts: 9
|
Posted: Oct 3, 2007 10:51 AM Post subject: Error on serial communication and xml config files |
|
Hi i have an error when i add SerialPort elemento into my design: what does it mean? i use the 1.9 GPL version on OSX 10.4
Caught java.lang.ClassNotFoundException: com.sun.comm.Win32Driver while loading driver com.sun.comm.Win32Driver Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver Error loading SolarisSerial: java.lang.UnsatisfiedLinkError: no SolarisSerialParallel in java.library.path Caught java.lang.UnsatisfiedLinkError: readRegistrySerial while loading driver com.sun.comm.SolarisDriver New element error: bioera.graph.designer.DesignException: Serial port initialization error: bioera.graph.designer.DesignException: Not found port `null`
I have the rxtx and the java.comm installed. And i have also another error when i download the first time bioera there is no error when i start it, the second time i have an error about XMLparsing of the userinfo.xml file(for use bioera i have to delete it),and the third time i use bioera i have an xmlparsing error also on system.xml, what can i do here?
Thanks |
|
 |
Jarek Foltynski
Joined: Jan 13, 2005 Posts: 62
|
Posted: Oct 3, 2007 5:18 PM Post subject: |
|
Hi Marco,
the reason is probably serial port driver configuration on your mac. See some comments from someone who did this below.
Jarek
> Hey Adam, > > How did you get the RXTX drivers installed correctly? I`m running > version 10.3.6 of OS X and the help docs say that the build is for > 10.1. Also, within the for package maker folder, the RXTX package > fails during installation and the RXTX_jag package installs, but it > doesn`t seem to help anything. How did you do this and with what rxtx > version? Thanks > >> Nick, >> >> I`m using a Keyspan serial to USB adaptor, but I think the IOGear >> should work the same. Make sure you have the latest IOGear drivers >> installed along with the RXTX drivers. Then, select gnu.io instead of >> javax.comm in the serial element of your BioEra design. You may have >> to restart BioEra for the changes to take effect. It should look >> something like this: >> >> Element: bioera.processing.impl.SerialPort >> Name: Serial >> Port: /dev/tty.modem >> Baud: 57600 >> Data bits: 8 >> Stop bits: 1 >> Parity: NONE >> Flow control: NONE >> Implementation: gnu.io >> DTR: (Checked) >> RTS: (Checked) >> >> >> Hope that helps. >> >> -Adam |
|
 |
alyver00
Joined: Sep 25, 2007 Posts: 9
|
Posted: Oct 4, 2007 12:34 PM Post subject: |
|
Ok thanks, i reconfigure all my communication drivers and now it works good, but i always have a problem: when i quit bioera and restart the application there is always an error about the userinfo.xml file in config directory,it seem to be cleared ( in the file i see [Configuration: null] ) and the console tell about a XMLparsing error, and i always have to take the original userinfo(from a bioera backup directory)...the same appears sometimes with the design project,and i always have to take the original one from a backup. maybe there is some error on the opening and closing of the config,design files. If i found a "bug" in the code i will tell you.
Thanks Marco |
|
 |
Jarek Foltynski
Joined: Jan 13, 2005 Posts: 62
|
Posted: Oct 4, 2007 9:28 PM Post subject: |
|
Hi Marco,
I think I remember those problems. I think it should be easy to look into the source and fix that.
This is BioEra GPL, which is not under active development on my side, it can be done however by anyone else, full sources are available.
Jarek |
|