Skip to content

Instantly share code, notes, and snippets.

@scytacki
Created November 15, 2012 21:14
Show Gist options
  • Save scytacki/4081313 to your computer and use it in GitHub Desktop.
Save scytacki/4081313 to your computer and use it in GitHub Desktop.
Java Plug-in 1.6.0_35
Using JRE version 1.6.0_35-b10-428-10M3811 Java HotSpot(TM) 64-Bit Server VM
User home directory = /Users/scytacki
...
Nov 15, 2012 4:11:52 PM org.concord.sensor.device.impl.JavaDeviceFactory log
INFO: LQ: current attached sensor: 10
found sensor: 10
found sensor: 0
found sensor: 0
found sensor: 0
found sensor: 0
found sensor: 0
Current sensor config:
ExperimentConfig
deviceName LabQuest
dataReadPeriod 0.0
exactPeriod true
invalid false
invalidReason null
SensorConfig
name Temperature
type 0
typeConstant TEMPERATURE
port 1
portName null
stepSize 0.01
confirmed true
unit degC
Nov 15, 2012 4:11:52 PM org.concord.sensor.applet.SensorUtil getSensorRequest
INFO: Got probeType of: temperature
Nov 15, 2012 4:11:52 PM org.concord.sensor.device.impl.JavaDeviceFactory log
INFO: LQ: current attached sensor: 10
found sensor: 10
found sensor: 0
found sensor: 0
found sensor: 0
found sensor: 0
found sensor: 0
Config to be used:
ExperimentConfig
deviceName LabQuest
dataReadPeriod 0.1
exactPeriod true
invalid true
invalidReason null
SensorConfig
name Temperature
type 0
typeConstant TEMPERATURE
port 1
portName null
stepSize 0.01
confirmed true
unit degC
Exception in thread "AWT-EventQueue-2" netscape.javascript.JSException: JavaScript error evaluating code "0.1.sensorsReady();"
at sun.plugin2.main.client.MessagePassingJSObject.newJSException(MessagePassingJSObject.java:273)
at sun.plugin2.main.client.MessagePassingJSObject.waitForReply(MessagePassingJSObject.java:187)
at sun.plugin2.main.client.MessagePassingJSObject.eval(MessagePassingJSObject.java:105)
at org.concord.sensor.applet.JavascriptDataBridge.sensorsReady(JavascriptDataBridge.java:57)
at org.concord.sensor.applet.SensorApplet$2.run(SensorApplet.java:78)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:702)
at java.awt.EventQueue.access$400(EventQueue.java:82)
at java.awt.EventQueue$2.run(EventQueue.java:663)
at java.awt.EventQueue$2.run(EventQueue.java:661)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:672)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Nov 15, 2012 4:12:05 PM org.concord.sensor.device.impl.JavaDeviceFactory log
INFO: LQ: current attached sensor: 10
found sensor: 10
found sensor: 0
found sensor: 0
found sensor: 0
found sensor: 0
found sensor: 0
Current sensor config:
ExperimentConfig
deviceName LabQuest
dataReadPeriod 0.0
exactPeriod true
invalid false
invalidReason null
SensorConfig
name Temperature
type 0
typeConstant TEMPERATURE
port 1
portName null
stepSize 0.01
confirmed true
unit degC
Nov 15, 2012 4:12:06 PM org.concord.sensor.applet.SensorUtil getSensorRequest
INFO: Got probeType of: temperature
Nov 15, 2012 4:12:06 PM org.concord.sensor.device.impl.JavaDeviceFactory log
INFO: LQ: current attached sensor: 10
found sensor: 10
found sensor: 0
found sensor: 0
found sensor: 0
found sensor: 0
found sensor: 0
Config to be used:
ExperimentConfig
deviceName LabQuest
dataReadPeriod 0.1
exactPeriod true
invalid true
invalidReason null
SensorConfig
name Temperature
type 0
typeConstant TEMPERATURE
port 1
portName null
stepSize 0.01
confirmed true
unit degC
started device
Javascript error: JavaScript error evaluating code "0.1.dataReceived(1000, 1, [22.13507]);"
netscape.javascript.JSException: JavaScript error evaluating code "0.1.dataReceived(1000, 1, [22.13507]);"
at sun.plugin2.main.client.MessagePassingJSObject.newJSException(MessagePassingJSObject.java:273)
at sun.plugin2.main.client.MessagePassingJSObject.waitForReply(MessagePassingJSObject.java:187)
at sun.plugin2.main.client.MessagePassingJSObject.eval(MessagePassingJSObject.java:105)
at org.concord.sensor.applet.JavascriptDataBridge.handleData(JavascriptDataBridge.java:22)
at org.concord.sensor.applet.SensorUtil$3$1.run(SensorUtil.java:95)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:206)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:680)
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment