Frequently asked questions about RapidSequencer

What do I need to use RapidSequencerAPI?

You will only need RapidCode.NET.dll and RapidSequencerAPI.NET.dll to compile a program using the RapidSequencerAPI when running RapidSequencer on Windows. To run a RapidSequencer on a real-time (INtime) system, you will need an RMP+ license and a system set up with at least two INtime nodes.

Where can I find sample code for using the RapidSequencerAPI?

Our API documentation site has two sample applications. The first demonstrates how to run a RapidSequencer and read global data from it. The second demonstrates how to run multiple RapidSequencer instances from a single C# program and read global data from both.

Can I run RapidSequencer and RMP on the same INtime node?

We only recommend that you use a separate node for each.

How do I create new RapidSequencer instances or find existing instances?

The RapidSequencerFactory contains the following static methods:
  • Create: Creates a RapidSequencer process.
  • Discover: Discovers existing RapidSequencer process.
See this webpage for more information.

What port number do I specify as the gRPC port?

You may use any port number you wish, but we recommend avoiding port number conflicts with any well-known or reserved ports. A list may be found here. The sequencer can be connected to via a gRPC channel by specifying the IP address and the port number to connect to.

How many sequencer scripts can I run on a single RapidSequencer instance?

There is currently no limit to the number of scripts that can run on an instance, but each additional running script will slow down the performance of the RapidSequencer.

Do I have to compile a RapidSequencer script every time my program runs?

Compiling a RapidSequencer script generates a file with the .sqbin extension, which is the compiled version of the script. The path to the .sqbin file is can be found in the CompileSuccess object returned by a compile request as the CompileSuccess.bin_path member.
A RapidSequencer run request takes in a CompileSuccess object which is used to specify where the .sqbin file is located. To reuse previous compilation results, you may either save the previous CompileSuccess objects or create a new one and specify the bin_path member.
More information about the available sequencer methods can be found here.

Does a RapidSequencer instance terminate when my program terminates?

RapidSequencer instances are their own separate processes, and will not terminate unless explicitly commanded to via the Shutdown request.