Writes a 2D or 1D array of single-precision numbers (SGL) to a new byte stream file begin or appends the data to an existing file. The VI opens or creates the file before writing to it and closes it afterwards. You can use this VI to write scaled data from Data Acquisition VIs without changing the representation. Use this VI with floating-point numbers.
![]() |
file path is the path name of the file. If file path is empty (default) or is Not A Path, the VI displays a dialog box from which you can select a file. Error 43 occurs if you cancel the dialog box. |
![]() |
2D array contains the single-precision numbers the VI writes to the file if 1D array is not wired or is empty. |
![]() |
1D array contains the single-precision numbers the VI writes to the file if this input is not empty. |
![]() |
append to file? indicates whether to append the data to an existing file. If TRUE, the VI appends data to an existing file. If FALSE, the VI replaces data in an existing file. If there is no existing file, the VI ignores the value of append to file? and creates a new file. |
![]() |
new file path returns the path to the waveform file. |