Create objects from a CSV file
Use a design-time script to create objects in your project based on a
CSV
file.Prerequisites
- Obtain or prepare aCSVfile that contains information about objects that you want to import into the project.TIP: TheCSVfile is a part of the sampleFactoryTalk Optix Studioproject. You can also download theCSVfile individually from: alarms.csv
- InProject view, selectAlarmImporter.
- InProperties, next toAbsoluteResourceUri, selectBrowse.
- Select aCSVfile that contains information about objects.Selectalarms.csv
- InProject view, right-clickAlarmImporterand selectExecute ImportAlarms.
- Variables are imported into theModelfolder.
- Alarms are imported into theAlarmsfolder.
Provide Feedback