I HAVE A DREAM Posted August 21, 2016 Report Share Posted August 21, 2016 (edited) Hello I am implementing a Time of Flight analysis for ultrasonic waves. My Vi return me error 01 when I press "Get A-Scan". How can I correct it ? The scénario ist quite simple: - I should simulate an ultrasonic wave(ref. Pictures) so that -the user could call/display the differents Ultrasonic Scan(A-scan, B-Scan, C-Scan, etc) -The User should be able to estimate the time of flight. Time of flight definition: (TOF) describes a variety of methods that measure the time that it takes for an object, particle or acoustic, electromagnetic or other waves to travel a distance through a medium. Short, the estimated time between the input impulse and the reflected impulse. I got inspired by the LabVIEW Ultrasonic Starter-kit. PS: don't hesitate to make me any remarques. We learn by making mistakes. My question.7z Edited August 21, 2016 by I HAVE A DREAM Quote Link to comment
Jimmy Chretien Posted August 25, 2016 Report Share Posted August 25, 2016 In your middle loop, the queue reference is not passed outside the case structure, so at the next iteration, the shift register returns a null reference which the Dequeue function doesn't know what to do with, returns an error. There's no point to use a shift register for references, unless you need to generate a new reference or something, just delete the shift register and use a simple tunel, or wire the reference all the way. 1 Quote Link to comment
I HAVE A DREAM Posted August 29, 2016 Author Report Share Posted August 29, 2016 Thank you very much Jimmy Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.