background image

Manual-13

Software and Applications

ActiveX and Software issues

Microsoft ActiveX controls (defined in the next section)

are of concern to the pro audio community. This technology

allows designers of computer-controlled sound systems to

create common front-end software control panels that operate

different manufacturers’ units, without having to know

anything about their internal code or algorithms. This is

powerful. When more manufacturers jump on the ActiveX

bandwagon, systems designers will no longer be limited by

the products offered by a single, platform-specific (i.e., closed

architecture) manufacturer.

What is ActiveX anyway?

ActiveX is a Microsoft-developed software technology

released in 1996. ActiveX, formerly called OLE (Object

Linking and Embedding), is loosely based on the Component

Object Model (COM), but provides substantially different

services to developers. At this point, you might think:

WHAT!?^* But keep reading! An ActiveX control is a unit of

executable code (such as an .EXE file) that follows the

ActiveX specification for providing software objects. This

technology allows programmers to assemble reusable software

controls into applications and services. However, software

development using ActiveX technology should not be

confused with Object-Oriented Programming (OOP). OOP is

concerned with creating objects, while ActiveX is concerned

with making objects work together. Simply stated, ActiveX is

a technology that lets a program (the ActiveX control) interact

with other programs over a network (e.g., the Internet or

Ethernet), regardless of the language in which they were

written. ActiveX controls can do similar things as Java, but

they are quite different. Java is a programming language,

while ActiveX controls can be written in any language (e.g.,

Visual Basic, C, C++, even Java). Also, ActiveX runs in a

variety of applications, while Java and Javascript usually run

only in Web browsers. ActiveX controls can be used in web

pages and within visual programming languages such as

Borland’s Delphi, Sybase’s PowerBuilder, Microsoft’s Visual

Basic and even in tools such as Adobe’s GoLive,

Macromedia’s DreamWeaver and National Instrument’s

LabVIEW.

In English, for our pro audio applications, ActiveX control

objects are the sliders, buttons, indicators and other graphical

screen entities. The objects have properties such as slider

position and slider range and on or off for buttons and

indicators, etc. Once the screen objects are chosen and placed,

further ActiveX controls can then be used to link the object’s

properties to other ActiveX controls. Thus, allowing linking

an ActiveX slider to the ActiveX control for a device’s level

control. Then moving the level control graphic slider subse-

quently varies the audio level and vice versa.

Each ActiveX control is made up of Properties and Events.

ActiveX control Properties are values associated with the

control, which might include such things as level settings,

mute condition and meter readings. ActiveX control Events

tell the computer something significant has happened, such as

a switch closure, button press or clip detection.

ActiveX allows the manufacturer to create an object (a

piece of software code) which fully describes a device, while

hiding the implementation details such as protocol from the

programmer. By hiding the communication details, there is no

longer a need for different manufacturers’ to agree on proto-

col. This lack of a protocol standard means that cooperation

between manufacturers is not required. It allows each manu-

facturer to choose the best protocol for their devices.

For example, no longer would you need to know that the

17th byte of a 32-byte status message meant that the unit’s

second output channel was muted. With an ActiveX control,

you might simply refer to the device’s output 2 mute status as

“Device1.Out2Mute”. See the RaneNote “Emerging Standards

for Networked Audio System Control” and “Controlling

Audio Systems with ActiveX Controls over CobraNet and

other Ethernet-based Networks,” both downloadable from the

Rane website Library.

Implementing ActiveX controls

An example might help clear this up. A few assumptions

are that a computer is used to control an audio system over an

Ethernet network and that something on the computer’s screen

controls some function of the system. The basic idea is to

place controls on the computer screen and link them, using

ActiveX, to a parameter in the system. What’s important here

is that only the controls required by the computer’s end user

need be displayed. Additionally, more detailed interfaces

(hidden or password-protected web pages) can then be created

to provide any level of system parameter access desirable—

from complete system control, to a lone system power button

or anything in-between. No longer are systems limited to the

number of security levels provided by vendor’s software, nor

are you limited to controlling a single system parameter per

screen control. For example, you can link multiple ActiveX

controls to a single screen object, thus adjusting EQ level

simultaneously with master level control and limiter threshold.

You can also program actions when certain events occur, such

as triggering audio playback or turning a system off at a

certain time or adjusting delay time as the temperature

changes.

You can control different parameters inside the same

device from different computers on the network as well as

controlling the same parameter from multiple computers. This

is one of the major advantages of networks – multiple control

locations will automatically be updated when changes are

