Importing Shared Variable Configuration from a Spreadsheet
- Updated2025-08-15
- 1 minute(s) read
Shared variables contain configuration information, such as the data type and variable type. Complete the following steps to import shared variable configuration information from a spreadsheet file.
Note If you enable the initial value of a string shared variable, ensure that you specify the initial value in the spreadsheet file. LabVIEW returns an error if you import a string shared variable whose initial value is enabled but not set or empty.
- Export shared variable configuration to a .csv file.
- In a spreadsheet application, open the .csv file and modify the properties.
- In LabVIEW, right-click the project library to which you want to import the configuration and select Import Variables from the shortcut menu.
- Select the .csv file from the CSV to import dialog box and click the OK button.
|
Note (DSC Module) If the description of a shared variable contains line breaks and you export the configuration information for that shared variable to a spreadsheet, the line breaks are converted to spaces. When you import that shared variable configuration information back to a project library, the resulting description contains spaces instead of line breaks. |