Function

Description

IO24TCP_getStatus

Returns the status of an Eloxel IO24 TCP. See www.elexol.com for more.

IO24TCP_identity

Returns the status of an MAC address and firmware version of an Eloxel IO24 TCP. See www.elexol.com for more.

IO24TCP_setPin

Sets a single output pin on an Eloxel IO24 TCP. See www.elexol.com for more.

IO24TCP_setPort

Sets the 8-bit value of a whole port on an Eloxel IO24 TCP. See www.elexol.com for more.

LDAPSearch

Searches the LDAP Server.

getCookie

Returns the value of a particular Cookie.

ping

Send a ping to the specified address.

IO24TCP_getStatus

Click to expand

 

Takes as input the IP Address of the device sending the communication and the Port Number the data is being received on. This defaults to 2424.

 

Output

Description

valueA, valueB, valueC

Each is an 8 bit value showing the current state of 8 pins. A 0-7, B 8-15, C 9-23.

directionA, directionB, directionC

Each is an 8 bit value showing for 8 pins whether they are Input or Output. 0 is Output 1 is Input

pin00-pin23

The current state of an individual pin, 0 or 1.

IO24TCP_identity

identity

 

Takes as input the IPAddress of the device sending the communication and the Port Number the data is being received on. This defaults to 2424.

 

Output

Description

macAddress

The Mac Address as a String.

firmwareVersion

The firmware version as an Integer

IO24TCP_setPin

setPin

 

Takes as input the IPAddress of the device sending the communication and the Port Number the data is being received on. This defaults to 2424. Also the pin number to be set and the raise, 0 or 1 to set the pin to. Returns nothing.

IO24TCP_setPort

setPort

 

Takes as input the IPAddress of the device sending the communication and the Port Number the data is being received on. This defaults to 2424. Also the port group to be set (0=A, 1=B, 2=C) and the value which is an 8 bit number, 0 or 1 for each pin that is being set. Returns nothing.

getCookie

getCookie

 

Takes as input the name of the Cookie and optionally the path to that Cookie. Returns the value of a particular Cookie. If multiple Cookies match the name (which can happen if they have different paths), then one of them is returned at random. This can only be run when triggered by an anonymous http request.

LDAPSearch

Click to expand.

 

Takes as input a Biskit pointing to the server, the point from which the search is started, a string defining the filter to be used, and the scope of the search. Returns a list of results.

 

An LDAP filter, as defined by RFC2254, used for restricting which entries in the LDAP server are visible during authentication. If brackets are not supplied (like this) around the filter, then they will be added automatically.

 

For example:

 

( | (foo=123)(bar=37))

 

Or

 

foo=123

 

Note that a filter must be provided.

 

ping

ping

 

Takes as input address, which is either the IP address or name of the device to be contacted, and the timeoutMills being how long the maximum wait for a response is. Returns a boolean value defining whether the pong was successful.