I've written a PRN generator in Python and I am trying to test the sequences to validate them. I have a bit error rate tester, but in order for everything to work, I need to provide it with clocked data.
Is there any way of getting raw binary data out of the computer via USB or serial? I haven't found any python modules which are capable of doing this, but the language I use doesn't really matter so if this is doable in a different language, I can use that.