04-09-2013 02:45 PM
Hello,
Well, I have a problem with my VI.
To summarize I use a Vi « IdsVg.vi » to achieve some measurements process.
This one uses an action engine as a sub-vi to store data of the front panel and to precede complementary actions. The front panel is a strict typedef…
I programmed the Vi avoiding to use sequence structures in order to be able to do other actions on the front panel in parallels. Nevertheless I’m running out of ideas for solving my problem.
The problem:
I would like to change values (time constant, Boolean of graph) of the front panel at any instant when the main vi is running. The actual problem is: when I start the program, using register event I can change values of the front panel, but when the program is running the while loop in which it gets the measurement, it isn’t possible to change parameter of the front panel…
Is there a solution or a trick??
Thank you for help
04-09-2013 02:53 PM
Putting in the project file does not help much, good try though. The actual files are missing though, so nothing shows up.
I suggest you create a separate producer consumer loop in your main vi. The vi retrieving the data could pass the relevant data (producer) and the consumer loop will then process the data and update the fron tpannel. Note, only the producer consumer loop will update the front pannel.
You would not need a sequence structure to control the update. The producer consumer loop will only execute when you provide the necessary data.
04-10-2013 02:52 AM
Well, in fact my front panel is updated with the gotten values when measuring, nevertheless when I want to reset the graph or change a measurement parameter the front panel doesn't allow me to do any change... because the programm is stuck in the an other process...
but I will make an attempt with this proposal
merci
04-12-2013 01:55 PM
I did try the concept of producer / consumer loop nertheless the porblem is still here ...
I'm running out of ideas... 😞