Function File: numbytes = write (obj, data)
Function File: numbytes = write (obj, data, destinationAddress, destinationPort))
Function File: numbytes = write (obj, data, datatype)
Function File: numbytes = write (obj, data, datatype, destinationAddress, destinationPort)

Writes data to UDP instrument

Inputs

obj is a UDP object.
data data to write.
datatype datatype of data. If not specified defaults to uint8.
destinationAddress ipaddress to send to. If not specified, use the remote address.
destinationPort port to send to. If not specified, use the remote port.

Outputs

returns number of bytes written.

Package: instrument-control