See the attached python script. Python differs from Matlab in that it does not terminate the data written to the Visa object. You must terminate it manually (using "\n" for the RDK)
instead of: rdkVisa.write("CAPT:FRAM 2048");
you must write: rdkVisa.write("CAPT:FRAM 2048\n"); <-- notice the "\n"
I did a quick speed test and it IS faster, if only slightly.