![]() |
VWorks software calls the EnumPoints method to tell the plugin to enumerate all I/O channels for a device.
[out] Three XML elements: digitalInputs, analogInputs, and digitalOutputs. Each XML element contains an enumeration array of all digital input, analog input, or digital output channels for a device. 0 = The request was completed (RETURN_SUCCESS)1 = Something was wrong with the input, so the request was not completed (RETURN_BAD_ARGS)2 = The request was not completed (RETURN_FAIL)The plugin returns the following three XML elements in the ioxml parameter of the EnumPoints method:Each name element contains the name of an input or output channel.The following sample code contains the (truncated) digitalInputs, analogInputs, and digitalOutputs XML elements (with enumeration arrays) that are returned to VWorks software by the plugin as a string in the ioxml parameter of the EnumPoints method.
→version='1.1' >