Jump to content

Graphs


epravi

Recommended Posts

Do you mean that you receive multiple points for pressure and enthalpy all at once, just not in an array, or you recieve 1 pressure and enthalpy point at a time at random intervals?

But just to get you off and running. Look at the array pallet and the Build array function. You can make a single value a 1-d array w/ 1 value by simply wiring 1 element into it.

Link to comment
Sorry PJM but I can't open the file. Don't know why. When I try to open it, says that I have to look for the name of this file, and so on. Could you help me??

1716[/snapback]

Odd, there no call to anything in that file (only labview primitive).

What version are you running ?

Meanwhile here is a screenshot of the block diagram.

PJM

post-121-1094771048.png?width=400

Link to comment

Ok Mr. Beginner,

Here's your crash course.

The XY Plot will only display the data currently input into the control. So every time you get a new point, you must merge it with the previous data and push that to the XY plot control.

The way to access previously acquired points is to use shift registers.

Here's the methodology, like in PJM's example.

Acquire an x point and a y point use the build array feature to merge the current x point with an array of all previous x data and do the same w/ the y point.

Then after the new points are merged bundle them together and then push the new cluster to the XY plot.

Hopefully this combined w/ PJM's code you understand how to handle the data you are getting

-Norm

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.