UShort array to any type (Bit conversion) HEEELP

M

Marco [Stinger]

COMPACT FRAMEWORK

Hi
Newbe question:

I've got an external (Embedded C+) function that reads a PLC and returns an
array of 16 unsigned (PLC people call them WORD, but in C# thay should
be UShort).
That array contains the bits required to valorize a variable of variuos
kinds:
can be a char, Byte, Short, UShort, Int, UInt and Float.

THA QUESTION IS:
How do I convert in CF C# the BITS (or BitArray) contained in thoose
UShort in a Float (etc....)

PLEEEEEESE Help

Ciao
Marco
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top