Stream load data chart not work

Stream load data chart not work

ppetracchiola
Observer Observer
1,406 Views
7 Replies
Message 1 of 8

Stream load data chart not work

ppetracchiola
Observer
Observer

Hi everyone, I recently approached Autodesk Tandem, so I might say something stupid, please forgive me if necessary :-).

I followed the instructions to create a stream using postman below are the steps I took

1) I created a stream name: test_1
2) under manage I created two numerical properties val_1 and val_2
3) I associated them with the template and then in assets I updated the properties that I now see
4) I copied the link to upload the data to postman

this is the structure of the file:

{
"test_val1" : 29.00,
"test_val2" : 30.00,
"ts" : "2023-03-21T01:15:00Z"
}

6) I associated the newly loaded variables in the configure connection

now to load other data and simulate the data arriving from IoT, I launched postman (point 4) 10 times with different dates and values and therefore in configuration I can scroll through my data

but how can I see them developed in the charts? , only the last element inserted always appears to me, the previous ones are not taken into consideration


Thanks for your precious help

0 Likes
1,407 Views
7 Replies
Replies (7)
Message 2 of 8

jessica_smith
Community Manager
Community Manager

Hi @ppetracchiola ,

 

Thanks for reaching out. To make sure that I understand what you have described these are the steps you took, correct?

  1. You created two numeric parameters and assigned them to a class, we'll call this Class Y
  2. Create a Stream, and classified it as Class Y
  3. Sent the stream data via PostMan
  4. Refreshed your browser
  5. Configured the Parameters
  6. Sent the data again from Postman
  7. refreshed your browser again

And now you are not seeing the data displayed in the charts? or are they not presenting the data in the manner you expected? If you could elaborate more on this or send screenshots that'd be awesome. Then I can see what you're seeing :).

 

You can also always submit a support request at this link. When you receive the support case number, please let me know what the case number is in a private message.


Jessica Smith
Content Marketing Specialist, Autodesk Tandem
Autodesk Tandem | Subscribe Now! | Autodesk Tandem Resources

0 Likes
Message 3 of 8

ppetracchiola
Observer
Observer

Hi Jessica thanks for the help.

the process you described to me is what I did, in reality only one value is represented in the graphs, even if I inserted several through postman
in reality if I go to see the configure connection I have three and I can scroll through them using the ">" Next payload button
this is the structure of the file that I pass to PostMan, as you can see it follows the example and is very simple
{
"test_val1" : 29.00,
"test_val2" : 30.00,
"ts" : 1694332498000
}
I calculated the ts field through https://www.epochconverter.com/

waiting for some advice I wish you a happy day
Thank you

0 Likes
Message 4 of 8

jessica_smith
Community Manager
Community Manager

Thanks, @ppetracchiola ! Those timestamps are within the 14-day window. Roughly, how many data points did you send to Tandem?


Jessica Smith
Content Marketing Specialist, Autodesk Tandem
Autodesk Tandem | Subscribe Now! | Autodesk Tandem Resources

0 Likes
Message 5 of 8

ppetracchiola
Observer
Observer

Hi, yes, I am within the 14 days, and I have sent 3 points, the dates start from 09/10/2023 to 09/12/2023

Paul

0 Likes
Message 6 of 8

jessica_smith
Community Manager
Community Manager

Hi @ppetracchiola ,

 

Three data points over a couple of days is not a lot. I have attached a sample JSON file for you to try to send via Postman. Try these steps:

  1. Resend the new dataset via Postman
  2. Refresh tandem
  3. Check the charts, and make sure your time segment is between 09/01 to 09/13
    If the charts still don't populate
  4. Reconfigure the connections
  5. Refresh Tandem
  6. Check the charts again

You have to try this a couple of times. Let me know if that resolves your issue.


Jessica Smith
Content Marketing Specialist, Autodesk Tandem
Autodesk Tandem | Subscribe Now! | Autodesk Tandem Resources

0 Likes
Message 7 of 8

ppetracchiola
Observer
Observer

Hi Jessica thanks for the reply.
I have three questions before doing the test you ask me.

1) you share a json file but I see a csv file, should I transform it into json?

2) do I have to load the points through postman individually, i.e. for each line of the csv file?
Is it possible to load all the points at once?

3) I see that you use a different date format from mine, I develop in milliseconds is the same thing? What is the most correct format to use?


example on first line of csv file:
{
"test_val1" : 37.00,
"test_val2" : 45.00,
"Timestamp" : 2023-09-01T0:00:00Z
}

 

thank you for your precious help

0 Likes
Message 8 of 8

jessica_smith
Community Manager
Community Manager

Hi @ppetracchiola ,

 

  1. Apologies! It looks like I grabbed the wrong file. Yes, if you convert that CSV file to JSON. JSON is not a file format this platform supports, so I attached a Word Doc with the same data that you should be able to copy/paste into Postman.
  2. For reference, once the JSON file is converted, you should be able to copy/paste the data into Postman. I wouldn't expect you to enter all of that data manually; that would take way too much time. 🙂
  3. More info on supported timestamps can be found on our Streams Highlight – Supported Timestamp Formats forum post.

In the format that I sent, the time should be in quotations like so:

 

Example on the first line of CSV file:
{
"test_val1" : 37.00,
"test_val2" : 45.00,
"Timestamp" : "2023-09-01T0:00:00Z"
}


Jessica Smith
Content Marketing Specialist, Autodesk Tandem
Autodesk Tandem | Subscribe Now! | Autodesk Tandem Resources

0 Likes