Labview Exam Flashcards

1
Q

Data Aquisition

A

The process of measuring an electrical or physical phenomenon with a computer

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

Signal Type: Analog

A

Signals that vary continuously (temperature)

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

Signal Type: Digital

A

Electrical signals that transfer binary data, such as on/off or true/false (switches)

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

Signal Type: Counter

A

Digital timing signal that includes characteristics of a digital signal that can be measured (event counting)

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

List the order of a DAQmx application process

CCSACC

A
C /reate task
C /onfigure task
S /tart task
A /cquire or generate data
C /lear task
C /heck for errors
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Hardware Connectivity

A

The physical cable connecting the instrument

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

Describe: Initialize

A

Establishes communication with the instrument

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

Describe: Configure

A

Software routines that configures the instrument to perform specific operations

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

Describe: Action/Status

A

Command the instrument to carry out an action or obtain the current status

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

Describe: Data

A

Transfer data to or from the instrument

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

Describe: Utility

A

Performs a variety of auxiliary operations; reset and self test

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

Describe: Close

A

Terminates the software connection to the instrument

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

What is a NI MAX?

A

A tool to configure and test DAQ devices AND test instrument communication

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

What are benefits of instrument control?

A

Automate processes AND improve productivity and repeatability

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

VISA is a high level API that calls low-level drivers.

True or False

A

True

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

Define Low-Level File I/O

A

Provides individual functions for each step in file I/O operations

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

Define File Refnums

A

Identify unique I/O sessions

18
Q

Define Streaming Data to Disk

A

Technique for keeping files open while you perform multiple write operations

19
Q

Define String Functions

A

Write data to text file, must first convert the data into sting type

20
Q

Define ASCII

A

Binary file that is standard used to by most programs. Also called text files

21
Q

Define LVM

A

Tab-delimited text file you can open with a spreadsheet application or a text-editing application

22
Q

Define Binary

A

Underlying file format of all other file formats

23
Q

Define TDMS

A

Binary file created for National Instruments products. Consists of two seperate files- binary file contains data and stories its properties and provides said information

24
Q

After opening a file, which output does the Open/Create/Replace File I/O function return?

A

Refnum out

25
Q

Which file format is best in an application that requires high-speed streaming?

A

TDMS

26
Q

Sequential Programming

A

Ensures the execution order of tasks

27
Q

State Machine

A

Has a while loop and case structure

28
Q

Sequence Structures

A

Contains one or more sub diagrams, or frames, that execute in sequential order

29
Q

State

A

Part of a program that satisfies a condition, performs an action or waits for an event

30
Q

Transition

A

Condition, action, or event that causes the program to move to the next state

31
Q

Event-based State Machine

A

Combine a user interface event handler with the transition ability of the state machine

32
Q

When using a sequential structure, you can stop the execution in the middle of a sequence?
True/False

A

False

33
Q

You can:
change the order of the sequence
repeat individual items in the sequence
set conditions to determine when an item should execute
stop the program at any point in the sequence

A

These are the benefits of using a state machine instead of a sequential structure

34
Q

Variables

A

Block diagram elements that access or store data in another location

35
Q

When to use a Local Variable

A

Initializing front panel controls or indicators
Write to controls
Keeping parallel loops parallel

36
Q

Draw back of variables

A

Less readable on block diagram
Limited boolean mechanical actions
Unexpected behavior in VI

37
Q

Race Condition

A

Occurs when the timing of events or the scheduling of tasks unintentionally affects an output or data value

38
Q

Race conditions commonly occur in programs that:

A

Execute multiple tasks in parallel
Share data
Have two tasks with both read and write access

39
Q

You should use variables in your VI whenever possible.

True/False

A

False

40
Q

When controlling resources, which combination(s) of writers and readers reduces the chance of race conditions?

A

One writer, one reader AND one writer, multiple readers