For the code that I normally develop for test rigs, I was toying with the idea of putting together a basic template kind of thing. A kind off State Machine it is and incorporates some ideas recently given by Altenbach (Thanks!) in this forum. This has all the standard AI, AO, DI and DO functions ; a time delay function; Armed with these writing code for a full machine with case transistions based on real time events must not be a problem. I have attached it for viewing.
I have few queries :
1. In the wiring there are quite a few hidden ones behind the case struct. I know its bad, but alternatives are minimum and if really have to make them visible, then lots of detour wiring needed. Which is better ?
2. Can this be made into a sub VI ? And is there any benefit to get out of that ? I somehow can't figure out how as all of the real time code will go inside the case struct.
Thanks
Raghunathan
Raghunathan
LabVIEW to Automate Hydraulic Test rigs.