Cue CueSiteManager Programmers Bedienungsanleitung Seite 22

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 32
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 21
22
Cue Site Manager / Programmer’s Manual / CSMDataProvider (driver)
© CUE, a.s. All Rights Reserved. | www.cuesystem.com | [email protected]
OnParametersRequest
Scope: Public
Function linked to OnParametersRequest collects values of system parameters
Example
This example monitores amplifier volume and projector lamplife. Parameters are as follows
Parameter 01 is volume of amplier, where driver name is Amplier1. This driver has function
GetVolume().
Parameter 02 is lamlife of projector, where driver name is Projector1. This driver has function
GetLampLife().
Private Function CSMDataProvider1_OnParametersRequest(
ByRef parameter01value As Double,
ByRef parameter02value As Double,
ByRef parameter03value As Double,
ByRef parameter04value As Double,
ByRef parameter05value As Double,
ByRef parameter06value As Double,
ByRef parameter07value As Double,
ByRef parameter08value As Double,
ByRef parameter09value As Double,
ByRef parameter10value As Double)
As Boolean Link CSMDataProvider1.OnParametersRequest
parameter01value := Amplifier1.GetVolume()
parameter02value := Projector1.GetLampLife()
Return Value True
End Function
Note
If you use less then 10 parameters, you can write only lines with used parameters.
OnSiteStatusRequest
Scope: Public
Function linked to OnSiteStatusRequest event collects data if Power is On or Off and description of system
status.
Example
Private Function CSMDataProvider1_OnSiteStatusRequest(
ByRef poweron As Boolean,
ByRef systemstatusdescription As Text )
As Boolean Link CSMDataProvider1.OnSiteStatusRequest
poweron := // place here variable or function, which returns power status of your system
systemstatusdescription := “System is OK” // place here text with description of your status
Return Value True
End Function
Seitenansicht 21
1 2 ... 17 18 19 20 21 22 23 24 25 26 27 ... 31 32

Kommentare zu diesen Handbüchern

Keine Kommentare