« Back to Product

Documentation

VIO_GetTextList

Require: IP-Symcon >= 5.1

 array VIO_GetTextList (int $InstanceID) 

Parameters

InstanceID

ID of the virtual I/O to be updated

Returns

Returns an array of simple Data-Packets

Description

Returns an array of all received data packets of the virtual I/O instance with the ID InstanceID of the type Simple.

Example

// Returns an array of all simple data packages of the virtual I/O instance with the ID 12345
$allTexts = VIO_GetTextList(12345);
print_r($allTexts);

/* returns, for example:
Array
(
    [0] => Hello world
    [1] => IP-Symcon
    ...
) 
*/
Any questions?