Lyra Active X Object:

 

Properties:

Unsigned char *IP

//eg. Format: 192.168.0.12

 

Bool Visible

//Makes the object 1=Visible/0=Invisible

 

Bool Active

//Specifies whether the object is active and has focus

 

Bool Enabled

//Controls whether the object responds to mouse events.

 

Int Left

//Specifies the horizontal coordinate of the left edge of a component //relative to its parent.

 

Int Top

//Specifies the Y coordinate of the top left corner of a control, //relative to its parent or containing control in pixels.

 

Int Width

//Specifies the horizontal size of the control or form in pixels

 

Int Height

//Specifies the vertical size of the control in spixels

 

Events:

OnFaderOn(ModuleNr)

//When a fader is moved on this event is generated

 

OnFaderOff(ModuleNr)

//When a fader is moved off this event is generated

 

OnChannelOn(ModuleNr)

//When a On switch is turned on this event is generated

 

OnChannelOff(ModuleNr)

//When a Off switch is turned on this event is generated

 

OnCUEOn(ModuleNr)

//When a CUE switch is turned on this event is generated

 

OnCUEOff(ModuleNr)

//When a CUE switch is turned off this event is generated

 

OnConnect()

//When Connection is made to a Lyra this event is generated

 

OnDisconnect()

//When The object is Disconnected from the Lyra this event is generated

 

OnLoggedOn(long SecurityLevel)

//When a new user logged on its giving an event with the userlevel

//0 = Idle

//1 = Unknown user

//2 = Operator 1

//3 = Operator 2

//4 = Supervisor

//5 = System Administrator

 

OnRemoteBuss1(long State)

//If the Remote Buss 1 changes, its gives the new state with this event

 

OnRemoteBuss2(long State)

//If the Remote Buss 2 changes, its gives the new state with this event

 

OnRemoteBuss3(long State)

//If the Remote Buss 3 changes, its gives the new state with this event

 

OnRemoteBuss4(long State)

//If the Remote Buss 4 changes, its gives the new state with this event

 

OnRedlight1(long State)

//If the Redlight 1 changes, its gives the new state with this event

 

OnRedlight2(long State)

//If the Redlight 2 changes, its gives the new state with this event

 

Methods

 

Void ConnectToIP()

//Connects to IP

 

Void Disconnect()

//Disconnect from IP

 

Void Logon(unsigned char *Username, unsigned char *Password)

//Log on if a user and password

 

Void RecallPreset()

//Recalls the internal preset of the current logged on user to the Current Preset

 

Void Store Preset()

//Stores the Current Preset to the internal preset of the current logged on user

 

Void SetSource(long ModuleNr, long Source)

//Set ModuleNr Source, Source may be 0 till 34

//0 = N.C.

//1-4 = MIC1-MIC4

//5-11 = Analog1-Analog7

//12-18 = Digital1-Digital7

//19-34 = Cobra1/2 Cobra31/32

 

Void SetOn(long ModuleNr, long State)

//Set ON switch at ModuleNr, 1=Switch Down/0=Switch Up

 

Void SetCUE(long ModuleNr, long State)

//Set CUE switch at ModuleNr, , 1=Switch Down/0=Switch Up

 

Void SetSub(long ModuleNr, long State)

//Set SUB Routing at ModuleNr, 1=Switch Down/0=Switch Up

 

Void SetProg(long ModuleNr, long State)

//Set PROG Routing at ModuleNr, 1=Switch Down/0=Switch Up

 

Void SetEQOn(long ModuleNr, long State)

//Set EQ On at ModuleNr, 1=Switch Down/0=Switch Up

 

Void SetMono(long ModuleNr, long State)

//Set Mono at ModuleNr, 1=Switch Down/0=Switch Up

 

Void SetGain(long ModuleNr, long Value)

//Set Gain at ModuleNr, Value may be -20 dB till 20 dB

//For Source 0-3 = MIC1-MIC4: Value may be 0 dB till 60 dB

 

Void SetEQHigh(long ModuleNr, long Value)

//Set EQ High at ModuleNr, Value may be -18 dB till 18 dB

 

Void SetEQMid(long ModuleNr, long Value)

//Set EQ Mid at ModuleNr, Value may be -18 dB till 18 dB

 

Void SetEQLow(long ModuleNr, long Value)

//Set EQ Low at ModuleNr, Value may be -18 dB till 18 dB

 

