Add a Custom Script

Add a Custom Script

Script Source can be to used to get data from a file, a database, or some other ‘non standard’ format.

The script source will be treated like any other polling source, DataXchange will run the script on the polling interval set. The script will do whatever it is scripted to do to retrieve and parse data and populate variables that can then be used in DataXchange expressions.




    • Related Articles

    • Using HAAS NGC in DataXchange

      DataXchange supports data collection directly from the HAAS NGC. A HAAS NGC enabled control can be setup as a Source for data within the DataXchange software Setting up HAAS NGC as a Source is done from the DataXchange tab, selecting the associated ...
    • How do I ignore brief cycle stops, such as tool changes?

      There are times when an expression should only evaluate as true after a certain amount of time. In order to accomplish this a custom variable can be used to track the amount of time a particular expression has been true. A Custom Variable can be ...
    • Configure the Mazak API

      Mazak has software on the NC system to control external access. Once the API has been installed on the NC external access must be configured to allow Scytec DataXchange to connect. Select the HOME button in the upper left of the NC screen. Select the ...
    • Modbus TCP Source

      The Modbus TCP source is used to receive data from a device compatible with the Modbus protocol. Modbus TCP does not have any built-in source variables. All variables are custom variables, which must be created under the DataXchange Tab → Variable → ...
    • OPC UA Kepware Setup

      The following is an example setup of an OPC UA Server using Kepware KEPServerEX6 for the OPC UA Source within DataXchange. Once KEPServerEX6 has been installed, run the OPC UA Configuration Manager. This can be done from the Windows Start menu or ...