Good morning Sammy,
Thanks for contacting National Instruments with your issue, we'll try our best to resolve it for you as quickly and efficiently as possible.
There should be no reason why your PXI-5620 Digitizer shouldn't be able to work with the example you mentioned, you shouldn't need any of the other devices. More important than the error code (-1074135024) would be where in the code it threw this error. When the error message comes up, it should tell you " Error -1074135024 occurred at: niScope xxxxxxx.vi".
Which VI this error is coming from will give us a better idea of which value is invalid for which parameter or property. In all likelihood, one of the settings you've chosen in the Front Panel of this example is not supported, or beyond the allowable ranges for the PXI-5620. I.e. you chose the minimum sample rate to be too high, or the voltage limits are beyond what the card can safely handle etc.
Best of luck with your project.
Sincerely,
Minh Tran
Applications Engineering
National Instruments