Technical information
Multiple RMS Instances
108
RMS NetLinx Programmer’s Guide
vdvProjModule_2 = 33012:1:0 (* Projector Virtual Device *)
dvProj_2 = 5002:1:0 (* Projector Real Device *)
vdvSWTModule_2 = 33013:1:0 (* Switcher Virtual Device *)
dvSWT_2 = 5002:2:0 (* Switcher Real Device *)
vdvVCRModule_2 = 33014:1:0 (* VCR Virtual Device *)
dvVCR_2 = 5002:9:0 (* VCR Real Device *)
dvRELAY_2 = 5002:8:0 (* NI-3000 Relay *)
The rest of the multi instance information is in the include file
RMSMain-Multi.axi in the SDK.
Declare a Dev Array of RMS Engine Instances
In the include, declare a dev array of RMS Engine instances using the previously
declared engines, e.g., vdvRMSEngine_1, a dev array for each master instances
of touch panels (one each for main and welcome panels), and dev arrays for
keyboards for each panel (the main ones only). See below:
// create an array of all RMS engines
VOLATILE DEV vdvRMSEngines[] = {vdvRMSEngine_1, vdvRMSEngine_2}
// create a touch panel device array for all main touch panels
for each RMS instance
VOLATILE DEV dvRMSTP_1[] = { dvTPMain_1 }
VOLATILE DEV dvRMSTP_2[] = { dvTPMain_2 }
// create a touch panel device array for all welcome touch panels
for each RMS instance
VOLATILE DEV dvRMSTPWelcome_1[] = { dvTPWelcome_1 }
VOLATILE DEV dvRMSTPWelcome_2[] = { dvTPWelcome_2 }