05-04-2018 07:41 AM
Sorry, you will find attached my current VI.
05-04-2018 07:48 AM
Hi Student,
don't use event structures inside event structures! (Atleast not unless you are REALLY sure about what you are doing!)
What's the reason to put wait functions inside the events?
Did you read the LabVIEW help on event structures? Especially the "caveats" section???
Btw. all the subVIs are missing…
05-09-2018 03:46 AM
Hi!
Thank you for your responses
There have been days that i struggle with labview to get what i want in my program! After many trials, I attached the VI that I got and I hope you could help me
In fact, I want when I select one choice from the list box " Choose the analysis to do " ( either overall or orders analysis), if it's Overall , we press directly " DISPLAY GRAPH" to get the graph of the overall, While if it's Orders analysis, we should select one of the orders range in the listbox '' ORDERS RANGE", and after that when OK button is pressed, a list of the orders in that range will be displayed! The user should then select the orders that he wants to display in graph from that list , then press " DISPLAY GRAPH" to get the graph of the selected orders!
My problem is when I press OK button , orders can not be shown in the list and don't get the correct graph, as there wasn't any order selected!
I welcome your questions and your suggestions.
05-09-2018 03:58 AM
Hi Student,
I attached the VI that I got and I hope you could help me
Well, there are missing subVIs. It would help more if you would attach the whole project including all needed subVIs…
In fact, I want when…
You list a whole list of requirements: you need to program your VI according to those requirements!
Why is there no loop around the event structure? How will you handle more than one event?
Why is there no case structure, where the selection is dependend on "analysis to do"? You explicitely named this as a condition!?
I welcome your questions and your suggestions.
My suggestion is: develop an algorithm based on your requirements. Draw that algorithm - on a sheet of paper. Yes, paper!
Once you are sure your algorithm will fulfill your requirements you start to code in LabVIEW…