made by any control location.

Microsoft FrontPage 2000 ActiveX Example

Many use Microsoft’s FrontPage 2000 to create user

interface web pages for computer-controlled systems. These

web pages may or may not be accessible over the Internet.

Once you master the ActiveX concept, using FrontPage with

ActiveX provides literally an infinite number of programming

possibilities. More information about the NM 84’s ActiveX

controls and the ActiveX controls for Rane’s RW 232 devices

is found in the sections on the next page.

Содержание NM 84

Страница 1: ...and paste between the various pages The next four pages set up Monitor Outs Monitor 1 through Monitor 4 respectively The 8 Mic Input audio channels on the NM 84 can be transmitted on up to 4 differen...

Страница 2: ...adjustable fields on each page These buttons select each adjustable parameter along the bottom row by moving the underline cursor left or right When any parameter is selected the DATA wheel adjusts th...

Страница 3: ...nt on the network This means any packet including packets not intended for the NM 84 It tells you that the network is actually transporting data If this indicator is off no data is present fFAULT indi...

Страница 4: ...lect the desired command then press the EXE button to execute the command Use Copy to place the current Edit page contents in a clipboard Navigate to the Edit page where you want to paste these settin...

Страница 5: ...certain channels must be transmitted to more than one location or CobraNet node Thus the NM 84 provides four Bundles for transmission CobraNet permits transmission of up to 4 Bundles maximum per Cobra...

Страница 6: ...m and Config edit pages are not stored in Memories The intent of disallowing Memories to alter the Network Transmit settings for example is to keep the familiarity of a radio broadcasting paradigm rel...

Страница 7: ...d is more than the number of particles in the universe Optimizing Mic Preamplifier Performance There are seven stages of signal processing for each of the 8 Mic Inputs plus Metering For best results i...

Страница 8: ...defeat your hard work Extra credit reading In addition to protection of equip ment and control of SPL the NM 84 s Limiters may be used for AGC To provide AGC set the Limiter Lim to a level about 10 to...

Страница 9: ...i r c s e D s e g a t n a v d A s e g a t n a v d a s i D f f O 0 0 0 x e h l l u N n o i s s i m s n a r T d e s u n U d e l b a s i d f f O e i l e n n a h c g n i v a s d n a o i d u a g n i t u m...

Страница 10: ...e n a t l u m i s t i b M 0 0 1 s i k r o w t e n t i b M e d i w k r o w t e n y a w a g n i o g y l e k i l t u b e v i s n e p x e n i y r e V k r o w t e n t e N a r b o C d e t a c i d e d a n e...

Страница 11: ...k troubleshooting is a worthwhile investment if your future includes networked audio systems Remember that the network hardware devices chosen for your network go hand in hand with the Bundles require...

Страница 12: ...puter data collisions which slow down the computer network and simultaneously creates audio dropouts pops or ticks Not fun or necessary Oftentimes however computer data must be shared on the network o...

Страница 13: ...d meter readings ActiveX control Events tell the computer something significant has happened such as a switch closure button press or clip detection ActiveX allows the manufacturer to create an object...

Страница 14: ...tch the NM 84 device s parameter that you ll link to this slider Sometimes you ll find that you ll need to adjust these maximum and minimum values here or in the Script language discussed next to prop...

Страница 15: ...sses which is 192 168 nnn nnn where nnn represents any number between 0 and 255 A good choice might be 192 168 100 100 just because it s easy to remember if you ever need to know it again Set the Subn...

Страница 16: ...ally whether the data is relevant to them A Switched Hub is typically not able to determine appropriate destination port or ports for multicast data and thus must send the data out all ports simultane...

Страница 17: ...ing or Binary modes see table A Binary mode allows access to all 16 Memories For ex ample connect the four contacts of a binary switch plus the additional Binary mode closures shown in the Table Pagin...

Страница 18: ...Mic1_Line_Gain Equates to Mic_Line_Gain 0 Mic1_Trim Equates to Mic_Trim 0 Mic1_Filter Equates to Mic_Filter 0 Mic1_Limiter Equates to Mic_Limiter 0 Mic2_Mute Equates to Mic_Mute 1 Mic2_Phantom_Power E...

Страница 19: ...iter Equates to Mic_Limiter 7 for Idx 0 3 corresponds to Monitor 1 4 Out_Local Idx TRUE FALSE for Monitor Local setting Out_Mic_Index Idx 0 Off 1 Input 1 8 Input 8 for Monitor Local Mic setting Out_Bu...

Отзывы: