Labview 3 test Flashcards

1
Q

Name three simple design patterns

A
  • Can perform calculations and make measurements
  • Does not require a specific start or stop action
  • Can convert simple VIs into subVIs
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Name four types of simple design patterns

A
  • Simple VI pattern
  • General VI pattern
  • State Machine
  • Event-based state machine
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Define the producer/consumer design pattern

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Define the functional global variable

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Design Pattern order

A
  • State machine
  • Functional global variable
  • Simple
  • General
  • Producer/ consumer
  • State Machine and Consumer
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

General design pattern

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Producer/ Consumer Data

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Producer/Consumer Events

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Simple Error Handler VI (?!)

A

Displays a dialog box with error information

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

General Error Handler VI (?!+)

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

State Machine Error Handler

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Error Ring

A

idk lol

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Define software control timing

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

List two reasons to use multiple loop patterns

A
  • Execute multiple tasks concurrently

- Execute tasks at different rates

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

List two reasons to use multiple loop patterns

A
  • Execute multiple tasks concurrently

- Execute tasks at different rates

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

List two examples of error handling code

A
  • Displays a dialog box when an error occurs

- Transitions a state machine to a shutdown state