A variable length strut device is illustrated for connecting two associated structures which includes an outer load bearing shell, a drive assembly, a length varying compliance assembly positioned by drive assembly, and a strut rod locking assembly. The load bearing shell includes a connecting part adapted for connection to a first associated structure. A strut connection rod has a connecting part adapted for connection to a second associated structure and a distal end having a piston driver slidably carried in a housing of compliance assembly. Two compliance pistons act in opposing directions on the piston driver to provide longitudinal compliance in a compliance mode of operation. Locking assembly includes locking balls which are urged in a locking ring as locking bolt is urged to the left by fluid pressure. Microswitches sense the displacement of pistons away from the internal ring to bring the pistons to a neutral position wherein the pistons are in contact with the internal ring when it is desired to do so as affected by a control source