Named Components

Component objects allow access to Named Components in the design. Names are given to components by typing in their component blocks (unique, non-default names). The returned value is a table of all controls in that component.

Example

-- assuming 2 gain components, one called 'gain a' and the

-- other called 'gain b'

gainA = Component.New("gain a")

gainB = Component.New("gain b")

-- In this case we are watching the gain of 'gain a' and

-- muting 'gain b' if 'gain a' goes above 0 dB.

gainA.gain.EventHandler = function( ctl )

if gainA.gain.Value > 0 then

gainB.mute.Boolean = true

else

gainB.mute.Boolean = false

end

end

QSC.com | Software and Firmware | Resources | QSC Self Help Portal

© 2009 - 2018 QSC, LLC. All rights reserved. QSC and the QSC logo are trademarks of QSC, LLC in the U.S. Patent and Trademark office and other countries. All other trademarks are the property of their respective owners.

http://patents.qsc.com