08-30-2016 01:45 PM
On the waveform chart i just want to display the recent valves as it is updating. But when I am writing the entire data on X-Y chart and in excel I dont want to lose data.
08-30-2016 03:13 PM
@pk4 wrote:The reason for graphs outside the loop is that when I press the stop button the entire data is displayed on the X-Y graphs.
08-30-2016 03:31 PM
-Yes I have tried the X-Y graph which works fine and I get the entire data when I press the stop button.
-The daq assisitant is reading 2 analog channels(for pressure and flowrate) and I have used the index array to separate the reading of those two channel and send it to respective graphs.
- I would surely want to know if there is a better way to split the data coming from two channels into the respective graphs.
- The acquisition is continuous and i am not sure how it will stop automatically unless I press the stop button.
-I used the " clean up diagram" to clean it and its not maximized( If thats what maximized to screen meant )
Attaching the vi and the screenshot of it again
08-30-2016 04:21 PM - edited 08-30-2016 04:22 PM
@pk4 wrote:-Yes I have tried the X-Y graph which works fine and I get the entire data when I press the stop button.
As I said, I cannot test. Must be one of the booleans that you are connecting. Personally, I prefer to build xy graphs in a complex shift register instead of express VIs. I don't like dynamic data and never use it
@pk4 wrote:... and I have used the index array to separate the reading of those two channel and send it to respective graphs.
Well, here's how to correctly use "index array" in this case. You have way too many terminals.
@pk4 wrote:
- The acquisition is continuous and i am not sure how it will stop automatically unless I press the stop button.
You can add code to stop it after a certain time or after a certain number of iterations. In fact if you know the total number of iterations before the loop starts, you can built the xy graphs in-place.
@pk4 wrote:
-I used the " clean up diagram" to clean it and its not maximized( If thats what maximized to screen meant )
If I open your diagram on my computer in LabVIEW 2015, it is maximised to the 2560x1440 screen and I stare at 70% whitespace with no useful information, but blocking my view of all other windows.
08-31-2016 07:29 AM
-Thank you,I will modify the indexing part.
- I dont know the number of iterations for the loop to run else I would have surely used for loop instead of a while loop.
- Wll try to implement the producer/consumer architecture and see if that sorts the problem.
09-13-2016 01:42 PM
It worked as soon as I removed the Express XY charts and used something else. Thank you