import sys
import struct

import numpy as np

import matplotlib
from importlib import reload
from PyQt5 import QtNetwork

import sys
sys.path.append(r'C:\Users\DJannis\Documents\RedPitaya\red-pitaya-notes\projects\scanner\client')
import Scanner_Module as SM


ip = '172.16.31.10'

address = QtNetwork.QHostAddress()
address.setAddress('172.16.31.10')

#ip = '192.168.3.11'
scanner = SM.Scanner_module()
scanner.ConnectIPAdress(address)
# scanner.socket.connected.connect(scanner.connected)
# scanner.connected()
scanner.scan()



import sys
import struct

import numpy as np

import matplotlib
from importlib import reload
from PyQt5 import QtNetwork

import sys
sys.path.append(r'C:\Users\DJannis\Documents\RedPitaya\red-pitaya-notes\projects\scanner\client')
import Scanner_Module as SM


ip = '172.16.31.10'

address = QtNetwork.QHostAddress()
address.setAddress('172.16.31.10')

#ip = '192.168.3.11'
scanner = SM.Scanner_module()
scanner.ConnectIPAdress(address)
# scanner.socket.connected.connect(scanner.connected)
# scanner.connected()
scanner.scan()



#ip = '192.168.3.11' # scanner.socket.connected.connect(scanner.connected) # scanner.connected()