G Web Development Software

cancel
Showing results for 
Search instead for 
Did you mean: 

Wind graph

Solved!
Go to solution

Hi, 
Im mapping some wind parameters, and im currently displaying them like this:

Labmecepel_1-1708434019663.png]

 

Labmecepel_2-1708434027447.png 

(goes up to 360 degrees)


Is there any way to do something like this (showing direction and intensity of speed in a period of time): 

Labmecepel_0-1708433833106.png

 

0 Kudos
Message 1 of 6
(893 Views)

A 2D picture allows you to draw anything you want.

 

(Sorry, not sure if G web has that)

0 Kudos
Message 2 of 6
(853 Views)

Nothing in G Web directly. You'd have to integrate a 3rd party plotting library with an HTML container and JSLI. If you have a LabVIEW app running that's collecting data for the web app you could do the image drawing there and load that into the G Web app.

~ Self-professed LabVIEW wizard ~
Helping pave the path to long-term living and thriving in space.
0 Kudos
Message 3 of 6
(827 Views)

You do have an intensity graph that you can use as a canvas (all axes hidden, one pixel per 2D array element), the just fill values corresponding to the various Z colors.

0 Kudos
Message 4 of 6
(787 Views)
Solution
Accepted by topic author Labmecepel

Here's a trivial example. Your data would need more code, of course. Easiest would be to keep the 2D array in a shift register and update elements as needed.

 

 

 

altenbach_0-1708626739045.png

 

Message 5 of 6
(783 Views)

Thanks for your time,
I will try to work out with this example!

0 Kudos
Message 6 of 6
(775 Views)