LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

where is general\graphs\charts.llb\Varible-Time Chart XY.vi?

I did a search on "XY" (I wish to make a chart using time [in seconds NOT clock time] supplied as input of a limited window in time - say 10 seconds). I used "Find Examples" and tried to open "Variable-Time Chart XY.vi" and got the following message:

that file could not be found or opened. You may need to reinstall your examples.

general\graphs\charts.llb\Variable-Time Chart XY.vi

I reinstalled 8.5.1, tried again and got the SAME message. I was not presented with any options to install "examples" by the installer.

So where is "Variable-Time Chart XY.vi"?

Is that even the example is need?

Do you have an example to do what I want?




0 Kudos
Message 1 of 12
(3,959 Views)
On my install that VI is definitely in that location. Are other XY examples giving you the same error?

That said, I don't think that's the example you want, unless you're changing time as you're graphing, which is what that examples tries to do. It sounds like you're just trying to create an XY graph, whereby you're creating your X values. In that case, the "XY Graph" example is one that you want to look at. The XY Graph would be used if your X values are not evenly spaced. If your X values are evenly spaced then you can use a waveform graph.
0 Kudos
Message 2 of 12
(3,947 Views)
And for just a chart, look for the example called Real-Time chart.
0 Kudos
Message 3 of 12
(3,945 Views)
"Real-Time chart" is not what I want since it it tied to the clock.

I want a chart that:
1. uses the "time" [in seconds] from a real time data source
2. updates the chart at an interval I specify [say 1/second]
3. displays a preiod of time I specify [say 10 seconds]

Which example is the example for that?

0 Kudos
Message 4 of 12
(3,937 Views)
"Varible-Time Chart XY.vi" is the only missing VI I've encountered....so far.

Is it possible to force an update of the "Examples" directory?


0 Kudos
Message 5 of 12
(3,935 Views)
Define 'real time data source'. The update rate would be set by a wait inside your while loop typically and the overall time of a chart is set by the min/max range.
0 Kudos
Message 6 of 12
(3,932 Views)
I am reading time + 6 values (4 floating point + 2 binary) values from a network source.

I'd like to make 2 plots (graphs, charts, what ever the LV terminology) that show 10 seconds of data and update once per second.

Can I do that with Labview?
0 Kudos
Message 7 of 12
(3,927 Views)
Quite easily. In LabVIEW the terms "graph" and "chart" are not synonymous.

A "chart" is like a paper stripchart recorder, to which you continously add data, and the old data gets scrolled off to the left. There's a built-in buffer that can be adjusted. Thus, you can use a chart to display the most recent 10 seconds, and use the buffer to view the previous data.

A "graph" displays a fixed amount of data. There are 2 types of graphs: waveform and XY. The waveform graph is intended to be used when the samples are evenly spaced. The XY graph is intended when they're not.

As before, take a look at the examples that ship with LabVIEW. The "Charts" example shows a variety of ways to create a chart. In your case the loop time would be 1 second. You can use the while loop as shown in the example, or a timed loop (Programming -> Structures -> Timed Structures).
0 Kudos
Message 8 of 12
(3,918 Views)
I've got something working but I'm not realy happy about it. Until the chart history fills up the x-axis compresses.

I tried using the chart property for the x scale to set the minimum, maximum, start, increment but the chart would then flicker once the data range exceeded my initial values for the x scale properties even though I was updating the properties at 1 second intervals. IWhen I stopped the vi, I sometimes found an x axis on the screen that was not when I had set it to. How Is that happening & how do I fix it?

I still cannot find or reisntall "general\graphs\charts.llb\Varible-Time Chart XY.vi". Is there some place I can download it from? Where is it on my installation disk? Can I get it from there?

I went looking for "general\graphs\charts.llb\Varible-Time Chart XY.vi" and found "general\graphs\charts.llb" and found the date modified was last week. I now remember opening an example vi and doing a "save as" to save a copy of it. Could I have damaged "general\graphs\charts.llb" at that time?

0 Kudos
Message 9 of 12
(3,904 Views)
You need this one?
 
Mathan
0 Kudos
Message 10 of 12
(3,880 Views)