From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
08-19-2010 02:34 AM
4BYTES HAS BEEN ALLOCATED
12.961126 |
2.
1 BYTE |
1 BYTE |
1 BYTE |
1 BYTE |
3.
THEN CONVERT TO HEX FORMAT (BYTEWISE)
NOTE:rough value taken for explanation
NOTE:WHOLE 4 BYTES ARE NOT CONVERTED TO HEX.HERE BYTE BY BYTE IS CONVERTED TO HEX
4B |
56 |
A4 |
FF |
4.
NOW GETTING BACK THE ORIGINAL VALUE.
This im facing while getting float value from visa read.any HELP
08-19-2010 03:45 AM - edited 08-19-2010 03:51 AM
One way to convert is to just use type cast. It works also in the other direction (Byte array to Float). But it seems I don't get your numbers.
EDIT: If you need it in string format use the corresponding conversion function:
Hope this helps.
08-19-2010 05:06 AM - edited 08-19-2010 05:09 AM
Hi dan,
I knew 1st ill be receiving this post.
im looking for seperate byte by byte of float to hex conversion and viceversa not the whole float conversion.
no problem with that.
I want the same thing to be done in byte by byte.
08-19-2010 05:36 AM
Hi,
I Cant able to open your attachment. please give me a snapshot of your attachment or a doc which can open with word 2003.
Thanks
08-19-2010 06:15 AM
Did you look at the 2nd image in my post?
This returns an array, so you can operate byte-wise.
08-19-2010 06:16 AM
Hello,
if I understand your problem, you need to use the "String to Byte Array" node to convert the raw string to its byte representations to send them via VISA.
@ Baji: Problems with docx are to be solved here: http://www.microsoft.com/downloads/details.aspx?FamilyId=941b3470-3ae9-4aee-8f43-c6bb74cd1466&displa...
greets, Dave
08-19-2010 07:12 AM - edited 08-19-2010 07:14 AM
hey Dan,
send me the vi of what you are getting
08-19-2010 07:16 AM
Here you are.
08-19-2010 07:23 AM
Hi baji,
vi attached of what we were discussing
08-19-2010 07:41 AM
Hey dan,
only number 41 matches others wont.
see the vi i have attached