02-20-2017 11:30 AM
02-20-2017 01:23 PM
Let's start with the "No Pause" version
Pause Version:
02-20-2017 03:28 PM
Jeff,
i didn't seek to express the FGV as a sub- vi though so that would address most of the points you raised. My intention ( which I achieved) was to get that code running continuously till stopped). Can you tell me how else to do that without an outer while loop with a stop button? As I understand an FGV will execute once until called again since it typically has a true constant wired to the while loop. Post a vi to illustrate. Also If you notice, there is a lot less code with this implementation ( less number of shift registers and "Get date and time in seconds" vi). Also i don't believe I used any "For" loops anywhere ( used while loops only) as you suggested . Will look into the "breaking of Error " as you mentioned. Thank you.
02-20-2017 04:12 PM - edited 02-20-2017 04:39 PM
02-20-2017 05:02 PM
It is completely anathema to have a "FGV" or Action Engine (the AE is closer to what you have, a FGV is usually only Read/Write) without several key components. Private Data Storage, (USR or FBN), "Methods" to act on the data, and a discrete Exit. Go back and read Ben's famous Action Engine Nugget. There is a good reason why it is the single most kudosed post outside of the Idea Exchange.