David, Thank you for your suggestion, it seems to have helped the situation. However, now I have some new strange behavior...
If I follow the tutorial, and start the SerialForwarder before starting the Oscilloscope, the Oscilloscope will not start, and I get the following message: ser...@com6:57600 died - exiting (java.io.IOException: Could not open COM6: TOSComm JNI library runtime error: Error 5. Access is denied. In NativeSerialPort.CreateFile) HOWEVER, if I run the Oscilloscope WITHOUT starting the SerialForwarder, it opens and it looks like it's working (the reading stays constant at zero, but I am using an MTS400 so I'll have to create my own DemoSensorC to make it work I think). Should I ignore the instructions to start the SerialForwarder, or is this a sign that the Oscilloscope is not yet working correctly? Thank you for any comments or suggestions, and thank you David for your help! Elizabeth Strandberg Message: 2 Date: Fri, 23 Oct 2009 13:38:20 +0200 From: "David Conde" <[email protected]> Subject: Re: [Tinyos-help] Oscilloscope/JNI Problem To: "'Strandberg, Elizabeth'" <[email protected]>, <[email protected]> Message-ID: <000501ca53d5$52724380$f756ca...@es> Content-Type: text/plain; charset="us-ascii" Hi Elizabeth, I had a similar problema which I solved reading this link: http://www.mail-archive.com/[email protected]/msg09307.html I put getenv.dll in Windows/system32 and this problem was solved. I hope this help you De: [email protected] [mailto:[email protected]] En nombre de Strandberg, Elizabeth Enviado el: viernes, 23 de octubre de 2009 3:44 Para: '[email protected]' Asunto: [Tinyos-help] Oscilloscope/JNI Problem Hello All, I am attempting to run the Oscilloscope application with an Iris mote. When I type ./run, the oscilloscope window comes up, but there is no data displayed, also it does not show anything in the Mote / Color list. In the Cygwin window, I get the following message: Getenv JNI library not found. Env.getenv will not work (run the tos-install-jni tool, see man tos-install-jni for more details) However, I have run tos-install-jni, and it appeared to install with no complaints. Does the blank oscilloscope problem have to do with the JNI library problem, or is it separate? It seems to me that the oscilloscope window would not open at all if Java was not working. Thanks in advance for any suggestions. Elizabeth Strandberg _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
