Getting Started
26
RMS NetLinx Programmer’s Guide
Where DeviceIdentifier is the identifier for the real device, such as
dvProj, and Value is the lamp hour's value.
For transport devices, you will need to notify RMS when the transport state
changes. If you are using an AMX Comm module to communicate to your
device, the RMSTransportMod will communicate with the Comm module to
determine transport state automatically. If you are using an AMX system call
with no feedback offset, i.e. FIRST is 0, RMSTransportMod will communicate
with the SYSTEM_CALL to determine transport state automatically.
To notify RMS of the transport state for a custom transport implementation, use
this function:
RMSSetTransportState(DeviceIdentifier,State)
Where DeviceIdentifier is the identifier for the real device, such as
dvVCR, and State is the transport state: Play=1, stop-2, Pause=3,
FFwd=4, Rew=5, SrchFwd=6, SrchRev=7, Record=8.
For serial devices, including, RS232 and IP controlled devices, you need to add
some polling commands to these device in order to allow the RMS support
module to properly report the Device Communicating parameter. The
RMSBasicDeviceMod, RMSProjectorMod and RMSTransportMod expect to
receive a string from the device every 30 seconds. If a string is not received
within the timeout period, a loss of device communication is reported to the RMS
server.
The default value for the Device Communicating timeout is 30 seconds. If this
value works fine for your device, all you need to do is add the polling for the
device. If you want to change the timeout, set the Device Communicating timeout
for a monitored device, which will in turn call RMSSetCommunicationTimeout()
to change the default timeout. The timeout time is specified in 1/10 seconds. If
you want to disable the Device Communicating parameter, set the timeout to 0.
Содержание RMS 3.0
Страница 1: ...Software NetLinx Programmer s Guide RMS Resource Management Suite 3 0 ...
Страница 4: ......
Страница 10: ...Overview 2 RMS NetLinx Programmer s Guide ...
Страница 12: ...System Requirements 4 RMS NetLinx Programmer s Guide ...
Страница 22: ...Concepts 14 RMS NetLinx Programmer s Guide ...
Страница 62: ...Custom Device Monitoring Programming 54 RMS NetLinx Programmer s Guide ...