LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Binary string from external device to number

I'm recieving a binary string from a datalogger (webDAQ) via ActiveX. I'm sending the data from the datalogger in binary representation. The recieved data in LabVIEW is "pink", meaning it's not binary, but maybe a binary string. How can I make this regular numbers in LabVIEW? (When I put an indicator on the outputstring, it doesn't look binary or hex, (not 1100101 etc or, 1F, A4... etc, but weird symbols and letters...)) Hope someone can help me!! -Margrete c",)
0 Kudos
Message 1 of 4
(2,851 Views)
I think it is coming out as a binary string. Right click on the string indicator and change it from normal display to hex display. You should now see a hex equivelent. Now use the Unflatten From String VI to unflatten this binary string back to a numeric.
0 Kudos
Message 2 of 4
(2,851 Views)
Thanks a lot 🐵
0 Kudos
Message 3 of 4
(2,851 Views)
Hi Blimpie Boy 🙂

I hope you read this, because I think you can help me!! 🙂 Changing the indicator to hex display helped and I can see the file as hex values. I've also tried the Unflatten from string, but wasn't quite as lucky there... The binary file is a report from an external datalogger, WebDAQ/100 which ftps the report in binary format to a file. LabVIEW reads this file (which is a .dat-file). I've tried different read-functions. When I use Read Characters from File.VI and unflatten from string after that, the result makes NO sense. I've tried different options for the TYPE-input, and they give different answers, but none of them give the data which the datlgooger i sending. How do I know that to put in the cluster on the type-input? Hope you can
help me again, Blimpie Boy 🙂 -Or someone else 🙂

-Margrete c",)
0 Kudos
Message 4 of 4
(2,851 Views)