Chapter 2-1 Flashcards

1
Q

Why are local variables not good for passing every data point?

A

It is possible to miss or duplicate data points

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

What created the queue before the loops begin and defines the data type for the queue?

A

Obtain Queue (1)

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

What adds data to the queue?

A

Enqueue Element (2)

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

What removes data from the queue and does not execute until data is available in queue?

A

Dequeue Element (3)

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

What releases the queue?

A

Release queue (4)

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

Benefit of using a queue?

A

Loop sync,
Removes possibility of losing data
Do not use data polling

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

What are functions that suspend the execution of a block diagram until they receive data from another section of the block diagram or from another VI running in the same application instance?

A

Notifier

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

What buffers data?

Notifiers, Queues, Local Variables?

A

Queues

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

What can broadcast data to multiples loops?

Notifiers, Queues, Local Variables?

A

Notifiers

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

What creates the notifier before the loop begins and defines the data type for the notifier

A

Obtain Notifier (1)

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

What sends a message to all functions waiting on notifier?

A

Send Notification (2)

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

What waits until the notifier receives a message?

A

Wait on Notification (3)

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

What releases the notifier?

A

Release Notifier (4)

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

What are valid data types for queues and notifiers?

String, numeric, enum, array of booleans, cluster of a string and numeric?

A

String, numeric, enum, array of booleans, cluster of a string and numeric

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

Use Case:

Transfer latest data?

A

Local/Global Variables

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

Use Case:

Transfer every point of data?

A

Queues

17
Q

Use Case:

Transfer latest data to multiple loops that are waiting on notification?

A

Notifiers

18
Q

Can Local/Global Variables have data read by multiple loops?

A

Yes

no buffer or suspend execution

19
Q

Can Notifiers have data read by multiple loops?

A

Yes

no buffer but can suspend execution

20
Q

Can Queues have data read by multiple loops?

A

No

can buffer and suspend execution