Snippet of Coupling Block Diagram code


This picture shows one section of the complex block diagram that handles the Couple protocol step. This is the step in which an amidite (G, C, A, or T) is added to the existing sequence of bases. Each amidite might have a unique flow rate, and this diagram searches through the amidites which are to be used, calculates the period to flow through each nozzle, and turns on each nozzle.

The next step, seen in the central frame, is to get the current time and build an array that will tell us which amidites have finished flowing. The program then sits in a loop and turns off solenoids according to the set of times that was created in the first frame. The loop finishes when all active nozzles have been turned off.

This diagram demonstrates the left-to-right program flow that is common to most LabVIEW block diagrams. This convention aids any programmer who will look at the code later on.

Back to Paper