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.MANCIA: TheCSVfile is a part of the sampleFactoryTalk Optix Studioproject. You can also download theCSVfile individually from: alarms.csv
- In theProject viewpane, selectAlarmImporter.
- In thePropertiespane, next toAbsoluteResourceUri, selectBrowse.
- Select aCSVfile that contains information about objects.Selectalarms.csv
- In theProject viewpane, right-clickAlarmImporterand selectExecute ImportAlarms.
- Variables are imported into theModelfolder.
- Alarms are imported into theAlarmsfolder.
Fornire un feedback