Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

bit

How to program individual bits in byte frame. Here I am using serial communication.

 

byte

bits

Element name

0

0

P3v3error

0

1

P3v3error

0

2

P3v1error

0

3

P3v5error

0

4

P3v3error

0

5

P3v3error

0

6

P3v3error

0

7

P3v3error

1

Spare 8 bits

Spare 8 bits

 

 

 

 

0 Kudos
Message 1 of 3
(3,247 Views)

Your question is far too vague, almost to the point of being meaningless. What is the context? In a serial communication you send bytes. What are you communicating with. What is your code? What message are you trying to create. If you expect an answer then please form a good question first.

0 Kudos
Message 2 of 3
(3,237 Views)

Assuming LabVIEW, you can typecast a U8 to a string. There is also the Byte Array to String.

0 Kudos
Message 3 of 3
(3,236 Views)