LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

One Interesting observation about Waveform Chart


Nishant,

Please leave monitor size out of it, it is irrelevant. The only thing that counts is the monitor resolution in pixels and the size of your graph display in pixels.

Please attach your code again. How does the code move the green cursor across the graph? How do you time it?

0 Kudos
Message 21 of 26
(1,124 Views)

Hii, Altenbach

         Let me forget the size of the monitor and just concentrate on the monitor resolution, but it is also not relevant in my case. As K/halid wrote in his last post that the perfomance is decreased if the screen is larger, but the case is not that also, actually i am not saying that performance is decreases, but the green line of the graph takes more time to move from left to right as the size of graph decreases (if it is higher monitor resolution or lower monitor resolution).

I am attaching my vis again. Please suggest me something.

Thanks,

Nishant

0 Kudos
Message 22 of 26
(1,107 Views)
i think that part of your problem is that unless you are using a realtime card than you cannot do anything exactly at a certain time.
that may not be all of your problem but i think it is part of it.
0 Kudos
Message 23 of 26
(1,095 Views)
Your VI is still a horrible mess.
  1. Some of your charts still have a history lenght of about 2.5 millions, some are 3600, some are 360000.
  2. There is no wait in your loop, thus timing is not deterministic.
  3. You probably read the globals much more often than they get updated with new data.

Your program makes very little sense to me. Can you once more explain what kind of data arrives in the global variable? Why do you do everything with globals? Why do you need so many charts? The right way would be do place everything in a 2D buffer and have only one or two graphs (NOT charts) that display whatever slice you select via tabs and rings.

 

0 Kudos
Message 24 of 26
(1,085 Views)
Hiii, Altenbach

           You are right about my horibble vi, that some of the history chart length is 360000,one is 2.5 million and except all are 3600, let me consider that is my mistake, but the thing is because this is an online trend, they want this trend to store. but i am sorry that i have made a mistake in the case of putting different chart history lengths.

         Now let me explain my project's flow.

  • This is a Electronic Data Acquisition system, which considers data acquisition, analysis, trend display etc...
  • The datas are coming in the LabVIEW throgh PCI based cards, and cards AD conversion speed is 8 micro second.
  • I am taking the data in the LabVIEW through the drivers provided by the card's mfg. company, and the scanrate require is 10ms.
  • After fetching the data from the card i am storing it iin the globals from one vi which is fetching the data.
  • After storing the data into the globals, i use those datas to display it into the tabular form and to analyse for the trigger in another vi named display.vi
  • In another vi named Watching Trend (which i have posted to you), i am displaying the trend of the channel, and as the scan rate of the individual channel is 10 ms, so i couldnt wait for atleast 1 ms, cos LabVIEW itself is not providing the perfect 10 ms time.
  • You  are also right in the point that i should show a single graph for the Analog and Digital respectively, but User wants atleast 8 graphs for Analog channel's trend, and 4 graphs for Digital channel's trend, thats why i have to give it.
  • Another point is I have to refresh all the graphs at all the time, because if i dont then it will stop updating the time, which leads me to wrong trend with concern to the time.
  • There are different different vis, where i am doing the different functionality and thats why i have to use the globals to first store the data and afterwards taking the data from glaobals to display the trend from it and to analyse those data.
             Sir, Actually i am relatively new to this field yet, cos i dont have even experience of 1 year in the LabVIEW, thats why i am asking so many questions to the users.Smiley SadSmiley Sad

                  Please provide me the suggetion so that i can make my vi as good as possible.

Thanks,
Nishant

Message Edited by Nishant on 04-18-2006 11:15 PM

0 Kudos
Message 25 of 26
(1,073 Views)
Hiii, VIvi

    Thanks for the complement man and i think you are right but i cant help that thing, cos we are not in the position to purchase the real time card for this, and we have to do our level best in what is available right now we have, so you are the people which can help to do my best.

Thanks,
Nishant

Message Edited by Nishant on 04-18-2006 11:19 PM

0 Kudos
Message 26 of 26
(1,067 Views)