Daemon API - Calls
Services
StartService
Starts a specific service.
ParamsName | STRING | Name of the service to start (not concatenated with the computerName).
Available names: "PX_Daemon", "PX_Datahub", "PX_Gateway", "PX_Bridge", "PX_DirectorAPI",
"PX_VideoIO", "PX_Tracking", "PX_Store", "Director", "UE4Editor" |
Value | ANY OPTIONAL | Service specific parameters. |
Example - Starting PX_VideoIO service. Call (you send)
CallResult (you can receive, if subscribed)
|
StopService
Stops a specific service.
ParamsName | STRING | Name of the service to start (not concatenated with computerName). |
Example - Stopping PX_VideoIO service. Call (you send)
CallResult (you can receive, if subscribed)
|
RestartService
Restarts a specific service.
ParamsName | STRING | Name of the service to start (not concatenated with computerName). |
Value | ANY OPTIONAL | Service specific parameters. |
Example - Restarting PX_VideoIO service. Call (you send)
CallResult (you can receive, if subscribed)
|
Shows
CopyShowFileToLocal
Copies a specific show file from the server machine to this machine (client).
ParamsShowName | STRING | Name of the show to copy. |
Example Call (you send)
CallResult (you can receive, if subscribed)
|
CheckShowFileLocal
No params.PixotopeDump
No params.RescanProjects
No params.RemoveLocalProjectPath
No params.ToggleFavorite
Either adds or removes show or level from the favorite shows or levels array (see Get FavouriteShows).
ParamsName | STRING | Name of the show/level to add/remove. |
Add | BOOLEAN | true if it should be added instead of removed. |
Levels | BOOLEAN | true if the provided name is a level instead of a show. |
Example - Adding Show1 to favorites. Call (you send)
|
ToggleFavoriteFilter
Toggles filter boolean for favorites shows or levels in database.
ParamsLevels | BOOLEAN | true if it toggles the favorite filter for levels instead of shows. |
Example Call (you send)
|
DisconnectServer
Called on a machine connected to a server machine, when the server changes its role.
This will change the role of the client to stand-alone.
Sends an Update message named "ServerChangedRole" to Director that role has been updated.
AddCameraType
Adds a provided camera type to the existing array of types and stores it in
[Installation folder]/Local storage/CameraTypes.json
id | NUMBER | Unique Id. |
label | STRING | Display name of camera. |
camera_name | STRING | Name of camera. |
width | STRING | Width of backplate in mm. |
height | STRING | Height of backplate in mm. |
Example Call (you send)
Update (you can receive, if subscribed)
|
SetRole
Sets role for machine
No params.GetLicenseToolChangeSetup
Saves the callback, and send callResult once new tools are received and all services are restarted accordingly
No params.