Instrument-control Toolkit - visadev


: dev = visadev (resourcename)
: dev = visadev (resourcename, propertyname, propertyvalue …)

Open visadev interface.

Inputs

resourcename - name of visadev device to open.

propertyname, propertyvalue - property name/value pair

Known input properties:

Tag

tag value assigned to the visadev object

Timeout

timeout value in seconds used for waiting for data

Outputs

visadev() shall return instance of octave_visadev class as the result dev.

Properties

The visadev object has the following public properties:

Tag

user tag assigned to the visadev object

Type

instrument type (readonly)

Status

status of the object ’open’ or ’closed’ (readonly)

Timeout

timeout value in seconds used for waiting for data

NumBytesAvailable

number of bytes currently available to read (readonly)

MulticastGroup

multicast group socket is subscribed to (readonly)

Terminator

Terminator value used for string data (readonly)

Other properties are available depending on the visadev type and can be retrieved using te properties function.

See also: properties, visadevlist.