Quantcast
Channel: All LabVIEW posts
Viewing all articles
Browse latest Browse all 202002

Re: Hexadecimal string to 0x00000000 to write data into niHSDIO Write Static (U32) VI

$
0
0

Hi victor,

 


 wrote:

The Hexadecimal string is the correct output but I need to connect that output to the "write data" of that niHSDIO Write Static (U32) vi and it requires a different format. So I'm trying to figure out how to do it.


When the "String" really is correct then you just need to convert it into a U32 value. Use ScanFromString with %b as format and a "0" constant set to U32 datatype…

 

But again: Your whole VI is a big Rube-Goldberg!

All your controls (Brykte) should be boolean switches, All the booleans should be used with BuildArray, followed by a simple BooleanArrayToNumber. Or start right with a boolean array - as suggested before. There is no need for any string wires in this VI!


Viewing all articles
Browse latest Browse all 202002

Trending Articles



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