Skip to content

Latest commit

 

History

History
22 lines (18 loc) · 1.47 KB

File metadata and controls

22 lines (18 loc) · 1.47 KB

TcpSocket

Definition

A class used to represent a network TCP socket for remote communication to SpikeSafe.

Attributes

Name Description
default_log_level Default Log Level for messages when enable_logging is True
enable_logging Enable Logging on functions called in TcpSocket class
socket_ip_address IP address of for the TCP/IP socket.
tcp_socket TCP/IP socket for remote comuications to SpikeSafe.

Functions

Name Description
close_socket(self) Close a TCP socket for SpikeSafe.
open_socket(self, ip_address, port_number, enable_logging = None) Opens a TCP socket for a SpikeSafe.
read_data(self) Read data from a SCPI Query sent to a remote SpikeSafe.
send_scpi_command(self,scpi_command, enable_logging = None) Sent a SCPI command to a remote SpikeSafe.