Labview 3 test Flashcards Preview

LabVIEW > Labview 3 test > Flashcards

Flashcards in Labview 3 test Deck (16):
1

Name three simple design patterns

- Can perform calculations and make measurements
- Does not require a specific start or stop action
- Can convert simple VIs into subVIs

2

Name four types of simple design patterns

- Simple VI pattern
- General VI pattern
- State Machine
- Event-based state machine

3

Define the producer/consumer design pattern

It separates tasks that produce and consume data at different rates. Used to acquire multiple sets of data that must be processed in order

4

Define the functional global variable

A non-reentrant VI that uses uninitialized shift register to hold global data

5

Design Pattern order

- State machine
- Functional global variable
- Simple
- General
- Producer/ consumer
- State Machine and Consumer

6

General design pattern

Use: subroutine in other programming languages
Advantage: modular applications
Disadvantage: not suitable for user-interface design

7

Producer/ Consumer Data

Use: analyzes data in parallel with other analysis
Advantage: buffered communication between apps
Disadvantage: no loop synchronization

8

Producer/Consumer Events

Use: responds to user interface with intense-apps
Advantage: separated user interface from intensive code
Disadvantage: does not integrate non-user interface

9

Simple Error Handler VI (?!)

Displays a dialog box with error information

10

General Error Handler VI (?!+)

Same functionality as the Simple Error Handler VI, except it allows you to custom errors

11

State Machine Error Handler

Transitions the state machine to an error or shutdown state when an error occurs

12

Error Ring

idk lol

13

Define software control timing

Code that involves timing a real-world operation to perform within a set time period or controls the frequency at which a loop executes

14

List two reasons to use multiple loop patterns

- Execute multiple tasks concurrently
- Execute tasks at different rates

15

List two reasons to use multiple loop patterns

- Execute multiple tasks concurrently
- Execute tasks at different rates

16

List two examples of error handling code

- Displays a dialog box when an error occurs
- Transitions a state machine to a shutdown state