Contents
© National Instruments Corporation vii LabWindows/CVI Standard Libraries
Integer Array to Binary File, Assuming a Fixed
Number of Elements.............................................................................2-54
Real Array to Binary File, Assuming a Fixed
Number of Elements.............................................................................2-54
Real Array to Binary File, Assuming a Variable
Number of Elements.............................................................................2-55
A Variable Portion of a Real Array to a Binary File............................2-55
Concatenating Two Strings..................................................................2-56
Appending to a String ..........................................................................2-56
Creating an Array of File Names .........................................................2-57
Writing a Line Containing an Integer with Literals to
the Standard Output..............................................................................2-58
Writing to the Standard Output without
a Linefeed/Carriage Return..................................................................2-58
Scan/ScanFile/ScanIn Examples in C..............................................................2-59
String to Integer....................................................................................2-59
String to Long Integer..........................................................................2-60
String to Real........................................................................................2-60
String to Integer and Real.....................................................................2-61
String to String.....................................................................................2-62
String to Integer and String..................................................................2-63
String to Real, Skipping over Non-Numeric Characters
in the String..........................................................................................2-63
String to Real, After Finding a Semicolon in the String......................2-64
String to Real, After Finding a Substring in the String........................2-64
String with Comma-Separated ASCII Numbers to Real Array ...........2-65
Scanning Strings That Are Not NUL-Terminated ...............................2-65
Integer Array to Real Array..................................................................2-66
Integer Array to Real Array with Byte Swapping................................2-66
Integer Array Containing 1-Byte Integers to Real Array.....................2-66
String Containing Binary Integers to Integer Array.............................2-67
String Containing an IEEE-Format Real Number
to a Real Variable.................................................................................2-67
ASCII File to Two Integers with Error Checking................................2-68
ASCII File with Comma Separated Numbers to Real Array,
with Number of Elements at Beginning of File................................... 2-68
Binary File to Integer Array, Assuming a Fixed
Number of Elements.............................................................................2-69
Binary File to Real Array, Assuming a Fixed Number of Elements....2-69
Binary File to Real Array, Assuming a Variable
Number of Elements.............................................................................2-69
Reading an Integer from the Standard Input........................................2-70
Reading a String from the Standard Input............................................2-70
Reading a Line from the Standard Input..............................................2-71