URL Command Document for IB8156

8.13 Virtual input

Note: Change virtual input (manual trigger) status.

Method: GET/POST

Syntax:

http://<servername>/cgi-bin/admin/setvi.cgi?vi0=<value>[&vi1=<value>][&vi2=<value>] [&return=<return page>]

 

PARAMETER

 

 

VALUE

 

 

DESCRIPTION

 

 

 

 

 

 

 

 

 

 

 

 

 

vi<num>

 

state[(duration)nstate]

 

 

Ex: vi0=1

 

 

 

 

 

 

 

 

 

Setting virtual input 0 to trigger state

 

 

 

 

 

Where "state" is 0, 1. “0”

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Ex: vi0=0(200)1

 

 

 

 

 

 

means inactive or

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

normal state while “1”

 

 

Setting virtual input 0 to normal state, waiting 200

 

 

 

 

 

 

means active or

 

 

milliseconds, setting it to trigger state.

 

 

 

 

 

 

triggered state.

 

 

Note that when the virtual input is waiting for next

 

 

 

 

 

Where "nstate" is next

 

 

state, it cannot accept new requests.

 

 

 

 

 

 

state after duration.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

return

 

 

<return page>

 

 

Redirect to the page <return page> after the

 

 

 

 

 

 

 

 

 

request is completely assigned. The <return

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

page> can be a full URL path or relative path

 

 

 

 

 

 

 

 

 

according the current path. If you omit this

 

 

 

 

 

 

 

 

 

parameter, it will redirect to an empty page.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Return Code

 

Description

 

 

 

 

 

200

 

The request is successfully executed.

 

 

400

 

The request cannot be assigned, ex. incorrect parameters.

 

 

 

 

 

Examples:

 

 

 

 

 

1.setvi.cgi?vi0=0(10000)1(15000)0(20000)1 No multiple duration.

2.setvi.cgi?vi3=0

VI index is out of range.

3.setvi.cgi?vi=1

No VI index is specified.

503The resource is unavailable, ex. Virtual input is waiting for next state.

User's Manual - 193

Page 193
Image 193
Vivitek IB8156-C user manual Virtual input, Ex vi0=02001 Means inactive or