WriteResultsBuffer
Writes data from a referenced Buffer data structure, created by a FormatOutputBuffer function, to the currently enabled factory communication protocol (which is enabled in the Network Settings dialog). This function also writes the Result Code field for the factory communication protocols.
WriteResultsBuffer Inputs
Syntax: WriteResultsBuffer(Event,Buffer,Result Code,Protocol,Byte/Word Order)
Specifies the event that forces an update.This parameter must be a reference to one of the following:
|
||||||||||||||||||||||||||||||||||||||||||||||
Specifies a reference to a Buffer data structure created by a FormatOutputBuffer function, which contains automatically formatted data. Note: The maximum length for output data is 4,000 bytes.
|
||||||||||||||||||||||||||||||||||||||||||||||
Result Code |
Specifies a 16-bit integer that can be used to communicate the result of the In-Sight vision system's inspection to any connected devices. |
|||||||||||||||||||||||||||||||||||||||||||||
Protocol |
Specifies which protocol the user data should be written to. Note: This parameter is only available on In-Sight vision systems running In-Sight firmware 5.1.0 and later.
|
|||||||||||||||||||||||||||||||||||||||||||||
Specifies the bit order for words and bytes read by the function. Note: This parameter is only available on In-Sight vision systems running In-Sight firmware 5.1.0 and later.
Examples: AB (one-word-sized value): A = the most significant byte, B = the least significant byte:
12AB (two-word-sized value): 1 = the most significant byte, B = the least significant byte:
|
WriteResultsBuffer Outputs
Returns |
|