Get a list of actions that can be invoked on a ios-device type resources.
URL
/rw/iosystem/devices/{device}
Method
GET
URL Params
action=show Required
Returns action Forms for this resource
See Common URL parameters
Data Params
None
Success Response
HTTP_OK(200)
see HTTP Status codes
Example Response
<?xml version="1.0" encoding="UTF-8"?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>io</title>
<base href= "http://localhost/" />
</head>
<body>
<div class="state">
<a href= "rw/iosystem/devices/Local/DRV_1?action=show" rel="self"></a>
<form id="set" method="post" action="rw/iosystem/devices/Local/DRV_1?action=set">
<select name="lstate">
<option value="enable"/>
<option value="disable"/>
</select>
</form>
<form id="set-inputdata" method="post" action="rw/iosystem/devices/Local/DRV_1?action=set-inputdata">
<input name="startbyte" value="" type="text"/>
<input name="signaldata" value="" type="text"/>
<input name="datamask" value="" type="text"/>
</form>
<form id="set-outputdata" method="post" action="rw/iosystem/devices/Local/DRV_1?action=set-outputdata">
<input name="startbyte" value="" type="text"/>
<input name="signaldata" value="" type="text"/>
<input name="datamask" value="" type="text"/>
</form>
<form id="subscribe" method="post" action="subscription">
<fieldset class="sub-unitstate">
<input name="resources" value="1" type="checkbox"/>
<input class="res" name="1" value="/rw/iosystem/devices/Local/DRV_1;state" maxlength="500" type="text"/>
<select class="priority" name="1-p">
<option value="0" selected="selected"/>
<option value="1"/>
</select>
</fieldset>
</form>
</div>
</body>
</html>
Actions
- set Set device state
- subscribe Subscribe on devices state
- lstate Logical state: {enable | disable}
- set-inputdata Set input data
- set-outputdata Set output data
- startbyte Start byte of data
- signaldata Signal data
- datamask data mask
- priority priority associated with the resource
Error Response
BAD REQUEST(400)
See Robot controller return codes
Sample Call
curl --digest -u "Default User":robotics "http://localhost/rw/iosystem/devices/Local/PANEL?action=show"
Notes
Not supported in bootserver mode