numbytes =
write (obj, data)
¶numbytes =
write (obj, data, destinationAddress, destinationPort))
¶numbytes =
write (obj, data, datatype)
¶numbytes =
write (obj, data, datatype, destinationAddress, destinationPort)
¶Writes data to UDP instrument
obj is a UDPPort 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 previously used remote address.
destinationPort port to send to. If not specified, use the remote port.
returns number of bytes written.
Package: instrument-control