Home Forums General Front end serial error

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • charnwooduk
    Participant
    Post count: 2

    I’ve just received my osPID, however I am quite disappointed with the reliability and safety using it with the front-end software.

    I hve tried on 2x different laptops and 2 different os (win7 and ubuntu 13) but get similar behaviour where the graph displays the initial values, but then appears to recieve no more data.

    I can change the setpoint using the front-end, but i have to restart the application for this to appear in th GUI.

    I am very dissapointed as I find the front end can also reset parameters on the OSPID, wich makes is very dangerous (i use as a control for a cureing oven for composites, which need to be set on ramp/soak cycles for several days, so needs to be unattened.

    My linux box displays the following message

    this@this:~/Desktop/osPID-Front-End-master/osPID_FrontEnd/application.linux$ sudo ./osPID_FrontEnd
    ControlP5 0.5.4 infos, comments, questions at http://www.sojamo.de/libraries/controlP5
    Experimental: JNI_OnLoad called.
    Stable Library
    =========================================
    Native lib Version = RXTX-2.1-7
    Java lib Version = RXTX-2.1-7
    RXTX Warning: Removing stale lock file. /var/lock/LCK..ttyUSB0
    0

    osPID v1.50 IID2 OID1
    DASH 20.00 24.25 0.00 1 0
    TUNE 46.00 0.00 0.00 1 0 10.00 1.00 10 0
    IPT 0 0.00 1.00 293.15 0.00
    error, disabling serialEvent() for /dev/ttyUSB0
    java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:601)
    at processing.serial.Serial.serialEvent(Unknown Source)
    at gnu.io.RXTXPort.sendEvent(RXTXPort.java:732)
    at gnu.io.RXTXPort.eventLoop(Native Method)
    at gnu.io.RXTXPort$MonitorThread.run(RXTXPort.java:1575)
    Caused by: java.lang.NullPointerException
    at osPID_FrontEnd.PopulateCardFields(osPID_FrontEnd.java:1312)
    at osPID_FrontEnd.serialEvent(osPID_FrontEnd.java:706)
    … 8 more

    Brett
    Keymaster
    Post count: 101

    interesting. this code here:

    osPID v1.50 IID2 OID1
    DASH 20.00 24.25 0.00 1 0
    TUNE 46.00 0.00 0.00 1 0 10.00 1.00 10 0
    IPT 0 0.00 1.00 293.15 0.00

    is the ID chunk that first comes back from the osPID when serial comm is opened. it is followed by the osPID runtime values.

    one thing I would suggest, to narrow down the cause of the issue, is to try connecting to the osPID with the Ardunio IDE.

    Cracked
    Participant
    Post count: 44

    How are you powering the device?

    There has been some discussion about the front end and setting retention already.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.