A latching solenoid gate valve comprising: a housing defining a conduit having a flow path therethrough and a cavity separating the conduit into a first section and a second section ; a gate assembly enclosed within the cavity of the housing , the gate assembly comprising: a first gate member comprising magnetizable material and defining an opening therethrough, the first gate member being linearly movable within the cavity between an open position with the opening aligned with the conduit and a closed position with the opening out of alignment with the conduit ; a first solenoid assembly and a second solenoid assembly seated within the cavity with the gate assembly linearly translatable therebetween; wherein the first gate member is moved linearly from either the open position or the closed position by activating one of the first and second solenoid assemblies to magnetically attract the first gate member thereto while simultaneously activating the other of the first and second solenoid assemblies to magnetically repulse the first gate member ; characterized in that each of the first solenoid assembly and the second solenoid assembly comprises a circuit board and a winding electrically connected to the circuit board ; and wherein the circuit board comprises a microcontroller electrically connected to a first H bridge for the first solenoid assembly with the winding of the first solenoid assembly as a load of the first H bridge , and wherein the microcontroller is electrically connected to a second H bridge for the second solenoid assembly with the winding of the second solenoid assembly as a load of the second H bridge ; wherein the first and second H bridges are electrically connected to the microcontroller to each energize the winding in the first solenoid assembly and the second solenoid assembly , respectively, with current in either direction. a housing defining a conduit having a flow path therethrough and a cavity separating the conduit into a first section and a second section ; a gate assembly enclosed within the cavity of the housing , the gate assembly comprising: a first gate member comprising magnetizable material and defining an opening therethrough, the first gate member being linearly movable within the cavity between an open position with the opening aligned with the conduit and a closed position with the opening out of alignment with the conduit ; a first solenoid assembly and a second solenoid assembly seated within the cavity with the gate assembly linearly translatable therebetween; wherein the first gate member is moved linearly from either the open position or the closed position by activating one of the first and second solenoid assemblies to magnetically attract the first gate member thereto while simultaneously activating the other of the first and second solenoid assemblies to magnetically repulse the first gate member ; characterized in that each of the first solenoid assembly and the second solenoid assembly comprises a circuit board and a winding electrically connected to the circuit board ; and wherein the circuit board comprises a microcontroller electrically connected to a first H bridge for the first solenoid assembly with the winding of the first solenoid assembly as a load of the first H bridge , and wherein the microcontroller is electrically connected to a second H bridge for the second solenoid assembly with the winding of the second solenoid assembly as a load of the second H bridge ; wherein the first and second H bridges are electrically connected to the microcontroller to each energize the winding in the first solenoid assembly and the second solenoid assembly , respectively, with current in either direction. <EOS>