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
485 Views Asked by Don Kirkby At
1
There are 1 best solutions below
Related Questions in LABVIEW
- Writing Waveform data into CSV file in LabVIEW
- Why does a LabVIEW VI work perfectly in a blank project, but not in a myRIO project?
- LabVIEW to .csv: Data in Header Line
- Why can't I write to a text file in a myRIO project?
- how I can include a second Compact RIO chassis in my labview project
- starting address of the delta plc AS228p-A in Modbus TCP/Ip connection
- Viewpoint .XLSX Toolkit: Writing Formulas to Excel Cell and Reading Resulting Values
- Why does a while loop prevent a case structure from changing states, and how can I fix it?
- How to create Python code from LabView code
- Running an EXE with a set WindowTitle
- open the Image from the HDF5 file using Labview
- Can I execute S-Function/C code generated by Simulink Coder in LabVIEW/FPGA?
- LabView - how to change scales on Waveform graph without changing the display?
- The [save report to file.vi] in report generation tool always Prompt regardless of whether the file to be saved already exists
- LabVIEW - Specify network card from multiple
Related Questions in MOTION
- How can I fit my data better or shift my data? My fit is way below my data
- Motion Detection by Yolo and Tracker's data
- Seeking Recommendations for Implementing Real-Time Indoor Navigation with User Movement Representation on 2D Map in Android App
- I am trying to find car motions with two cameras on Carla but the results are meaningless
- How to square a sheet from 2 grip points
- TextView animated with Motion Layout not appearing at Start of animation
- How are images and src links stored as variables to be selected in JS?
- Motion end Path to shape position in slide
- How to Solve Error 0x4260: Controller Enable Signal Lost in Axis, StateDWord 0x21a1301 in beckhoff twincat3 NC-PTP Motion?
- Motion playing twice in react custom modal hook
- Is there a way to create specific anchor point for a specific keyframe?
- How to add motion effects in video like zoom in, zoom out, move left using AVMutableComposition swift iOS
- How to implement a random natural motion for a single particle?
- I want to get a graph of the labaratory rabbit limb movement
- How to detect the motion of a shape (blob) from scratch (in c, not using openCv)
Related Questions in ZABER
- What is the name of the setting corresponding to the maximal acceleration on my Zaber device axis?
- How do I open the serial port to a Zaber device?
- Using C# to program a zaber stage but getting null variable error in my code for "var speed"
- Track position of Zaber device while moving
- Why doesn't Zaber device show up in dev directory?
- How do I hold a specific position using Zaber Console Script?
- Python, pyserial program for communicating with Zaber TLSR300B
- Diagnose communication problems with a Zaber device
- Coordinating a Zaber device's movement with sensor readings
- Pause and resume a Zaber Console script
- Sample C++ code for Zaber devices
- Unexpected responses from Zaber devices in LabVIEW
- Error handling with Zaber devices in LabVIEW
- Script Zaber devices on multiple serial ports
- Track position of a Zaber device as it moves
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 # Hahtags
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.