Skip to main content
Skip table of contents

RVSB-Operation

Overview of SubC Rayfin Script Builder UI

image-20250305-144516.png
  1. The web browser URL field displays the Rayfin camera IP Address, Port and path to the Rayfin Script Builder web application.
    Note: You can quickly switch connection to another Rayfin camera by replacing the IP Address with another Rayfin camera IP.

image-20250305-144435.png
  1. Rayfin Visual Script Builder version & connected Rayfin camera details.

    1. Version: Rayfin Visual Script Builder application version

    2. Rayfin App Version: Rayfin camera software version

    3. Connected to: Rayfin camera IP Address & Port

image-20250305-144802.png
  1. Click to toggle between light and dark view mode.

image-20250305-144905.png
image-20250305-145216.png
  1. Click to Save a Script.

Save Rayfin Scripting File will appear.

Enter a Filename and click Save File.

image-20250305-145007.png
image-20250305-145114.png
  1. Click to Load a Script.

A list of scripts will appear.

Select a script from the list to load onto the script canvas.

image-20250305-145508.png
  1. Click to execute the current script that is loaded onto the canvas.

If you do not have a script loaded, you will get this message.

image-20250305-145603.png
image-20250305-145751.png
  1. Click to undo the last change.

image-20250305-145841.png
  1. Click to open the Rayfin File Explorer.
    The Rayfin File Explorer will open in a new tab giving you access to the Rayfin camera’s Internal storage folders & files.

    image-20250305-145946.png
image-20250305-150217.png
  1. Click to open Script Manager

Script Manager will open in a new tab.

Select a script from the list on the left and its code will appear in the panel on the right.

You can also “Drag and drop a file here to upload a (script) file”.

Click Execute Script button

image-20250305-150357.png
image-20250305-151046.png
image-20250305-151243.png
  1. Click “>” to Hide icons

image-20250305-151353.png
image-20250305-151147.png

Click “<“ to unhide icons.

image-20250305-151715.png
  1. Click to open Menu

See Script Builder Menu for description of each menu item.

image-20250305-151744.png
image-20250305-152434.png
  1. Filter Blocks - Enter what you are looking for in this text field to display the location of those blocks that align with the text you have entered.

For example, if you are looking for conditional script blocks, enter “condition” and Logic and Time script block menus appear.

image-20250305-153544.png
image-20250305-154024.png
image-20250305-154425.png
image-20250305-154529.png
image-20250305-154623.png
  1. Arm Script to “Arm” a saved script to the Rayfin camera. The Armed script will be executed on startup - the next time the Rayfin camera is powered on / wakes up from Hibernation mode.

    1. Click Arm Script and the Choose Rayfin Script to Arm window appears in the center of the page with a list of Available Scripts.
      Rayfin cameras come with SubC prebuilt scripts. Scripts that you create & save in the Rayfin Visual Script Builder application will also appear in this list.

    2. Select a script from the list and click Arm Script button. (click Close if wish to exit this window without selecting a script).

    3. When a script is selected, the Arm Script button changes to Disarm Script and the Armed Script: field displays the name of the current armed script.

    4. Click Disarm Script to discard the current selected/armed script, and the Armed Script: field changes to None.

image-20250305-154943.png
  1. Script Builder Blocks contains block code objects that you drag to the Script Builder canvas and snap together to create scripts. See Script Builder Blocks for details.

    image-20250305-155528.png
image-20250121-155545.png
  1. Color Codes - The color code key will help you identify a block code function.

image-20250305-161124.png
  1. Move Up & Down on canvas

image-20250120-144305.png
  1. Reposition Code Blocks to the center of the canvas.

image-20250117-162055.png
  1. Zoom-In (plus) and Zoom-Out (minus)
    Use to bring code block objects on the canvas closer/larger or further/smaller in view.
    The mouse scroll wheel does the same - roll wheel down to zoom out and roll wheel up to zoom in.

image-20250117-161834.png

  1. Trashcan does the same as Menu → Clear Workspace

image-20250117-161728.png
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.