Hello
I'm Laurent from Toulouse
We ordered a new 1052 stand alone temperature sensor.
We had compiled a java software (1.6) to draw a temperature curve and used it nicely with the 1051 version of the sensor.
It doesn't work anymore.
We tried to recompile (with java7) the simple example available in your website (C:\temp\JavaJNI\Simple Examples\TemperatureExample.java).
(Note that the sensor is well detected (and gives a too low temperature for this season !) after installing the phidgets driver and running )
I got a crash:
C:\temp\JavaJNI_2.1.8.20120612\JavaJNI\Simple Examples>java -cp phidget21.jar;.
TemperatureExample
Phidget21 - Version 2.1.8 - Built Jun 12 2012 15:08:57
waiting for TemperatureSensor attachment...
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (os_windows.cpp:475), pid=812, tid=876
Serial: 81639
trigger: 0.1
Outputting events. Input to stop.
# fatal error: DuplicateHandle failed
#
# JRE version: 7.0_05-b05
# Java VM: Java HotSpot(TM) Client VM (23.1-b03 mixed mode, sharing windows-x86
)
# Failed to write core dump. Minidumps are not enabled by default on client vers
ions of Windows
#
# An error report file with more information is saved as:
# C:\temp\JavaJNI_2.1.8.20120612\JavaJNI\Simple Examples\hs_err_pid812.log
#
# If you would like to submit a bug report, please visit:
# http://bugreport.sun.com/bugreport/crash.jsp
#any idea ?
Cheers.