adamhsu2003 / arduinoscope

Automatically exported from code.google.com/p/arduinoscope
0 stars 0 forks source link

controlP5.ControlP5 checkName #19

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Downloaded Arduinoscope for the first time. 
2. Loaded Arduino Uno with Arduinoscope sketch.
3. Connected 5V to Arduino Analog In Pin A0.
4. Ran SimpleSerialArduinoscope in Processing.

What is the expected output? 
5V signal on pin 0 of Oscilloscope screen.

What do you see instead?
No signals on Oscilloscope screen and this error message, repeated several 
time, in the SimpleSerialArduinoscope sketch log:

Feb 26, 2014 4:42:25 PM controlP5.ControlP5 checkName
WARNING: Controller with name "/pause" already exists. overwriting reference of 
existing controller.
Feb 26, 2014 4:42:25 PM controlP5.ControlP5 checkName
WARNING: Controller with name "/logic" already exists. overwriting reference of 
existing controller.
Feb 26, 2014 4:42:25 PM controlP5.ControlP5 checkName
WARNING: Controller with name "/save" already exists. overwriting reference of 
existing controller.

What version of the product are you using? On what operating system?
Windows 64-bit

Please provide any additional information below.

Original issue reported on code.google.com by ASTy...@gmail.com on 27 Feb 2014 at 1:04

GoogleCodeExporter commented 8 years ago
I have this exact same problem.  Wxp, sp2, 32bit ,  old junk Del. Still trying 
to install an Ubuntu.

Arduino is spitting out the Data appearantly, because I can see it on the 
serial monitor.

SimpleSerialArduinoscope builds a screen GUI ok. but all six channels are 0.

Any Ideas?

Todd

Original comment by toddheffley on 30 Apr 2014 at 3:44

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
You have to change the number of scopes with your real number of channels to 
make it work:
Try to change this line of code "Oscilloscope[] scopes = new Oscilloscope[6];" 
with this one "Oscilloscope[] scopes = new Oscilloscope[n];", where n is the 
number of sources that you use as input.

Original comment by giordano...@gmail.com on 8 Jul 2015 at 7:32