Skip to content
DataMiner DoJo

More results...

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
Search in posts
Search in pages
Log in
Menu
  • Updates & Insights
  • Questions
  • Learning
    • E-learning Courses
    • Empower Replay: Limited Edition
    • Tutorials
    • Open Classroom Training
    • Certification
      • DataMiner Fundamentals
      • DataMiner Configurator
      • DataMiner Automation
      • Scripts & Connectors Developer: HTTP Basics
      • Scripts & Connectors Developer: SNMP Basics
      • Visual Overview – Level 1
      • Verify a certificate
    • Video Library
    • Books We Like
    • >> Go to DataMiner Docs
  • Expert Center
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Markets & Industries
      • Media production
      • Government & defense
      • Content distribution
      • Service providers
      • Partners
      • OSS/BSS
    • Agile
      • Agile Webspace
      • Everything Agile
        • The Agile Manifesto
        • Best Practices
        • Retro Recipes
      • Methodologies
        • The Scrum Framework
        • Kanban
        • Extreme Programming
      • Roles
        • The Product Owner
        • The Agile Coach
        • The Quality & UX Coach (QX)
    • DataMiner DevOps Professional Program
      • About the DevOps Program
      • DataMiner DevOps Support
  • Downloads
  • More
    • DataMiner Releases & Updates
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

EEG Lexi Automation Script For Encoders

Solved1.32K views14th July 2023automation scipt Lexi
1
David Rowell [DevOps Member]221 20th May 2022 1 Comment

I am trying to create an automation script for Lexi so that our operators can use the scheduler to schedule times the Lexi encoder automatically turns on. Is it possible to create the script this way so that it requires the operators to select the channel themselves when they schedule it or would that require a C# script? I wanted to create one script instead of 20-30.

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 14th July 2023
Marieke Goethals [SLC] [DevOps Catalyst] commented 14th July 2023

As this question has been inactive for a long time, we will now close it. If you want further assistance, could you post a new question?

2 Answers

  • Active
  • Voted
  • Newest
  • Oldest
2
Miguel Obregon [SLC] [DevOps Catalyst]18.89K Posted 23rd May 2022 0 Comments

Hi David,

In this case you could use a script parameter to pass the display key of the table (in your example, the channel) to the set action. However, I noticed that (using a 'set' action) is not possible to pass the value of the script parameter to the index (the drop-down list in your image). I believe that the only option is to perform this action via C# script. The script should look like as follows:

The C# action:

 Script dummyElement = engine.GetDummy("EEG Lexi");
Script spChannel = engine.GetScriptParam("channel");
dummyElement.SetParameterByPrimaryKey(3002,spChannel.Value,"1");

where:

  • 3002 is the parameter ID of the parameter 'Switch State On (Instances)'
  • '1' is the value that represents the value 'On'. You can visualize this in the connector definition:

Hope it helps.

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 14th July 2023
You are viewing 1 out of 2 answers, click here to view all answers.
Please login to be able to comment or post an answer.

My DevOps rank

DevOps Members get more insights on their profile page.

My user earnings

0 Dojo credits

Spend your credits in our swag shop.

0 Reputation points

Boost your reputation, climb the leaderboard.

Promo banner DataMiner DevOps Professiona Program
DataMiner Integration Studio (DIS)
Empower Katas
Privacy Policy • Terms & Conditions • Contact

© 2025 Skyline Communications. All rights reserved.

DOJO Q&A widget

Can't find what you need?

? Explore the Q&A DataMiner Docs

[ Placeholder content for popup link ] WordPress Download Manager - Best Download Management Plugin