Hi!
I have a vi that contains an event case structure which aquires data in an event driven way from a hardware. It is implemented via a DLL, and thus the DLL have to be initialized first. These init and DAQ parts are done in a flat seq. structure, so they follow each-other.
I need to place this whole thing in an other vi like a subVI. This other vi would display the incoming data, therefore it will contain a while loop. I would place my subVI in this while loop, so that it would give data continuously to my display event-drivenly. But in this way it would initialize every cycle.
So my question is, thet how should i solve this? I have seen such vi-s, that have more instances and there is a input param that i can choose, like "init", "write", "read". I would like something alike, or it is not the best way to do it?
Thanks:
Waszil