Created Sat, 02 Jun 2012 02:17:23 +0000 by jmlynesjr
Sat, 02 Jun 2012 02:17:23 +0000
My Current Issue: From running the example: communications->graph under mpide:
I found that Graph.pde(from my mpide examples directory) contains three sets of code each in their own /* comment */ block.
The top of Graph.pde is arduino code to be compiled and downloaded by mpide and then run on a chipKIT. It reads an analog input and sends the result out the serial port as "####/n". The output can be viewed on the Serial Monitor.
The middle of Graph.pde is a Processing program to be complied and run under the Processing application. It reads the serial data being sent from the chipKIT and plots a simple graph of the samples.
The bottom of Graph.pde is Max/MSP code that I haven't researched yet.
Note: Processing has to be installed from http://processing.org (PROCESSING 1.5.1 (REV 0197) - 15 May 2011). Processing did run right out of the box. Processing is a C++ implementation that has been simplified for beginning programmers. As I had no prior experience with Processing, I spent a day running the example Processing programs and reading the 15 +/- tutorials on processing.org.
To use Processing with mpide: Copy Graph.pde to your Processing Sketch directory Comment out or delete the arduino code at the top Uncomment the processing code in the middle Leave the Max/MSP code commented out or delete it Run the copied Graph.pde under Processing(from your Processing Sketch directory) Run the unmodified Graph.pde under mpide(from your mpide examples directory)
Both applications seem to run correctly except for the following warning message:
WARNING: RXTX Version mismatch
Jar version = RXTX-2.2pre1
native lib Version = RXTX-2.2pre2
My Question for the forum: Any ideas on the cause of and how to resolve this warning message? Thanks for the assistance! James
My OS Environment: MPIDE Version: mpide-0023-linux32-20111221 Installed under Ubuntu 10.10 Note: This version of mpide did not run right out of the box. I had to install librxtx-java and gcc-avr(to fix the missing "avr-size" problem.
My JAVA Environment: dpkg -l | grep rxtx librxtx-java 2.2pre2-1 Full Java CommAPI implementation
update-java-alternatives -l java-6-openjdk 1061 /usr/lib/jvm/java-6-openjdk
java -version java version "1.6.0_20" OpenJDK Runtime Environment (IcedTea6 1.9.13) (6b20-1.9.13-0ubuntu1~10.10.1) OpenJDK Client VM (build 19.0-b09, mixed mode, sharing)
Tue, 03 Jul 2012 11:55:13 +0000
Hello
At following webpage http://rxtx.qbang.org/wiki/index.php/Download I found following comment for the prerelease version.
" TODO: The 2.2pre2 bins contain the 2.2pre1 jar file and the 2.2pre2 native lib which causes a mismatch warning "
Maybe you should select the stable version from above link
Best regards Rainer