AMX NI-3100 Especificaciones Pagina 73

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 160
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 72
WebConsole - System Options
63
NetLinx Integrated Controllers- WebConsole & Programming Guide (FMv3)
Manage Devices - Bindings
Click the Bindings link (in the Manage Devices tab) to access the Manage Device Bindings page (FIG. 54).
Use the options on this page to configure application-defined Duet virtual devices with discovered physical
devices.
The table on this page displays a list of all application-defined devices, including each device’s "Friendly
Name", the Duet virtual device’s D:P:S assignment, the associated Duet Device SDK class (indicating the type
of the device), and the physical device’s D:P:S assignment. This information has to be pre-coded into the
NetLinx file currently on the Master.
Configuring Application-Defined Devices
Elements such as DUET_DEV_TYPE_DISC_DEVICE and DUET_DEV_POLLED are defined within the
NetLinx.axi file.
The NetLinx.axi file contains both the new API definitions, as well as the pre-defined constants that are used
as some of the API arguments (ex: DUET_DEV_TYPE_DISC_DEVICE).
Example Code:
PROGRAM_NAME='DDD'
DEFINE_DEVICE
COM1 = 5001:1:0
COM2 = 5001:2:0
dvRECEIVER1 = 41000:1:0
dvDiscDevice = 41001:1:0
DEFINE_CONSTANT
DEFINE_TYPE
DEFINE_VARIABLE
DEFINE_START
STATIC_PORT_BINDING(dvDiscDevice, COM1, DUET_DEV_TYPE_DISC_DEVICE,
'My DVD', DUET_DEV_POLLED)
DYNAMIC_POLLED_PORT(COM2)
DYNAMIC_APPLICATION_DEVICE(dvRECEIVER1, DUET_DEV_TYPE_RECEIVER,
'My Receiver')
FIG. 54 System - Manage Devices (Manage Device Bindings)
Physical device names are typically prefixed with "dv" and Virtual device names are
typically prefixed with "vdv".
Vista de pagina 72
1 2 ... 68 69 70 71 72 73 74 75 76 77 78 ... 159 160

Comentarios a estos manuales

Sin comentarios