Overview
This example VI provides several approaches to extract data from strings sent from external equipment.
Description
Usually, you can use “regular expression pattern matching” to find a certain format from the equipment output string. But, this VI shows you several methods to get important data from the long string if know the certain location of the important data in the string. In the VI, a long string displayed as Hex represents data from the equipment, four methods get 3 bytes starting at position 9 and show the data as U32, array of U8 values or a String.
Requirements
Steps to Implement or Execute Code
Additional Information or References
VI Snippet
**This document has been updated to meet the current required format for the NI Code Exchange.**
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.
please send your porgram in LV 2009 or 2010