02-21-2017 04:49 PM
Thanks, Bill, for the provided sequence...
Could you show code module, or block diagram of the step "Read Recipe File.vi"?
Also, I have broken PropertyLoader step. I noticed, that you have to cases for it based on socket number. Are you sure, that it does not cause problem? What values do you load, and can they influence on later assigning of FG variables values?
Thanks,
02-22-2017 06:46 AM
Here is the block diagram that sends the user interactions to the output cluster. This cluster is then passed to the TS seqence and then assigned to fileglobals.
I added the property loader to load in from a spread sheet some default values. I would expect it is because you don't have the spreadsheets. What do you think?
02-22-2017 04:12 PM
Yes, you're right - PropertyLoader step is broken b/c of missing spreadsheet...
I have some thoughts regarding your code
So, if I was changing Cluster In values, then from Cluster Out to FileGlobals were stored different values, based on inputs:
But, if I do not change Cluster In (and you have for such a case boolean output from Message Dialog "Yes, I changed it"), and just pass it out - all the values are default. Although, they are set up from the test sequence, as you can see:
The point is, that while you do DefaultValues.ReinitAll, it will reinit values of your cluster. And if you will just pass wire from it via Event Structure, on the output will be cluster with default values. Moreover, if you will update cluster value, but not read its value via LocalVariable, or PropertyNode inside of Event structure, then on the output of the wire will default values.
I would recommend you just to play a bit with your VI (or create something simplified, as I did), and debug its behaviour. It'll help you a lot.
Looking forward for news from you,
Sincrerely, kosist90