WriteResultsBuffer
Writes data from a referenced Buffer data structure, created by a FormatOutputBuffer function Functions are tools that are available in Spreadsheet for processing and analyzing acquisitions or other results. You can add functions to your Spreadsheet job to create tool chains and produce results for specific applications., to the currently enabled factory communication protocol. This function also writes the Result Code field for the factory communication protocols.
| Parameter | Description | ||||||||||
| Event |
Specifies the event that forces an update. This parameter needs to be a reference to any event with a timestamp, for example, one of the following: |
||||||||||
| Inspection ID |
If the function references a cell pointing to a If the function references a cell with an integer value, the Inspection ID of the result is set to that value. |
||||||||||
| Buffer | Specifies a reference to a Buffer data structure created by a FormatOutputBuffer function, which contains automatically formatted data. | ||||||||||
| Result Code | Specifies an integer that can be used to communicate the result of the inspection to any connected devices. | ||||||||||
| Protocol |
Specifies which protocol the user data needs to be written to.
|
||||||||||
| Byte/Word Order |
Specifies the bit order for words and bytes read by the function.
|
| Returns |
A Write Result data structure containing the data sent to the client, or #ERR:
|