EasyManuals Logo

Savant S2 Deployment Guide

Savant S2
24 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #18 background imageLoading...
Page #18 background image
Savant S2/2000 Deployment Guide Copyright © 2019 Savant Systems, LLC
009-1914-00 | 191231 18 of 24
7.2. Executing Scripts on the Host
Custom scripts, workflows, and other programming can be executed on Savant Hosts using sclibridge, a command line utility used to interact directly
with the Savant Host via Terminal for advanced customization.
When using an SHR-S2, SHR-2000, or other Linux-based Hosts, the sclibridge utility is located within the Host filesystem in the directory shown
below:
/usr/local/bin/sclibridge
This is dierent from the location of the utility for Savant Pro, Super Pro, or any other MacOS-based Host, and should be kept in mind when writing
or testing any such scripts or workflows.
A standard UNIX utility can be used to determine the platform any script is running on, and adjust accordingly. See example below for reference:
#!/usr/bin/perl -w
$osType = `uname`;
chomp($osType);
$sclibridge = undef;
if($osType eq "Linux OS")
{
print "Running on Linux\n";
$sclibridge = "/usr/local/bin/sclibridge";
}
elsif($osType eq "Mac OS")
{
print "Running on Darwin\n";
$sclibridge = "/Users/RPM/Applications/RacePointMedia/sclibridge";
}
else
{
print "Running on Unknown: $sclibridge\n";
}

Other manuals for Savant S2

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Savant S2 and is the answer not in the manual?

Savant S2 Specifications

General IconGeneral
BrandSavant
ModelS2
CategoryController
LanguageEnglish

Related product manuals