Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 66748

how to merge event structures?

$
0
0

I have a VI scripting program that reads a text file of registers and outputs an event structure.  It works great because it creates all the controls and indicators that I need associated with the register set along with the backend code (i.e. the event structure).

 

After I generate all this code, I copy/paste it into the main VI I am developing.  It all works fine.  The only issue is that there are 100 separate register text files.  This means I am left with 100 separate event structures.  Although this works, it takes up a lot of space and I would prefer to combine them.  However, each event structure has anywhere from 15-75 entries, so to manually do this is not an option.

 

Is there any way to selectively merge event structures automatically?

 

I guess I could write a labview scripting routine that would get a reference to the event structures in the VI and then merge it...but part of the problem there is that there are a handful of event structures I wish to keep separate just because they aren't associated with the register set I mentioned.


Viewing all articles
Browse latest Browse all 66748

Trending Articles