qc_open_target_dialog End of trail navigation bar

Table of Contents

qc_find_targets

Finds QUARC targets on the local network.

Syntax

targets = qc_find_targets(ports) % Look for targets on the given ports
targets = qc_find_targets        % Look for targets on the default port
    

Description

Scans the local network for QUARC targets and returns a structure array containing information about each target, such as the URI, target type and version information. Note that this process is slow. It may take 30 seconds or more for this function to return.

If a vector of ports is provided then it scans on the given TCP/IP ports. Otherwise it only checks the default port.

The target information is a structure array containing the target URI, the target type, and the major, minor, release, build and revision numbers, as well as the year, month and day assigned to the QUARC product, and the actual date and time QUARC was compiled.

Parameters

ports

A numeric vector of port numbers in the range 0 to 32767.

Outputs

targets

A structure array containing information about each of the QUARC targets found.

Examples

        targets = qc_find_targets; % Returns information about the QUARC targets on the network.
    

See Also

 

navigation bar