qc_draw_text qc_get_network_interfaces navigation bar

Table of Contents

qc_find_ati_netft_sensors

Scans the local network for ATI Net F/T sensors.

Syntax

devices = qc_find_ati_netft_sensors(nic, timeout) % Use specified NIC and timeout in seconds
devices = qc_find_ati_netft_sensors(nic)          % Use specified NIC
devices = qc_find_ati_netft_sensors(timeout)      % Use specified timeout in seconds
devices = qc_find_ati_netft_sensors               % Use default timeout
    

Description

Scans the local network for ATI Net F/T force-torque sensors and returns a structure array containing information about each device, such as their IP address and MAC address. Note that this process is slow. It may take 10 seconds or more for this function to return. The optional timeout argument allows this time to be adjusted.

If a nic argument is provided then it scans on the given network interface only. Providing a NIC address is recommended because the default may not be the correct interface. If no nic argument is provided it uses the system default. The qc_get_network_interfaces function may be used to get the IP addresses of the network interfaces available. An IPv4 address must be used and passed as a character array.

The timeout argument, if provided, is the timeout in seconds at which the search is abandoned. If no timeout is provided then a timeout of 10 seconds is used as the default.

The devices information is a structure array containing a variety of details about each device found. The most important field is the ip_address field, which supplies the IP address of the sensor.

Parameters

nic

timeout

Outputs

devices

A structure array containing information about each of the ATI Net F/T sensors found.

Examples

devices = qc_find_ati_netft_sensors('192.168.0.16');  % Returns information about the ATI Net F/T sensors on the 192.168.0.16 network.
    

See Also

 

navigation bar