4 Replies Latest reply on Oct 15, 2015 9:50 AM by ryukorin RSS
    ryukorin Newbie

    How can I display multi datasorce in time serise chart

    Hello,

    I'm new thingwork academic user.

     

    I have trouble with displaying multi datasorce.

    When I uncheck single datasorce checkbox, timeseriese graph display noting.

    There is no error log about it.

     

    http://univoftokyo.cloud.thingworx.com/Thingworx/Runtime/index.html#mashup=Am2302_new&__fromBuilder=f75f95e8-f538-40ed-8…

     

    Would you like advise to me?

     

    About Edge server program:

    I changed the sample program, temperature-thing with rpi as follows.


    I want to test scalability, so I increase the same thing to 100.

    But I think there is no polling miss on rpi, because I run the program simulation mode.

    I checked things get simulation value.

     

    ---------------------

    Main.java

    public static void main(String[] args) {

            try {

     

     

                parseArguments(args);

                client=getEdgeClient();

                for(int i=0;i<100;i++){

      client.bindThing(new TempAndHumidityThing(THING_NAME+String.valueOf(i), THING_DESCRIPTION, client, simulated));

      }

                LOG.debug("Connecting to " + address + " using key " + appKey);

                client.start();

                monitorThings();

     

     

            } catch (Exception e) {

                LOG.error("Server shutdown due to an exception.",e);

            }

     

     

        }