Void SetDynamics(long ModuleNr, long Value)

//Set Dyn at ModuleNr, Value may be 0% till 100%

 

Void SetAux(long ModuleNr, long Value)

//Set Aux at ModuleNr, Value may be -140 dB till 10 dB

 

Void SetPan(long ModuleNr, long Value)

//Set Pan at ModuleNr, Value may be -511 till 512

 

Void SetFader(long ModuleNr, long Value)

//Set Fader at ModuleNr, Value may be 140dB till 10dB

 

Void SetCRMLevel(long Level)

//Set Fader at ModuleNr, Value may be 140dB till 10dB

 

Void SetProgToCRM(long State)

//Set Prog to CRM at ModuleNr, 1=Switch Down/0=Switch Up

 

Void SetSubToCRM(long State)

//Set Sub to CRM at ModuleNr, 1=Switch Down/0=Switch Up

 

Void SetAuxToCRM(long State)

//Set Aux to CRM at ModuleNr, 1=Switch Down/0=Switch Up

 

Void SetCUEToCRM(long State)

//Set CUE to CRM at ModuleNr, 1=Switch Down/0=Switch Up

 

Void SetExt1ToCRM(long State)

//Set Ext1 to CRM at ModuleNr, 1=Switch Down/0=Switch Up

 

Void SetExt2ToCRM(long State)

//Set Ext2 to CRM at ModuleNr, 1=Switch Down/0=Switch Up

 

Void SetCRMDim(long State)

//Set CRM Dim at ModuleNr, 1=Switch Down/0=Switch Up

 

Void SetTB(long State)

//Set Talkback at ModuleNr, 1=Switch Down/0=Switch Up

 

Void SetRedlight(long RedlightNr, long State)

//Set Redlight buss on or off

// RedlightNr = 0 -> buss 1

// RedlightNr = 1 -> buss 2

 

 

Void SetRemoteBuss(long RemoteBussNr, long State)

//Set Remote buss on or off

// RemoteBussNr = 0 -> buss 1

//...

// RemoteBussNr = 3 -> buss 4

 

Long GetSource(long ModuleNr)

//Get ModuleNr Source, Source may be 0 till 34

//0 = N.C.

//1-4 = MIC1-MIC4

//5-11 = Analog1-Analog7

//12-18 = Digital1-Digital7

//19-34 = Cobra1/2 Cobra31/32

 

Long GetCUE(long ModuleNr)s

//returns 1=ON/0=OFF

 

Long GetEQHigh(long ModuleNr)

//returns 18 dB till 18 dB

 

Long GetEQLow(long ModuleNr)

//returns 18 dB till 18 dB

 

Long GetEQMid(long ModuleNr)

//returns 18 dB till 18 dB

 

Long GetEQOn(long ModuleNr)

//returns 1=ON/0=OFF

 

Long GetGain(long ModuleNr)

//returns 20 dB till 20 dB

 

Long GetMono(long ModuleNr)

//returns 1=ON/0=OFF

 

Long GetProg(long ModuleNr)

//returns 1=ON/0=OFF

 

Long GetSub(long ModuleNr)

//returns 1=ON/0=OFF

 

Long GetAux(long ModuleNr)

//returns 1=ON/0=OFF

 

Long GetDynamics(long ModuleNr)

//returns 0% till 100%

 

Long GetFader(long ModuleNr)

//returns 140dB till 10dB

 

Long GetPan(long ModuleNr)

//returns 511 till 512

 

Long GetOn(long ModuleNr)

//returns 1=ON/0=OFF

 

Long GetMasterLevel(long LeftRight)

//LeftRight = 0 -> Left, LeftRight = 1 -> Right

//returns 140dB till 10dB,

 

Long GetModuleLevel(long ModuleNr)

//returns 140dB till 10dB

 

Long GetCRMLevel()

//returns 140dB till 10dB

 

Long GetProgToCRM()

//returns 1=ON/0=OFF

 

Long GetSubToCRM()

//returns 1=ON/0=OFF

 

Long GetAuxToCRM()

//returns 1=ON/0=OFF

 

Long GetCUEToCRM()

//returns 1=ON/0=OFF

 

Long GetExt1ToCRM()

//returns 1=ON/0=OFF

 

Long GetExt2ToCRM()

//returns 1=ON/0=OFF

 

Long GetCRMDim()

//returns 1=ON/0=OFF

 

Long GetTB()

//returns 1=ON/0=OFF