I am somewhat new to VB6. I am having the error above when I restart my program (Start->Stop->Start->Error). There is no error on the first start. I understand that the oldmGetValidSample is an imported function, but, for some reason, on the second start, samples is set to 0 instead of being updated. What does oldmGetValidSample do to the samples variable exactly?
Question
SLam5
Error: valid samples = 0 <> adc bufferlength = 4800
I am somewhat new to VB6. I am having the error above when I restart my program (Start->Stop->Start->Error). There is no error on the first start. I understand that the oldmGetValidSample is an imported function, but, for some reason, on the second start, samples is set to 0 instead of being updated. What does oldmGetValidSample do to the samples variable exactly?
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now