Quantcast
Channel: Instrument Control (GPIB, Serial, VISA, IVI) topics
Viewing all articles
Browse latest Browse all 5664

Data Conversion

$
0
0

I am not new to Labview, but this problem of converting/ faltening and unfaltening etc. in LVB always gets me.

 

I have a simple but basic question regarding the conversion of strings to integers, Hex numbers visa  verse and so on.

For example I have  characters tring, say 1234abc. I want to be able to seperate each character in it into seperate numbers or characters as the case may be, so I can use each of them seperately.

For exaple, I have a tab contorl with several panes and I want to set the property PageEnbl for all pages from a single control. So with 3 pages, if I set the control to 012, the first page will be enabled, 2nd disabled and 3rd will be disabled and greyed.

I have tried every data manipulation icon but can't seem to get this string to convert into three seperate numbers, 0, 1 and 2.

Any help to do this would be much appreciated.

Also is there is a link to a tutorial (?) on such simple conversions ? Most examples in the NI library deal with more complex things line big endian and so on.

 

Thanks.

 

Bhal Tulpule


Viewing all articles
Browse latest Browse all 5664

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>