Prosoft-technology MVI69-ADM Manual de usuario Pagina 175

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 342
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 174
MVI-ADM 'C' Programmable Application Development Function Library - ADM API
'C' Programmable Application Development Module Developer's Guide
ProSoft Technology, Inc. Page 175 of 342
February 20, 2013
ADM_SetBtStatus
Syntax
int ADM_SetBtStatus(ADMHANDLE adm_handle, ADM_INTERFACE * adm_interface_ptr,
int pass_cnt)
Parameters
adm_handle
Handle returned by previous call to ADM_Open
adm_interface_ptr
Pointer to ADM_INTERFACE structure to allow API access to structures
pass_cnt
Counter from user code to indicate module health. This counter could be
updated in the main loop of the program.
Description
In the MVI56, this function writes status data to the processor at word 202 in the
input image and to the database at location 6670. The data is written in the
following order:
pass_cnt (in the ADM_INTERFACE structure)
ADM_PRODUCT (structure)
ADM_PORT_ERRORS (structure, 1 time for each application port)
ADM_BLK_ERRORS (structure)
CurErr (port 1, from ADM_PORT structure)
LastErr (port 1, from ADM_PORT structure)
CurErr (port 2, from ADM_PORT structure)
LastErr (port 2, from ADM_PORT structure)
MVI94 Note
This function is a null function for the MVI94.
MVI46 Note
This function is a null function for the MVI46.
Return Value:
ADM_SUCCESS
The function has completed successfully.
ADM_ERR_NOACCESS
adm_handle does not have access
ADM_ERR_NOTSUPPORTED
This function is not supported on this platform
Example
ADMHANDLE adm_handle;
ADM_INTERFACE *interface_ptr;
int pass_cnt;
ADM_INTERFACE interface;
interface_ptr = &interface;
ADM_SetBtStatus(adm_handle, interface_ptr, interface.pass_cnt);
See Also
ADM_SetStatus (page 174)
Vista de pagina 174
1 2 ... 170 171 172 173 174 175 176 177 178 179 180 ... 341 342

Comentarios a estos manuales

Sin comentarios