Rane NM 84 Operator'S Manual Download Page 14

Manual-14

NM 84 ActiveX Example

The short version of the FrontPage 2000 procedure used to

setup a web page with ActiveX controls for a Rane NM 84

device’s parameters goes as follows:

Insert a Rane NM 84 ActiveX control in a new web page.

(This software/control ships with the unit or can be found on

our website. Running this NM 84 setup procedure registers

the Rane NM 84 ActiveX control with the computer used to

create the web page. Otherwise, no special icon or folder is

created after running the setup, so save time by not looking

for the NM 84 software/control other than from within

FrontPage’s ActiveX list.) Set the inserted NM 84 control’s

Properties for your application. Generally, from FrontPage’s

ActiveX Control Properties window, this involves providing a

unique Name in the Object Tag tab for the control. Then, link

this control to the specific NM 84 device by entering the NM

84 device’s IP address in the NM 84 SNMP Control Setting

tab. The NM 84 control also must be assigned an update rate

which is found on the NM 84 SNMP Control Setting tab. A

good default value might be “5” which provide an update

every half second. Don’t get overzealous with this update rate

since it’s a function of many things and can negatively effect

the speed at which controls and parameter changes take effect.

Next, insert an ActiveX slider, button or what have you

from the vast list of available ActiveX controls. If you can’t

find a control that suits your fancy, further ActiveX controls

can be found on the Internet as shareware, bought from

ActiveX providers often in packages or created from scratch

for complete customization. Adjust the size, orientation and

placement of the control for optimum ergonomics being sure

to consider the user, the application and the requirement for

further controls on this same page. Keeping the number of

total controls on any one page low is very wise. See why in

the September, 2000 AES preprint by Rane’s Stephen

Macatee and Devin Cook titled Controlling Audio Systems

With ActiveX Controls Over CobraNet And Other Ethernet-

Based Networks.

In the ActiveX Control Properties window for the slider

(or button…), uniquely Name the control in the Object Tag

tab. Then in the Parameters tab, set the control’s maximum

and minimum value to match 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 properly display or

be compatible with the parameter being adjusted. For ex-

ample, the “Mic_Trim” ActiveX control has a minimum value

of “0” and a maximum of “36,” but the actual displayed range

of the Trim control is -20 to +16 dB in 1 dB steps. Thus, there

are “36,” 1 dB steps. Also, often the control link may be

backwards such that the maximum value may correspond to

the “lowest” slider position. Fix this when updating the

control by subtracting the control’s maximum setting from the

desired setting within FrontPage’s VBScript language.

To link the slider to the desired NM 84 internal device

parameter, use Microsoft’s VB Script language by associating

the slider’s Name with the specific NM 84 Control Name.

You’ll find the list of valid NM 84 ActiveX Control Names at

the end of this Manual.

To track slider or system changes and update either the

web page, the NM 84 device, or both, we’ll need to use

Microsoft’s Visual Basic Script language. This is where the

programming comes in. Yes, it does say programming.

Remember when you could do your job without the need to

program anything except the time on your wind up watch?

Some programming tasks here are things like initializing the

controls with valid information usually by reading the NM 84

device’s current settings, then updating the on-screen controls

so they match the device. You also need the Script software to

scan for any changes and make updates accordingly. It is also

wise to be sure that any requested changes to parameter values

are within the proper numerical range, thus avoiding strange

and unpredictable behavior. This is usually called “bounds

checking” by programmers. Since these web page and

network technologies allow multiple control locations, be sure

your code handles this. For example, NM 84 device param-

eters can be changed from the NM 84’s front panel, from the

web page itself, from another copy of the same web page

being run elsewhere on the network, or changes can also be

made from contact closure memories. Take this into account

when writing the “update settings” code by scanning indepen-

dently for changes to the device’s settings and changes to the

web page controls. Then update things so the device settings

and the web page controls always match. The Rane has

example code with comments.

Summary of Contents for NM 84

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Reviews: