LabVIEW

Ace your homework & exams now with Quizwiz!

What is the output of the Build Array function in the following block diagram when Concatenate Inputs is selected? {1, -4, 3} {7, -2, 6} 이렇게 2개 연결

1-D Array of {1, -4, 3, 7, -2, 6}

What is the result of the following Array addition? {80,20} + {40,10,-60}

1-D Array of {120, 30}

What is the value of the i-variable after the VI has stopped? After running 19 times

19

For Loop N linked to '20', For Loop will run for how many times?

20

Which of the following statements is false?

A SubVI icon can be edited from the functions palette

A coercion dot indicates that:

A data buffer is created to handle data conversion

Which of the following illustrates an advantage of a global variable over a local variable?

A global variable can pass data between two independent VIs running simultaneously

What is a cluster?

A multi-variable containing different variables having various data types

Which of the following will cause an event to be captured by the LabVIEW Event Structure?

Changing a value on a Front Panel control via a mouse click

Suppose you will have a realtime plot (being continuously updated) on the front panel. Which kind of plotting indicator would you use?

Chart

You have a control on the front panel of a VI and you need to modify one of its properties at run time. Which of the following is the best approach you would take?

Create an implicit property node and select the property to modify Implicit property node can only work with the current app ref, with the current VI and with controls or indicators

Which limitations exist for using DataSocket to distribute data over a network?

It can be used on the Internet.

Which of the following graphics formats can not be used on a front panel?

JPG

Which operations can not be used in Formula Node?

Linear Algebraic Operations

You develop a SubVI that only outputs a value and need to use this SubVI in a (calling) VI. Which of the following is the best way to enforce dataflow to control the execution of the SubVI?

Modify the SubVI to have Error clusters that can be used from the calling VI

Can a wire be used to pass data between loops that are intended to run in parallel?

No

You customize a control, select Control from the Type Def. Status pull-down menu, and save the control as a .ctl file. You then use an instance of the custom control on your front panel window. If you open the .ctl file and modify the control, does the control on the front panel window change?

No

Which of the following cannot be used to transfer data?

Semaphores - A semaphore is a way to limit the number of tasks that can simultaneously operate on a shared (protected) resource. A protected resource or critical section of code might include writing to global variables or communicating with external instruments. A semaphore is similar to a mutex (Mutual exclusion object) in other programming languages. The main difference is that a Queue is a FIFO and a Notifier is a single value. So a Queue is typically used for a Many-to-One communication (many writers and 1 reader) while a Notifier is typically used for a One-to-Many communication (1 writer, many readers).

The following block diagram represents which common type of VI architecture?

State Machine VI

What can you use a shift-register for?

Store former values of a variable

You must store data that other engineers must analyze with Microsoft Excel. Which file storage format should you use?

Tab-delimited ASCII Tab-delimited ASCII files are simple spreadsheets produced by a text editor, with the columns delimited by tabs and rows, by carriage returns. The first row is usually occupied by column headings.

What does it mean that FieldPoint is a distributed I/O-system?

That the I/O-channels are distributed - away from the computer

Which of the following statements is true about the following block diagram? It had "Continue if TRUE" connected to TRUE

The loop will execute infinitely and the program will have to be aborted

How many global variables can be stored in one single Global VI?

There is no limit

What can you use the MAX-program for?

To configure I/O-cards by National Instruments

What is the purpose of a LLB-file?

To store the VIs of an application as one single file, for easy distribution of the application

The most efficient method for creating an array is:

Using a For loop with Auto-indexing

Which is the preferred method of exchanging data between different while-loops in a diagram?

Using local variables

Which of the following is the best method to update an indicator on the front panel?

Wire directly to the indicator terminal

Which of the following document formats is not available when creating documentation automatically via the File / Print-menu?

Word

Which of the following statements is true?

You must have an icon/connector to use a SubVI A SubVI connector pane defines where to wire inputs and outputs The color of a SubVI connector pane terminal matches the data type it is connected to

What determines the program order of execution of code in LabVIEW?

data flow

Which of the following expressions are correct if used in Formula Node:

y=a+b;

You are inputting data that represents a circle. The circle data includes an x position, a y position, and a radius. All three pieces of data are double-precision. In the future, you might need to store the color of the circle, represented as an integer. How should you represent the circle on your front panel window?

A type definition containing a cluster.

Which kind of data is avaliable at the terminal point of the signal line in the VI-diagram?

An array of numerical data

If an input name on the Show Context Help window is in bold for a SubVI, which of the following conditions are true?

An input is required AND a broken run arrow will result unless the input is wired

What is one disadvantage of using the State Machine VI architecture?

If two state changes occur at the same time, only the first state change will be handled and the second will be lost

Which of the following has no workspace in which the variables are stored as long as the VI runs?

Formula node

Which timing function (VI) is the best choice for timing control logic in applications that run for extended periods of time?

Get Date/Time in seconds


Related study sets

Neurobiology of Eating and Eating Disorders Midterm 2

View Set

Anatomy Unit 2: Top Hat Practice Questions

View Set

Quiz 3: Segmentation and Targeting

View Set

Understanding Psychology Chapter 3 Vocab

View Set

Microeconomics 153 Chapter 4 Test

View Set