Greetings,
You may have some luck scouring our website for examples. However, you will be taking a trip back in time almost 10 years. The web was in its infancy and I'm sure our website was not what it is today. Basically, there aren't many examples and support for QBasic has long since been dropped. My best suggestion would be to leverage Visual Basic and consider upgrading your NI-DAQ driver.
I sincerely apologize that I am unable to help you with this issue.
Regards,
Justin Britten