Jump to content

My Vi return me error 01 when I press "Get A-Scan". How can I correct it ?

Recommended Posts

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 by I HAVE A DREAM
Link to post

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.

  • Like 1
Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

By using this site, you agree to our Terms of Use.