Let me just start off by saying this is my first time working with armatures, vertex groups, hooks, and curves. I have watched many tutorial videos, read a few blogs but none of them have helped me accomplish what I want to accomplish. Basically, I want this cylindrical object to hang from the box-shaped object, I want them to be connected by a chord, and I want to be able to animate them all moving together. For example, if I move the box to the right, the chord should stay the SAME LENGTH, and the cylindrical piece should just dangle from it. Then, if I want to lower the cylinder, the chord should stretch and stay attached to the top of it, as well as stay attached to the box above.
The box and the cylinder are both parented to their own armatures. The bezier curve has two endpoints that are hooked to empty objects, and these empties are also parented to the aforementioned armatures. I just tried to animate them all using the armatures but I didn't get the results I wanted. I inserted a keyframe when the curve was very short in length on frame 0. I then tried to move the box to the right and drag the curve and the cylinder along with it and then extend the curve once the box stopped. But the box ended up being stationary and the cable stayed pretty much the same length in the end result. I have included screen shots containing all the relevant information I think someone would need to help identify the problem. I really hope somebody can help because I've been struggling with this for 2 weeks. If you need more info please tell me what you'd like to see specifically.

