FAQ
Cover
This is the archive Discourse for the Processing (ALPHA) software.
Please visit the new Processing forum for current information.

   Processing 1.0 _ALPHA_
   Bugs
   Bug Fixes, Implemented Suggestions
(Moderator: fry)
   serialPort selection greyed-out in 0058
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: serialPort selection greyed-out in 0058  (Read 791 times)
mKoser

WWW Email
serialPort selection greyed-out in 0058
« on: Aug 23rd, 2003, 1:35am »

For some reason I cannot choose what serial-port to connect to in ver. 0058. And since I am using COM7 the standard COM1 does not really do it for me
 
It works in 56 though!
 

mikkel crone koser | www.beyondthree.com | http://processing.beyondthree.com
fry


WWW
Re: serialPort selection greyed-out in 0058
« Reply #1 on: Aug 24th, 2003, 4:27am »

if it's grayed out then that means it javax.comm couldn't find any serial ports, or couldn't find the serial port driver.
 
the code for looking for the comm ports hasn't changed, but the placement of the libraries has, so that might be causing trouble.
 
things to try:
 
1. are you using the expert or standard release? try using the 'standard' release, a fresh copy of it, and see what happens.
 
2. make sure comm.jar, javax.comm.properties, and win32com.dll are somewhere inside the p5 release (something may have gone missing) and that you're not getting any errors on the first startup (like "serial port could not be found") if it couldnt' find the drivers, this error message should pop up on a fresh install of p5 (or delete lib/sketch.properties to get see if it shows up)
 
3. verify that COM7 does in fact *still* work with your setup and a fresh copy of 56.
 
4. umm.. i think that's all i've got for now.
 
olivier

WWW Email
Re: serialPort selection greyed-out in 0058
« Reply #2 on: Sep 25th, 2003, 5:01pm »

Hi,
 
I have the same problem with 0062  
- I used standard release installation
- comm.jar, javax.comm.properties, and win32com.dll are present
- I tried to delete lib/sketch.properties  
- I am using windows 98, and the software to connect to the BX-24 works well (so I don't think the problem comes from my machine)
 
Is there any other point to check?
 
 
fry


WWW
Re: serialPort selection greyed-out in 0058
« Reply #3 on: Sep 25th, 2003, 6:26pm »

i can see the problem now, though i'm not sure what's causing it.
 
with rev 62, it works just fine with run-expert.bat (for the expert version), but it doesn't work from the .exe. really weird.  
 
(if the .bat gives you trouble, try opening a command prompt and going to the p5 folder and running it from there)
 
mKoser

WWW Email
Re: serialPort selection greyed-out in 0058
« Reply #4 on: Sep 25th, 2003, 6:55pm »

Quote:
things to try:  
 
1. are you using the expert or standard release? try using the 'standard' release, a fresh copy of it, and see what happens.  
 
2. make sure comm.jar, javax.comm.properties, and win32com.dll are somewhere inside the p5 release (something may have gone missing) and that you're not getting any errors on the first startup (like "serial port could not be found") if it couldnt' find the drivers, this error message should pop up on a fresh install of p5 (or delete lib/sketch.properties to get see if it shows up)  
 
3. verify that COM7 does in fact *still* work with your setup and a fresh copy of 56.  
 
4. umm.. i think that's all i've got for now.

 
damn, sorry ben, i forgot about this post, i never got around to trying your suggestions!
 

mikkel crone koser | www.beyondthree.com | http://processing.beyondthree.com
fry


WWW
Re: serialPort selection greyed-out in 0058
« Reply #5 on: Sep 25th, 2003, 7:02pm »

wahoo, found it!
 
it was a bizarre error where quotes in the CLASSPATH were causing trouble. yech.
 
for the time being, the workarounds:
 
expert version: use run-expert, which doesn't have the problem. or if it does, use the standard version.
 
in the standard version, copy javax.comm.properties from processing/lib into processing/java/lib.
 
the fix will be in 63.
 
olivier

WWW Email
Re: serialPort selection greyed-out in 0058
« Reply #6 on: Sep 25th, 2003, 7:30pm »

waw!
you are Flash Gordon!
It just works. Thank you very much.
 
fry


WWW
Re: serialPort selection greyed-out in 0058
« Reply #7 on: Sep 27th, 2003, 6:03pm »

k, rev 63 is up, so you can download it for a better fix.
 
Pages: 1 

« Previous topic | Next topic »