03-30-2013 02:35 AM
Hi,
My requirement is like printf statement in c.
I have the 32 bit array of integer data.
I want to print in the labview like
u32Data [0] : 0x12345
u32Data [1] : 0x45566
similary in c code is
for (i=0; i<5; i++)
printf ("u32Data [i] : 0x%X ", i, u32Data [i]);
similarly like this how can print it in the string pallette or any other.
Solved! Go to Solution.
03-30-2013 03:37 AM
03-30-2013 03:49 AM
Can you please tell me.
How to create the macros in the labview.
Like below mentioned
#define sqrt (x) (x * x)
04-01-2013 08:51 AM - edited 04-01-2013 09:10 AM
Hi Rama,
there are no "macros" in LabVIEW. There are built-in functions and functions made by you.
SQRT() is a built-in function available in the math/numerics palette! And you will also find a SQuaRe() function - it's irritating to name a term like "x*x" with a common abbrevation of SQuareRooT()!
Please stop creating duplicate posts! This is highly annoying...