Hi all,
I am working with an existing VI that we use for fatigue testing. I am trying to refine it to eliminate some of the local and global variables and came across the information on here that sequence structures should also be avoided. I am confused as to how I might impliment a state machine or similar structure within my VI and was hoping that some of the more experienced users could help me out. The VI works fine though it is slow to obtain the initial readings from the DAQ board. I am just trying to do all I can to optimize it since it will need to run for days at a time on a Pentium II with a whopping 128 megs of ram. I'd really like to blow it up and start over but I lack the knowledge and the time to do extensive trial and error work. If any of you can just point me in the right direction and offer some suggestions for altering the data flow, I would greatly appreciate it. I'm pretty new at this so please be gentle.
Also, I am trying to impliment something to save the data to a file every x number of times a peak has been detected but haven't been able to successfully impliment that. I'd appreciate any suggestions on how to accomplish that as well.
Thanks in advance for any help you can provide, and sorry for the length of the questions!
The first VI is the intial startup, which allows the user to get to the setup VI, which then allows the user to use the main fatigue tester VI.