Function File: [list] = instrhwinfo ()
Function File: list = instrhwinfo (interface)

Query available hardware for instrument-control

When run without any input parameters, instrhwinfo will provide the toolbox information and a list of supported interfaces.

Inputs

interface is the instrument interface to query. When provided, instrhwinfo will provide information on the specified interface.

Currently only interface "serialport","i2c" and "spi" and is supported, which will provide a list of available serial ports or i2c ports.

Outputs

If an output variable is provided, the function will store the information to the variable, otherwise it will be displayed to the screen.

Example

instrhwinfo
scalar structure containing the fields:

   ToolboxVersion = 0.4.0
   ToolboxName = octave instrument control package
   SupportedInterfaces =
   {
     [1,1] = i2c
     [1,2] = parallel
     [1,3] = serialport
     [1,4] = tcp
     [1,5] = udp
     [1,6] = usbtmc
     [1,7] = vxi11
   }

Package: instrument-control