Module: PrologixGpib::Discovery

Included in:
Finder
Defined in:
lib/prologix_gpib/discovery.rb

Defined Under Namespace

Classes: Error, IPAddr, MacAddr, NFHeader, NFIdentifyReply

Constant Summary collapse

NF_MAGIC =
0x5a
HEADER_FMT =
'CCna8'
NF_IDENTIFY =
0
NF_IDENTIFY_REPLY =
1
BROADCAST_PORT =
3040
BROADCAST_ADDRESS =
'255.255.255.255'
TIMEOUT =
0.5

Instance Method Summary collapse

Instance Method Details

#avaliable_controllersObject



10
11
12
# File 'lib/prologix_gpib/discovery.rb', line 10

def avaliable_controllers
  { usb: usb_device_paths, lan: lan_device_ips }
end