Hi,
I would like to make a component tester. I realized the material part, but I wade in the app. Could someone explain me how to display the data (x-axis: the IN1 voltage, y-axis: the current IN2)?
Thanks
PS: sorry for my english, i'm french
Build a component tester (V-I tester)
-
- Posts: 1441
- Joined: Sat Jun 07, 2014 12:49 pm
- Location: Königswinter
Re: Build a component tester (V-I tester)
I suggest you take a look at how the scope app does it. It receives datasets from the Red Pitaya in the format described here. Then it passes the data to the jquery.flot library to display it.
The flot library accepts data in the form of a point cloud, so you'll need to reformat the incoming data from
into
The "function filterData(dsets, points)" in index.html seems like a good place to do that. In addition, you will need to set the options for the plot functions with appropriate x and y ranges.
The flot library accepts data in the form of a point cloud, so you'll need to reformat the incoming data from
Code: Select all
[ { "data": [ [t1, x1], [t2, x2], ... ] }, {"data": [ [t1, y1], [t2, y2], ... ] } ]
Code: Select all
[ { "data": [ [x1, y1], [x2, y2], ... ] } ]
-
- Posts: 3
- Joined: Thu Apr 09, 2015 7:24 pm
Re: Build a component tester (V-I tester)
Thanks for your help Nils. I will analyze data to try to understand my problem is that I'm just level programming (I started).
Best Regards,
Christophe
Best Regards,
Christophe
-
- Posts: 3
- Joined: Thu Apr 09, 2015 7:24 pm
Re: Build a component tester (V-I tester)
Arrh! I can not, Nils. Can not put in the right format. I'm totally useless. I retry and if I can not, I give up.
-
- Posts: 1441
- Joined: Sat Jun 07, 2014 12:49 pm
- Location: Königswinter
Re: Build a component tester (V-I tester)
I'm sorry I can offer no further help, as I am myself not very well versed in javascript.
jadalnie klasyczne ekskluzywne meble wypoczynkowe do salonu ekskluzywne meble tapicerowane ekskluzywne meble do sypialni ekskluzywne meble włoskie
Who is online
Users browsing this forum: No registered users and 84 guests