Register an FT Optix Connector
This topic describes the steps to register and configure an FT Optix connector for FT Optix data to egress to FactoryTalk DataMosaix.
Prerequisites
- A project is created using FactoryTalk DataMosaix.
- FactoryTalk Optix Studio and FactoryTalk Optix DataMosaix Connector (FT DataMosaix_Optix_Connector.msi file) are installed on your system.
NOTE:
Make sure that the
FTDM-FTOptix FTDataMosaix Connector
feature is enabled in the Manage Access > Features tab. For more information, refer to Enable or Disable Features.Register an FT Optix Connector
- On the Management Console, select theExtractor Infotab.The Extractor Listing page is displayed.
- Click the Add [] icon.TheExtractor Info Detailpage is displayed.
- In theGeneral Infosection, provide a unique name for your Extractor in theSource Namefield. The Source Name works as the identifier for your extractor. You can search for an extractor using the Source Name. By default, DataMosaix populates a source name.Source Name example: EXT_1406230728_createproject_v1.Here, EXT stands for the extractor, 140623 is the date in ddmmyy format, 0728 is the timestamp in hhmm format, and createproject_v1 is the project in which you are currently working. You can use the default source name or create your own.
- (Optional) Provide the location details. It can help you identify an extractor when you have many extractors for different plants/sites/locations.
- From theAssociated Rolesdrop-down list, select at least one role. You can refer to various roles and capabilities by clickingRole Reference.NOTE:The Associated Roles drop-down is visible and available only for Project Admin users or users within the Organization with a Project Admin Role assigned.You can select multiple roles from the Associated Roles drop-down list. In the search bar, you can search for any specific role from the list. If you want to apply all the roles to the application, select theSelect Allcheckbox.Next, you can select a pipeline or create a new pipeline. When you create a new pipeline, you have the option of selecting from an existing dataset or creating a new dataset.
- In thePipeline Namefield, search for a specific pipeline by entering the first characters and select a pipeline. On selecting a pipeline, the Pipeline External ID and Dataset Name fields are generated.To create a new pipeline, select the+ Create Pipelineoption.The Create Pipeline dialog box is displayed.
- Provide the following Pipeline information to create a new pipeline:
- Pipeline Name
- Pipeline External ID
- Pipeline Description (Optional)
- When you create a pipeline, you can either select an existing dataset or create a new dataset. Select a Dataset from theDataset Namesearch field, if you want to use an existing Dataset.If you choose to create a new Dataset, the Dataset-related fields will be displayed. Provide the following dataset information:
- Dataset Name
- Dataset Description
- ClickAdd. Based on the options you choose (select or create), the Pipeline and Dataset information is either populated or created and displayed on the Extractor Info Detail page.
- In theSource Infosection, select the source type of extractor asFT OPTIX.NOTE:
- ClickGet FactoryTalk Optixlink to download or open the release build of FactoryTalk Optix.
- ClickGet FactoryTalk Optix DataMosaix Connectorto view the PCDC portal and download the installer file.
- ClickWhat else should be done in FactoryTalk Optix to connect to DataMosaix?to view theRegister an FT Optix Extractorsection in the online help documentation.
- ClickSave and Apply.TheGenerated info Saveddialog box is displayed and it contains the configuration information. You can view the configuration file details by clickingView generated configuration file. Alternatively, you can also copy and save the information for future use by clickingCopy All. ClickDownloadto download the config.yml file that includes all the configuration information that you can use to run the extractor.
- ClickDownload.Theconfig.ymlfile is downloaded in the Downloads folder of your local machine.NOTE:The user can view theApplication Id,Client secret,pipeline-id, anddatasetidin theconfig.ymlfile.
- ClickCloseto close the pop-up window.The new extractor is displayed under Extractor Listing.
- Perform the following steps to addEnvironment Variablein theconfig.ymlfile:IMPORTANT: For security reasons, it is recommended to move the client secret from theconfig.ymlfile to the User Environment Variable.NOTE:TheEnvironment Variableis only accessible in Windows environment, not in Optix Panel. For Optix panel, use the defaultconfig.ymlfile generated by FactoryTalk DataMosaix.
- Go to Windows search and search forEnvironment Variable.
- ClickEdit the system environment variables.TheSystem Propertieswindow is displayed.
- Navigate toAdvanced>Environment Variables....TheEnvironment Variablesdialog box is displayed.
- ClickNew.TheNew User Variabledialog box is displayed.
- Provide the following details:
- Variable name: Provide variable name asoptix-connector-secret.
- Variable value: Refer to the client secret from theconfig.ymlfile.
- ClickOK.
- Delete the client secret from theconfig.ymlfile.
- Uncomment thesecret: ${optix-connector-secret}line and save the file.
Configuring FT Optix to Connect to DataMosaix
Make sure that you have installed the FactoryTalk Optix Studio application on your system. Once you select the source type as FT Optix in the Source Info section, a link to download the application will appear (Get FactoryTalk Optix). You can also download the FactoryTalk Optix Studio from FactoryTalk Hub. For more information on installation, refer to Install FactoryTalk Optix Studio.
- Launch the FactoryTalk Optix Studio application.
- If the user wants to open an existing FT Optix project, click any project from theRecent projectssection. Or
- If the user wants to open a new FT Optix project, ClickNew[+].
- Provide theNameandLocationdetails.
- ClickCreate.
Install FT Optix - DataMosaix Connector
On the Extractor Info Detail page, once you select the source type as FT Optix in the Source Info field, a link to download the Optix connector (Get FactoryTalk Optix DataMosaix Connector) is displayed, which you can use to download the Optix-DataMosaix connector installer file.
- Download the Optix DataMosaix connector installer file (FTDataMosaix_Optix_Connector.msi) from the Product Compatibility and Download Center (PCDC). Also, you can use this link to download the connector.
- Right-click on the FTDataMosaix_Optix_Connector.msi file and chooseRun as Administratorto begin the installation.TheSOFTWARE AND CLOUD SERVICES AGREEMENTdialog box is displayed.
- Read the license agreement and select theI accept the terms in the License Agreementcheckbox and then clickInstall.By default, the installation takes place in the following location: C:\Program Files\Rockwell Automation\FTDataMosaix_Optix_Connector
- Once the installation is complete, the ‘Completed the FTOptix_DataMosaix_Connector Setup Wizard’ screen is displayed. ClickFinishto close the installation window.After the installation is completed successfully, a shortcut to the ‘FactoryTalk Optix - DataMosaix Connector Setup’ will be created on your desktop.
- Double-click on theFactoryTalk Optix - DataMosaix Connector Setupto open it.The 'FactoryTalk Optix - DataMosaix Connector Setup' window is displayed.NOTE:If you see a message about needing .NET to run the setup, download and install the latest version.
- Specify the exact location of the Optix project by clickingBrowseand provide the project folder path.
- ClickDeploy Connector.Upon successful completion, you will see a dialog box stating'Configuration Completed. Click on Browse Another if you want to configure the connector for another project'.
- (Optional) ClickBrowse Anotherto configure the connector for another Optix project.
NOTE:
After setting up the FT Optix - DataMosaix connector, you must restart the FT Optix application for changes to take effect.
Configuring FT Optix to Connect to DataMosaix – Continuation
- Restart the FT Optix Studio and open the project.
- If you have installed the connector file in the exact location of your Optix project, an FT DataMosaix Store will be created in the FT Optix DataStore. To view it, navigate to theProject view>DataStoresand click on it to view all the stores created within.
- Select theFTDataMosaixStoreto view the Properties pane.
- In thePropertiespane, provide the following information:
- PushInstance- Provide the instance which needs to be pushed to the Cognite.
- ConfigFolderPath- Provide the exact path to the downloaded config.yml file.NOTE:Ensure that the file name 'config.yml' remains unchanged, as altering it may result in failure.
- To run the emulator, in the main toolbar, click Run on Emulator []The NetLogic security warning dialog box is displayed.
- ClickProceed.The project will get saved, and the application will initiate deployment and run the project. The following actions will take place automatically:
- Asset creation.
- Subscribe to tags.
- Creation of flexible data model.
Tip: In the bottom left corner, navigate toEmulator Output>Messagesto view the status of actions with the timestamp details.
To Run the Optix Project in Optix Panel Runtime
To run the Optix project in the Optix Panel runtime, the user needs to configure the Optix Panel in FT Optix. Perform the following steps to configure the Optix Panel in FT Optix:
- Click theEmulatordrop-down list and clickLocal.
- Click the [+] icon to add new target device.
- Provide the following details:
- Name: Provide name of the target device.
- IP Address: Provide the IP Address of Optix panel
- Username: Provide the username of Optix Panel.
- (Optional) Destination Path: Provide the target device deploying destination path.
- Select theEncrypt project,Transfer source project,Transfer application files, andTransfer optimized projectcheckboxes.
- ClickSelect.
- Follow the steps from the above section (Configuring FT Optix to Connect to DataMosaix – Continuation).
- Place theconfig.ymlfile in theproject directory > ProjectFilespath.
- Provide the config file path as%PROJECTDIR%
To View Newly Created Assets
- FactoryTalk Datamosaix: On the Management Console, click theModelingtab to view the newly created assets.Tip: If you can’t see the newly created assets on the Model Listing page, click the Refresh [ ] icon to update the page.
- Cognite Data Fusion: Navigate toData Explorer>Assets.
- When you run the connector, you will see the Flexible Data Models
NOTE:
When the user runs the connector using the extractor config file, the extraction pipeline is updated with the associated dataset to track the extractor's run history and the current status of the pipeline.
View Flexible Data Models
Perform the following steps to view the flexible data models:
- ClickData Modelsfrom the left pane.
- Click any Data Model in theData Modelssection.TheData modelpage is displayed.
- Click the [] icon to view the expanded view of Flexible Data Model.
- Click the [] icon to view the instances of types.
Provide Feedback