Rockwell-automation 1747-PCIS API Software - Open Controller Uživatelský manuál Strana 122

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 174
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 121
Publication 1747-UM002A-US-P - June 2000
6-62 Library of Routines
Setting the output update mode to OUTUPD_CHANGE allows the
host application to signal the scanner to write outputs by calling
OC_WriteOutputImage. This setting allows the scanner’s minimum
scan time to be reduced (since it is only scanning inputs most of the
time), and is provided as a performance enhancement.
Setting the output update mode to OUTUPD_ALWAYS forces the
scanner to write outputs from the output image on every scan.
Return Value:
Considerations:
Supported in the DOS API library and the Windows NT API library
Example:
HANDLE Handle;
int retcode;
retcode = OC_SetOutputUpdateMode( Handle, OUTUPD_NEVER );
/* Must use OC_DemandOutputScan() function to send new output
data */
Name: Value: Description:
SUCCESS 0 conditional scan was set successfully
ERR_OCACCESS 2
handle does not have access to the scanner
ERR_OCINIT 5 scanner has not been initialized, see OC_InitScanner
ERR_OCPARAM 8 parameter contains invalid value
Zobrazit stránku 121
1 2 ... 117 118 119 120 121 122 123 124 125 126 127 ... 173 174

Komentáře k této Příručce

Žádné komentáře