You have some pieces that in general weren't designed to work together at the same time. The NS7 is a controller with a built-in USB sound card and 2 channel mixer. The Focusrite Scarlett is also a USB soundcard, so not sure why you would need both .. unless you have another application running simultaneously on a laptop that needs a dedicated output. The Maschine setup is primarily a groove and effect controller. Typically you would run that into a mixer as another input.
So maybe laptop via USB to all three: the NS7, the Maschine unit, and to the Scarlett. The Scarlett then via phono or 1/4" to a stereo input on the NS7 and the output of the Maschine to another input on the NS7. The issue is the NS7 (I believe) is a 2 channel unit, so you will be switching between the inputs.
Maybe if you give a bit of information on what you want to do with it all, that would help. Introducing yourself and using the Shift key would also be sweet.