Professional Documents
Culture Documents
Bme-333: Clinical Laboratory Instrumentation Lab 2 Logical Operations and Case Structures in Labview
Bme-333: Clinical Laboratory Instrumentation Lab 2 Logical Operations and Case Structures in Labview
Lab 2
Logical Operations and Case Structures in LabVIEW
Lab goals:
• To perform logical operations
• Demonstrate the use of case structures
In this lab you are expected to apply your learnings from lab1 and incorporate those
learnings with the use of logical operations as well as case structures. A set of logical
operations readily available to you are listed on the next page.
Exercises:
1. Create a new vi project and save it in Lab2 folder within the folder of your name
2. Set up two switches and perform a logical OR operation with them, displaying the
result appropriately.
3. Set up a simple Boolean case structure such as the one shown above.
4. Create a system with case structures such that two switches perform logical OR
operation when the case structure is in TRUE state and a logical AND of the same
inputs when the case structure is in the FALSE state.
5. Repeat 4 but instead of True and False, use cases 0,1,2,3 to implement AND, OR,
NOT, NAND logical operations