- Manuale introduttivo
- Utilizzo del software
- OPC UA
- Oggetti grafici e di layout
- Sessioni e impostazioni locali
- Sviluppo di soluzioni
- Sviluppo di progetti con C#
- NetLogic
- Metodi ed eventi in C#
- Riferimento API C#
- Esempi di applicazione
- Esercitazione dell'interfaccia utente
- Esercitazione sui collegamenti dinamici
- Esercitazione sui logger
- Esercitazione sugli allarmi
- Esercitazione sulle NetLogic
- Riferimento su oggetti e variabili
Develop a NetLogic that creates objects from a CSV file
This design-time script creates objects in the
FactoryTalk Optix Studio
project based on the data from a CSV
file.
SUGGERIMENTO:
You can download a sample project from:
ExampleApplication-ObjectsFromCSV.zipPrerequisites:
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
#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:
| Indicates the variable to point the alarm to. |
SUGGERIMENTO:
The
CSV
file is a part of the sample FactoryTalk Optix Studio
project. You can also download the CSV
file individually from: alarms.csvFornire un feedback