From 11:00 PM CDT Friday, August 9 - 11:00 AM CDT Saturday, August 10, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

# LabVIEW

cancel
Showing results for
Did you mean:

Solved!
Go to solution

## Re: HEX Problem

Hi,

After following Cameronds advice i am definitely getting warmer.

Now i see the correct string in HEX view and Code display.

Except..... The data part needs to be flipped as it is read little endian.

Can someone help me with this final hurdle!!

Thanks Guys!

Kudos coming!!

Message 21 of 29
(1,148 Views)

## Re: HEX Problem

Flatten to String has an input that determines the endianness of the values.

Message 22 of 29
(1,144 Views)

## Re: HEX Problem

Could you give me an example plesae

Thanks

Message 23 of 29
(1,140 Views)
Solution
Accepted by topic author Detox92

## Re: HEX Problem

Haven't followed the full thread here, but if you're using Type Cast as suggested, replace it with Flatten to String, which has an input for endianness.

Message 24 of 29
(1,135 Views)

## Re: HEX Problem

@Detox92 wrote:

Could you give me an example plesae

Give it a try before asking for an example. You might find it's simple.

Message 25 of 29
(1,130 Views)

## Re: HEX Problem

No problem, I will do tomorrow.

Thanks

Message 26 of 29
(1,119 Views)

## Re: HEX Problem

Or you could always just reverse the string, since you don't need an "anything" input. (And, the icon IS smaller than the "Flatten to string" icon, so it must be faster.)

Cameron

To err is human, but to really foul it up requires a computer.
The optimist believes we are in the best of all possible worlds - the pessimist fears this is true.
Profanity is the one language all programmers know best.
An expert is someone who has made all the possible mistakes.

To learn something about LabVIEW at no extra cost, work the online LabVIEW tutorial(s):

LabVIEW Unit 1 - Getting Started</ a>
Learn to Use LabVIEW with MyDAQ</ a>
Message 27 of 29
(1,109 Views)

## Re: HEX Problem

This would have been easier if the original poost had been correct.  You stated you had to send a HEX STRING to a device.  If reality you are sending a HEX VALUE as a string.  These are two totally different things.  I'm glad you seem to be getting it working but a clear an correct description would have made this a lot easier.

Kelly Bersch
Certified LabVIEW Developer
Kudos are always welcome
Message 28 of 29
(1,103 Views)

## Re: HEX Problem

Thanks people......

The Flatten to String worked a treat.

Alex

Message 29 of 29
(1,077 Views)