Data Logging Controls

NI Vision Builder

Use Additional Tools

Data Logging Controls

The following control is located on the property page for the step.

Control Name Description
Step Name Name to give the step.

Measurements Logged Tab

The following controls are available on the Measurements Logged tab.

Control Name Description
Measurements The measurements and variables available for logging.
Log All Measurements All of the measurements selected in Measurements Selection are logged when the step executes.
Log Measurements Only When Inspection Fails Measurements selected in Measurements Selection are logged if the current state fails when the step executes.

Destination Tab

The following controls are available on the Destination tab.

Control Name Description
Log Location Specifies the location of the computer where the results are saved. The following options are available:

Log to Local Drive

Control Name Description
Local Path The file path to the directory where you want to save the measurement results.
File Name If Single File is selected, File Name is the name of the log file. If Multiple Files is selected, File Name is used as a prefix before the time stamp in the log file name.
File Type Specifies the format of the log file. The following options are available:
  • Tab Delimited Text File
  • Comma Separated Value File
Substitute on Fail Specifies a string value to log when a measurement is not available. You can use \ codes to format the string or enter non-printable characters.
Single File One data log file is created for all measurement results.
Multiple Files Data log files are created at regular intervals. If you select to create multiple log files, you must specify how often to create a new log file using the Start a New Log File Every controls.
Overwrite any file(s) created prior to this inspection before logging data When enabled, existing log files with the same name will be overwritten. Otherwise, the latest measurement results are appended to the existing log file.

Log to FTP Server

Control Name Description
IP Address IP Address or network address (FTPServerName) of the FTP server where you want to save the measurement results.
User Name Name to use to log onto the FTP server.
Password Password to use to log onto the FTP server.
Test Login Verifies that the specified User Name and Password successfully log on to the FTP Server specified by IP Address.
Folder Path The file path to the directory where you want to save the measurement results.
File Name If Single File is selected, File Name is the name of the log file. If Multiple Files is selected, File Name is used as a prefix before the time stamp in the log file name.
Log as a Background Task When enabled, allows the data logging process to be performed as a background task to allow the inspection to continue while data is being logged to the specified FTP server.
File Type Specifies the format of the log file. The following options are available:
  • Tab Delimited Text File
  • Comma Separated Value File
Substitute on Fail Specifies a string value to log when a measurement is not available. You can use \ codes to format the string or enter non-printable characters.
Single File One data log file is created for all measurement results.
Multiple Files Data log files are created at regular intervals. If you select to create multiple log files, you must specify how often to create a new log file using the Start a New Log File Every controls.
Overwrite any file(s) created prior to this inspection before logging data When enabled, existing log files with the same name will be overwritten. Otherwise, the latest measurement results are appended to the existing log file.

Send Data to TCP Device

Control Name Description
Device Name TCP device where you want to send the data.
Timeout Number of milliseconds to wait before timing out.
Header Specifies the string used to identify the beginning of the measurement data.
Footer Specifies the string used to identify the end of the measurement data.
Include Labels When enabled, the label associated with each measurement value is included.
Substitute on Fail Specifies a string value to log when a measurement is not available. You can use \ codes to format the string or enter non-printable characters.
Separator Specifies the character used to separate measurement values.