LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

convert binary

how can i convart decimal to binary in CVI??
0 Kudos
Message 1 of 2
(2,904 Views)
Assuming you have a decimal number represented in a string, and want to put it in an int, float or double variable I would suggest using the Scan(), sscanf(), atoi(), atol(), or atof() functions. The first one is a CVI function (see 'Scanning Functions' in the CVI help), the others are part of the ANSI C standard library.
--
Martin
Certified CVI Developer
Message 2 of 2
(2,888 Views)