
Main Block Diagram code
This is the LabVIEW block diagram of the entire program. Well, not quite the whole program, but this is the top layer of the many software modules that make up the program (over 100).
The left frame holds initialization code that is executed at the start of the program, the middle frame is an event loop that monitors for user interaction, and the right-hand frame contains code that is executed at shutdown. The lower middle frame is a loop that blinks a flasher once a second, to remind the user that the program is idling, waiting for their selection.
In the middle frame we used enumerated constants to help label the different choices available to the user. In this case, the Synthesis subVI is visible. The user would get to the Synthesis subVI by clicking the "Synth" button on the main panel, this button is held in a cluster of other buttons. The program converts that cluster to a boolean aray and searches the array for a "true" element. The index of the true element determines the frame of the case statement that is accessed.
The current Protocol and Sequence files are indicated, if any have been selected.
Back to Paper