When writing a LabVIEW VI to control Zaber devices for a long test, can it recover from errors and continue the test while displaying the error text in a field? The VI is using the Zaber LabVIEW driver.
Error handling with Zaber devices in LabVIEW
481 Views Asked by Don Kirkby At
1
There are 1 best solutions below
Related Questions in LABVIEW
- Laview PID.vi continues when event case is False
- Adding an event to an event structure
- Labview diagram creation API
- Is there a better way to create a 1D array with n number of elements in LabVIEW?
- Labview programming
- Syncing data logger iphone app start time with Labview start time
- How to compile VIs for different targets with compile flags in LabVIEW?
- Communicating between a PC and UR5 Universal Robotics Robot Arm using TCP/IP LabVIEW
- Data conversion in LABVIEW
- Rounding in LABVIEW
- speech to text conversion on Labview
- error MSB3073: :VCEnd" exited with code 2
- Labview matrix confusion
- Mindstorms EV3 - Find largest number in array
- Using LabVIEW for recording and playing sound (buffer size issue)
Related Questions in MOTION
- Is it possible to have a command last only while the object is moving?
- AS3 + webcam. Dispatch event on presence
- Three.js importing a character with skeleton from 3ds max
- android detect no movement
- android how to get last movement
- What is the appropriate motion sensor for movement?
- convert linear acceleration into world frames in android
- onTouchListener motion - action up and move
- swipe across button without finger leaving the screen
- Ease of Motion, Programming Tweening, c++
- Motion action up when moving from view to view without lifting finger from the screen
- How do I find exact rest points?
- opencv C++ - Shapes processing and tracking
- How to control the speed of bullets?
- Unity 3D leap motion
Related Questions in ZABER
- Python, pyserial program for communicating with Zaber TLSR300B
- Sample C++ code for Zaber devices
- Using C# to program a zaber stage but getting null variable error in my code for "var speed"
- Coordinating a Zaber device's movement with sensor readings
- Diagnose communication problems with a Zaber device
- Track position of Zaber device while moving
- Track position of a Zaber device as it moves
- Error handling with Zaber devices in LabVIEW
- Pause and resume a Zaber Console script
- Script Zaber devices on multiple serial ports
- Unexpected responses from Zaber devices in LabVIEW
- How do I open the serial port to a Zaber device?
- What is the name of the setting corresponding to the maximal acceleration on my Zaber device axis?
- How do I hold a specific position using Zaber Console Script?
- Why doesn't Zaber device show up in dev directory?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
The National Instruments web site has an article on handling errors. The basic technique is to wire the error output of each VI to the input of the next VI. Any VI that sees an error on its input line should skip its function and pass the error along.
To recover from an error, you just clear the error line and continue with your regular routine. Of course, you probably want to check the error code to make sure it's one that you want to recover from, and you probably want to record the error in a log or something. You might also want to perform some logic to move the Zaber devices back to their starting positions and settings.
In this example from our web site, the basic routine is to keep executing MoveRelative commands to extend the device. Obviously, it will eventually run out of room and return an error. When the error occurs, the error message is displayed in a field, and the device is moved back to position 0, where the basic routine can start again.