Strings, File I/O, Shift Register

0.0(0)
studied byStudied by 0 people
0.0(0)
full-widthCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/14

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

15 Terms

1
New cards

string

a sequence of displayable or non-displayable (ASCII) characters

2
New cards

string subset

-Returns the substring beginning at offset and containing length number of characters

-the first character is at offset zero

-Unprintable characters should be counted when determining the length input

3
New cards

String functions timeline

-Returns the matched substring

-the function searches for regular expression in the string input

-If it finds a match, the string is split into three parts:  

  •the match

  •the string before the match

  •the string after the match.

-When no match is found, offset past match returns a -1.

4
New cards

Build string express

function that converts inputs that are not a string into a string

5
New cards

Converting Strings to Numerics

-Converts the input string containing valid numeric characters to individual numbers.

-Format string can specify multiple outputs with differing data types (numeric, Boolean, etc.).

-The function can be stretched out to add more output terminals.

6
New cards

File Input and Output

can be done in LabVIEW using VIs and functions

7
New cards

string functions (2)

used to edit and manipulate strings on the block diagram

8
New cards

Scan From String function

used to convert a string to a numeric.

9
New cards

creating or editing a format string

Right-click the Format Into String or Scan From String function and select Edit Format String or Edit Scan String from the shortcut menu

10
New cards

to handle all aspects of file I/O

Use the File I/O VIs and functions

11
New cards

When writing and reading a file

you open, create, or replace a file, write the data, and close the file

12
New cards

To access a file through a dialog box

do not wire file path in the Open/Create/Replace File VI

13
New cards

To write data to a spreadsheet file

you must format the string as a spreadsheet string, which is a string that includes delimiters, such as tabs. Use the Format Into File function to format string, numeric, path, and Boolean data as text and write the text to a file

14
New cards

Shift registers

transfer data values from one iteration to the next

15
New cards