Skip to main content
LuaCEP quickstart

Guide for users who want to work with the LuaCEP on the Railster

Updated over a week ago

This article covers various key operations necessary to work with this rule engine, such as uploading, deploying, and updating Lua scripts.

To ensure data is available through the LuaCEP rules on the Railnova platform, several key steps need to be followed sequentially.

1. Writing the LuaCEP Rules

• Begin by creating LuaCEP rules that define how data is observed, processed, and sent.

• Choose the signals you want to monitor and decide the frequency of data transmission using functions like live() for real-time updates or logger() for periodic logs.

2. Uploading the Rules Online

• Go to the Railnova platform and log in to your account.

• Navigate to the section where you can add company custom configurations.

• Create a new configuration, give it a name, and select the appropriate asset class.

• Copy and paste or write your LuaCEP rules in the provided area.

• Save the new set of rules, thereby uploading them to the platform.

3. Deploying the Rules

• After uploading, go to the section where you can manage your assets.

• Choose the assets (devices) to which you want to deploy the new rules.

• Assign the uploaded LuaCEP rules to these assets.

• Execute the deployment process, which will apply the rules to the selected assets.

4. Post-Deployment Checks

• Verify that the rules are functioning as intended.

• Monitor the data being transmitted to ensure it aligns with the expectations set in your LuaCEP rules.

5. Updating Rules

• In case of any changes or improvements needed, go back to the rules configuration section.

• Edit the rules as necessary and save the changes, which will create a new version of the rules.

• Redeploy the updated rules to the relevant assets.

By following these steps, you ensure that the data observed and processed by your LuaCEP rules is accurately transmitted and available on the Railnova platform. This process involves not only the technical aspect of writing and deploying rules but also the administrative tasks of managing them on the Railnova platform.

Support

Do you still have questions? Go to the Railnova platform and click "Contact us" for help!

Did this answer your question?