Live Graphing Data

Supporting 2.7 and 3.2+
dpetrillo
Fresh meat
Posts: 3
Joined: Tue Jan 23, 2018 3:35 pm
Contact:

Live Graphing Data

Postby dpetrillo » Tue Jan 23, 2018 3:42 pm

I would like to use MatPlotLib to graph data from a VINT Bridge module. I was excited to see a great example listed for "Live Graphing Data" Except it's quite an old example and uses the old library. I can't get that code to run even with the old library, does anyone have any tips on updating this example to use the new library? Or some example code that graphs live data with the Phidget22 library?

I think if I had a working example I could customize it to meet my needs.

Thanks!

User avatar
mparadis
Site Admin
Posts: 652
Joined: Fri Oct 28, 2011 12:17 pm
Contact:

Re: Live Graphing Data

Postby mparadis » Tue Jan 23, 2018 4:01 pm

We have documentation on where to start for converting a Phidget21 program to Phidget22: https://www.phidgets.com/docs/Upgrading_Code_from_Phidget21_to_Phidget22

The biggest difference is how objects are broken up into channels, with some different naming conventions. It'll also be helpful to run the VoltageRatioInput example for python to see how the bridge is opened.

dpetrillo
Fresh meat
Posts: 3
Joined: Tue Jan 23, 2018 3:35 pm
Contact:

Re: Live Graphing Data

Postby dpetrillo » Wed Jan 24, 2018 8:33 am

Oh, despite looking for that, I didn't find it. Thanks for the link, I've got my work cut out for me now.


Return to “Python”

Who is online

Users browsing this forum: No registered users and 1 guest