Develop a solution for importing objects

This design-time script creates objects in the
FactoryTalk Optix Studio
project based on the data from a
CSV
file.
TIP:
You can download a sample project from:
ObjectsFromCSV.zip
Prerequisites
In the following example, the
CSV
file contains information about alarms and model variables used by these alarms.
variable,var1,boolean variable,var2,uint32 alarm,alarm1,digital,var alarm,alarm2,analog,var2
CSV
columns description
#1 column
#2 column
#3 column
#4 column
Indicates whether you need to create a project variable (keyword
variable
) or an alarm (keyword
alarm
).
Indicates the name of the node to be created.
Indicates the datatype to use to create the variable:
  • Digital (keyword
    digital
    )
  • Limit (keyword
    analog
    )
Indicates the variable to point the alarm to.
TIP: The
CSV
file is a part of the sample
FactoryTalk Optix Studio
project. You can also download the
CSV
file individually from: alarms.csv
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.