![]() |
VWorks software calls the Set method to tell the plugin to command the specified digital output channel on the device to output the specified voltage.
[in] A digitalOutput XML element that contains the name of a digital output channel on a device and the voltage to set. 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 digitalOutput element has the following attributes:
The following sample code contains a digitalOutput XML element that is received by the plugin from VWorks software as a string in the xml parameter of the Set method. VWorks software tells the plugin to command the digital output channel named Output channel to output 100 volts.
→version='1.1' >