Export Waveforms To Spreadsheet File

Converts a waveform to a text string and writes the string to a new byte stream file or appends the string to an existing file. You optionally can transpose the data. This VI opens or creates the file beforehand and closes it afterwards. You can use this VI to create a text file readable by most spreadsheet applications. You can use this polymorphic VI to convert a 1D array of waveforms, a 2D array of waveforms, or a single waveform to a text string. The data type you wire to the Waveform input determines the polymorphic instance to use.

Export Waveforms To Spreadsheet File (1D)

delimiter is the character or string of characters, such as tabs, commas, and so on, to use to delimit fields in the spreadsheet file. The default is a single tab character.
prompt is the prompt of the file save dialog if the file path is empty. The default is Choose file to write.
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.
Waveforms is the waveforms to export to the spreadsheet file.
error in describes error conditions that occur before this VI or function runs. The default is no error. If an error occurred before this VI or function runs, the VI or function passes the error in value to error out. This VI or function runs normally only if no error occurs before this VI or function runs. If an error occurs while this VI or function runs, it runs normally and sets its own error status in error out. Use the Simple Error Handler or General Error Handler VIs to display the description of the error code. Use error in and error out to check errors and to specify execution order by wiring error out from one node to error in of the next node.
status is TRUE (X) if an error occurred before this VI or function ran or FALSE (checkmark) to indicate a warning or that no error occurred before this VI or function ran. The default is FALSE.
code is the error or warning code. The default is 0. If status is TRUE, code is a non-zero error code. If status is FALSE, code is 0 or a warning code.
source describes the origin of the error or warning and is, in most cases, the name of the VI or function that produced the error or warning. The default is an empty string.
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.
If Header? is TRUE, the VI transposes the data before converting it to a string. The default is FALSE.
new file path is the path of the file to which the VI wrote data. You can use this output to determine the path of a file that you opened using a dialog box. new file path is Not A Path if you cancelled the dialog box.
error out contains error information. If error in indicates that an error occurred before this VI or function ran, error out contains the same error information. Otherwise, it describes the error status that this VI or function produces. Right-click the error out indicator on the front panel and select Explain Error from the shortcut menu for more information about the error.
status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred.
code is the error or warning code. If status is TRUE, code is a non-zero error code. If status is FALSE, code is 0 or a warning code.
source describes the origin of the error or warning and is, in most cases, the name of the VI or function that produced the error or warning.

Export Waveforms To Spreadsheet File (2D)

delimiter is the character or string of characters, such as tabs, commas, and so on, to use to delimit fields in the spreadsheet file. The default is a single tab character.
prompt is the prompt of the file save dialog if the file path is empty. The default is Choose file to write.
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.
Waveforms is the waveforms to export to the spreadsheet file.
If multiple time columns? is TRUE, the VI writes separate time columns for each separate channel written to the file. If FALSE, a single time column represents the same time range for all waveforms written to the file.
error in describes error conditions that occur before this VI or function runs. The default is no error. If an error occurred before this VI or function runs, the VI or function passes the error in value to error out. This VI or function runs normally only if no error occurs before this VI or function runs. If an error occurs while this VI or function runs, it runs normally and sets its own error status in error out. Use the Simple Error Handler or General Error Handler VIs to display the description of the error code. Use error in and error out to check errors and to specify execution order by wiring error out from one node to error in of the next node.
status is TRUE (X) if an error occurred before this VI or function ran or FALSE (checkmark) to indicate a warning or that no error occurred before this VI or function ran. The default is FALSE.
code is the error or warning code. The default is 0. If status is TRUE, code is a non-zero error code. If status is FALSE, code is 0 or a warning code.
source describes the origin of the error or warning and is, in most cases, the name of the VI or function that produced the error or warning. The default is an empty string.
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.
If Header? is TRUE, the VI transposes the data before converting it to a string. The default is FALSE.
new file path is the path of the file to which the VI wrote data. You can use this output to determine the path of a file that you opened using a dialog box. new file path is Not A Path if you cancelled the dialog box.
error out contains error information. If error in indicates that an error occurred before this VI or function ran, error out contains the same error information. Otherwise, it describes the error status that this VI or function produces. Right-click the error out indicator on the front panel and select Explain Error from the shortcut menu for more information about the error.
status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred.
code is the error or warning code. If status is TRUE, code is a non-zero error code. If status is FALSE, code is 0 or a warning code.
source describes the origin of the error or warning and is, in most cases, the name of the VI or function that produced the error or warning.

Export Waveform To Spreadsheet File

delimiter is the character or string of characters, such as tabs, commas, and so on, to use to delimit fields in the spreadsheet file. The default is a single tab character.
prompt is the prompt of the file save dialog if the file path is empty. The default is Choose file to write.
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.
Waveform is the waveform to export to the spreadsheet file.
If multiple time columns? is TRUE, the VI writes separate time columns for each separate channel written to the file. If FALSE, a single time column represents the same time range for all waveforms written to the file.
error in describes error conditions that occur before this VI or function runs. The default is no error. If an error occurred before this VI or function runs, the VI or function passes the error in value to error out. This VI or function runs normally only if no error occurs before this VI or function runs. If an error occurs while this VI or function runs, it runs normally and sets its own error status in error out. Use the Simple Error Handler or General Error Handler VIs to display the description of the error code. Use error in and error out to check errors and to specify execution order by wiring error out from one node to error in of the next node.
status is TRUE (X) if an error occurred before this VI or function ran or FALSE (checkmark) to indicate a warning or that no error occurred before this VI or function ran. The default is FALSE.
code is the error or warning code. The default is 0. If status is TRUE, code is a non-zero error code. If status is FALSE, code is 0 or a warning code.
source describes the origin of the error or warning and is, in most cases, the name of the VI or function that produced the error or warning. The default is an empty string.
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.
If Header? is TRUE, the VI transposes the data before converting it to a string. The default is FALSE.
new file path is the path of the file to which the VI wrote data. You can use this output to determine the path of a file that you opened using a dialog box. new file path is Not A Path if you cancelled the dialog box.
error out contains error information. If error in indicates that an error occurred before this VI or function ran, error out contains the same error information. Otherwise, it describes the error status that this VI or function produces. Right-click the error out indicator on the front panel and select Explain Error from the shortcut menu for more information about the error.
status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred.
code is the error or warning code. If status is TRUE, code is a non-zero error code. If status is FALSE, code is 0 or a warning code.
source describes the origin of the error or warning and is, in most cases, the name of the VI or function that produced the error or warning.