SGPro 4 and above have support for "switches" and allow you to toggle the state of said switches at various points in the sequence. Switches allow you to control almost any piece of equipment that maintains some sort of state. A couple examples of such a device might something simple with just an "on" and "off" state or something with many different states like you would expect setting intensity with states 0 through 100. Switch controls are located in the Control Panel in a tab labeled "Switches". Currently SGPro supports switches that:
Currently, SGPro can:
- Manually control the state of switches.
- Set the state of multiple switches across multiple different devices, at:
- Sequence start
- Sequence end
- More to come...
Switch state for various events in the sequence is also fully supported with Equipment Profiles.
- Switch: Essentially a named set of "states" (e.g. MySwitch1 with states "on" and "off" or MyOtherSwitch with states 0 through 100). Presumably altering the state of a switch does something, but strictly speaking, it doesn't have to.
- Switch Device: A device that contains N individual switches. Essentially a parent grouping of switches that is usually defined by a device (e.g. PrimaLuce Eagle or Pegasus), but doesn't have to be.
In the control panel and Equipment Profile Manager, all of your switches will be grouped by Switch Device. In the screenshot below, you can see the ASCOM Switch Simulator Switch Device. After the name of the device, you will see a state for the device (not a switch) that indicates if SGPro has a stable connection to the switch device (i.e. Connected or Disconnected).
Connecting a Switch Device
You don't need to do anything to connect your switch devices. SGPro will display any switches it finds installed on your machine. If your switches don't show up, make sure to install their ASCOM driver. It may take up to 10 seconds for the control panel to show that it has a stable connection to your switch device.
Switch Device Options and Configuration
If a Switch Device has configurable options, you can access them by clicking on the gear icon next to the Switch Device's name. See the help entries in this category for details on specific devices.
Setting a Switch's State
In the switch grid (table) click on the "State" column for the switch you'd like to set. After clicking a dropdown menu will appear showing all of that switch's states. Simply click on the one you want to set for your switch. Note that if a switch has a gray background it has no user definable states and is only for display purposes.
Set a Switch's State for a Sequence Event
Current supported sequence events are sequence start and end. SGPro will set the states of your switches to the chosen values when these events occur. Choosing the event state is accomplished by clicking on the column for the desired sequence state (e.g. Start) and then choosing the desired state for that switch.
Adding Switch States to your Equipment Profiles
You can also add switch states for sequence events to your existing (or new) equipment profiles. In the Equipment Profile Manager, you will see a tab labeled "Switches" that contains a nearly identical switch grid.
- If your switches don't show up, make sure that you install the appropriate ASCOM driver.
- By default, both the ASCOM Switch Simulator and the PrimaLuce Eagle Switch Devices are shown. Either or both of this can be hidden by right clicking anywhere in the switch table and unchecking the devices your no longer wish to see.