01-26-2012 11:53 AM
I combined Cluster A and Cluster B with bundle by name into Cluster C. Cluster C is passed into a state machine through a shift register. In some states, there are subvis with Cluster C as an input. All the Clusters are type-def,
When I change Cluster A, I would expect Cluster C to update as well, but it became broken. Why is that?
Solved! Go to Solution.
01-26-2012 12:02 PM
I suspect the C in question is not linked tot he type def. Youcan tell be right-clicking it and if it has a option to Open Type def... it is linked.
Ben
01-26-2012 04:43 PM
I checked. All of them are linked.
01-26-2012 05:20 PM
Did you try placing cluster C on an empty VI and seeing if it updates there when you edit one of the clusters that make it up?
01-26-2012 06:01 PM
Then I would switch to the wiring tool, switch on the floating help and then start floating over all of your wires to make sure they are what you expect. When defing the types of SRs LV will demote SR if you slip up.
So see what theire help says about your wire types.
If I think of anything else, I'll update.
Keep us updaed,
ben
02-27-2012 05:03 PM
Yes, if I place cluster C on an empty Vi, and change changes to it, the update occured.
02-27-2012 05:03 PM
All the date types are as they should be.
02-27-2012 05:13 PM
Try test.vi.
If you add something in the test cluster type def, test.vi will become broken.
02-28-2012 07:31 AM
Sorry but I could not look into this since there where so many missing type defs by the time I disconnected it was meaningless.
Try using a "save for previous..." and choose the same version of LV (this will give you a dialog and let you save the VI and its sub's to a new folder). That way ou will get all of the type defs thta go with your demo.
another approach would be to open the "Test" and look at the hierachry screen with full paths showing and flaot over each sub-vi/ctrl to ensure you did not miss anything.
I tried!
Why do you have tab controls in those cluster?
Ben
02-28-2012 10:24 PM
Sorry, I thought I included everything. I made a source distribution. This should work.