wiki:WARPLab/Reference/Commands/Transport

Transport Commands Technical Reference

Transport commands are selected as string inputs to the wl_transportCmd method in wl_node.m. These strings are each individual cases of the switch statement in procCmd method of wl_transport_eth_udp_java.m or wl_transport_eth_udp_pnet.m.

Syntax

MATLAB allows two valid forms of syntax for calling methods

  • Let N be a scalar or vector of wl_node objects
  • Let command_string be a string containing a particular command
  • Let arg be an argument for that command (optional)

Syntax 1: wl_transportCmd(N, command_string, arg1, arg2, ..., argN)

Syntax 2: N.wl_transportCmd(command_string, arg1, arg2, ..., argN)

These two different forms of syntax are identical and either may be used for issuing commands to WARP nodes.

Command List and Documentation

ping

Test to make sure node can be accessed via this
transport

Arguments: none

Returns: true if board responds; raises error otherwise

payload_size_test

Determine's objects maxPayload parameter

Arguments: none

Returns: none

Last modified 7 years ago Last modified on May 6, 2013, 4:31:14 PM