You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-Added set_channel_connected() and set_all_connected() as public methods
-set_open_circuit_fault[_all]() enable_disable default value = True (DISCONNECTED)
-private check_transition() method added to driver for code organization
-Updated Test Script to include new methods
-Removed some commented out print debug statements
-README, pyproject minor version increase
Copy file name to clipboardExpand all lines: README.md
+8-6Lines changed: 8 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
# Bloomy Fault Insertion Unit Python Driver v1.0.0
1
+
# Bloomy Fault Insertion Unit Python Driver v1.1.0
2
2
This package enables RS485 communication to the Bloomy Fault Insertion Unit through a PC's serial ports.
3
3
4
4
The Fault Insertion Unit (FIU) is designed to be used in conjunction with the BS1200 to generate open faults and short to ground faults. It also has switching that allows precisions current and voltage measurements to be taken using an external DMM.
@@ -15,12 +15,12 @@ Tested on Windows 10 build 19043 64-bit, using Python 3.10.5
15
15
Tested on Ubuntu 18.04 WSL 1, using Python 3.7.4, 3.7.14
16
16
17
17
### Installation
18
-
To begin installation the fiu driver package, open a command line terminal in the directory that the v1.0.0 wheel distribution release was saved.
18
+
To begin installation the fiu driver package, open a command line terminal in the directory that the v1.1.0 wheel distribution release was saved.
If providing a full path to the .whl file, the terminal may be opened in any directory.
26
26
@@ -76,8 +76,10 @@ The FIU driver class provides the following public methods to interact with the
76
76
| connect | N/A | Instructs the driver's serial RS-485 interface to establish a connection<br>with the com resource |
77
77
| disconnect | N/A | Sets all channels on all FIU modules to CONNECTED state before instructing <br>the RS-485 serial interface to close the connection with the FIU |
78
78
| configure | shared_dmm (bool): value setting Shared DMM status | Set whether the system is using a shared DMM across multiple FIUs. |
79
-
| set_open_circuit_fault | mod_id (int): FIU module ID<br>channel (int): Channel to set open circuit state for (1-24)<br>enable_disable (bool): True to enable (DISCONNECTED) or False to disable (CONNECT) | Enable (disconnect) or disable (connect) an open circuit fault at a specified channel. |
80
-
| set_open_circuit_fault_all | mod_id (int): FIU module ID<br>enable_disable (bool): True to enable (DISCONNECTED) or False to disable (CONNECT) | Enable (disconnect) or disable (connect) open circuit faults at all channels in the system. |
79
+
| set_open_circuit_fault | mod_id (int): FIU module ID<br>channel (int): Channel to set open circuit state for (1-24)<br>enable_disable (bool): True to enable (DISCONNECTED) or False to disable (CONNECT) | Enable (disconnect) or disable (connect) an open circuit fault at a specified. Defaults to DISCONNECT channel. |
80
+
| set_open_circuit_fault_all | enable_disable (bool): True to enable (DISCONNECTED) or False to disable (CONNECT) | Enable (disconnect) or disable (connect) open circuit faults at all channels in the system. Defaults to DISCONNECT |
81
+
| set_channel_connected | mod_id (int): FIU module ID<br>channel (int): Channel to connect for (1-24)| Connect the specified channel. |
82
+
| connect_channels_all | N/A | Connects all channels in the system. |
81
83
| set_short_circuit_fault | mod_id (int): FIU module ID<br>channel (int): Channel to set short circuit fault on (1-24) | Sets a fault to ground at the specified channel. (Only one channel in the system can be set to ground fault at a time.) |
82
84
| set_voltage_measurement | mod_id (int): FIU Module ID<br>channel (int): Channel to set DMM voltage measurement on (1-24) | Sets the specified channel to voltage mode for DMM cell voltage measurement. (Only one channel in the system can be set to measurement mode at a time.) |
83
85
| set_current_measurement | mod_id (int): FIU Module ID<br>channel (int): Channel to set DMM current measurement on (1-24) | Sets the specified channel to current mode for DMM bypass current measurement. (Only one channel in the system can be set to measurement mode at a time.) |
0 commit comments