04-10-2012 07:55 AM
I want to convert an appended path string like (0000 3D11 03) reads from a text file to a Hex "string" 0000 3D11 03
04-10-2012 08:01 AM
Did you try searching the forums first?
You probably want to do a Scan From String.
04-10-2012 08:11 AM
Your question is not clear, since you use the word string in both cases and you seem to know the meaning in your head. Unfortunately, we are not mind readers. In the first "string" is that actually a sequence of bytes? Where does it come from. Is the second string a sequence of letters? In other words, in the second "string" is the "D" the letter "D", or the hex value of D? There are two different things.
04-10-2012 11:51 PM
I read in a text document from a server different HEX values depending on the equipment used. The Hex value is sent to a VI for TMT commands.
And the entrance which must be presented as HEX display (if i right click to the constant to the entrance).
04-11-2012 01:42 AM
I am still not clear..
Can you please post your code, what you have done so far. Then explain what you are not getting.
It might help us in suggesting a solution.
04-11-2012 01:48 AM
04-11-2012 03:34 AM
The problem is that I can not change the input of TMT command VI.
So the incoming string must be in HEX display format to the TMT command VI
04-11-2012 08:51 AM
@LVdummies wrote:
The problem is that I can not change the input of TMT command VI.
So the incoming string must be in HEX display format to the TMT command VI
I'm confused by your statement here. An input to a subVI doesn't have to be in any particular display. A string shows data as characters in normal display is still the same as a string showing the data with hex display. There is no difference in data, the only difference is the way the data is displayed to the user.