README.md in prologix_gpib-0.5.0 vs README.md in prologix_gpib-0.5.2
- old
+ new
@@ -26,18 +26,20 @@
The gem comes with a simple cli for finding controllers:
```bash
$ plx list
-+-------------------------------------------------------------------------------+
-| Prologix Controllers |
-+-------+-------------------------------+---------+-----------------------------+
-| index | Controller | Version | Path |
-+-------+-------------------------------+---------+-----------------------------+
-| 0 | Prologix GPIB-USB Controller | 6.101 | /dev/tty.usbserial-PX9HPBMB |
-| 1 | Prologix GPIB-USB Controller | 6.107 | /dev/tty.usbserial-PXEGWA9A |
-+-------+-------------------------------+---------+-----------------------------+
++-----------------------------------------------------------------------------------------+
+| Prologix Controllers |
++-------+------------------------------------+--------------+-----------------------------+
+| index | Controller | Version | Location |
++-------+------------------------------------+--------------+-----------------------------+
+| 0 | Prologix GPIB-USB Controller | 6.101 | /dev/tty.usbserial-PX9HPBMB |
+| 1 | Prologix GPIB-USB Controller | 6.107 | /dev/tty.usbserial-PXEGWA9A |
+| 2 | Prologix GPIB-LAN Controller | 01.03.00.00 | 192.168.10.161 |
+| 3 | Prologix GPIB-ETHERNET Controller | 01.06.06.00 | 192.168.10.127 |
++-------+------------------------------------+--------------+-----------------------------+
$ plx info 0
Prologix gpib-usb controller
Path: /dev/tty.usbserial-PX9HPBMB
@@ -48,10 +50,22 @@
Read Timeout: 200
EOI Assertion: Enabled
EOS: Append CR+LF
EOT: Enabled
+plx info 3
+
+ Prologix gpib-ethernet controller
+ Path: 192.168.10.127
+ Firmware: 01.06.06.00
+ Mode: Controller
+ Device Address: 5
+ Auto Read: Enabled
+ Read Timeout: 500
+ Eoi Assertion: Enabled
+ Eos: Append CR+LF
+ Eot: Disabled
```
### Finding Controllers
```irb
@@ -65,10 +79,10 @@
```
### Working with Controllers
-I'm not enamoured by this interface, I'd like a more ruby like way of finding and connecting controllers thats less clunky. It works for now, but may change as we refine the implementation.
+I'm not enamoured by this interface, I'd like a more ruby like way of finding and connecting controllers thats less clunky. It works for now, but may change as we refine things.
```ruby
irb(main):003:0> device = PrologixGpib::UsbController.new(controllers[:usb][0])
=> #<PrologixGpib::UsbController:0x00000001574c4098 @serial_port=#<Serial:0x00000001574bfef8 @config=#<RubySerial::Posix::Termios:0x00000001574bf728>, @fd=9, @open=true>>