Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Is big and small endian still around?

Hi fellow members;

 

Linking with the modern days gpib-32 or the ni488 library/obj, do ones still need to be concerned with the small and big endian conversion in board level or device level calls or they are obsoleted with platform independence implementation nowadays?

thanks

0 Kudos
Message 1 of 3
(2,816 Views)

Since most instruments use SCPI, an ASCII data format, endianness is not really needed anymore.  Some instruments will send large data in binary form, but you usually get to choose the byte order.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 3
(2,792 Views)

Endian is still important when dealing with certain communication packages like CAN (Controller Area Network).  It defines the order of how bits are sent and then rearranged on the other platforms.  Motorola and Intel processors still use different types.


@crossrulz wrote:

Since most instruments use SCPI, an ASCII data format, endianness is not really needed anymore.  Some instruments will send large data in binary form, but you usually get to choose the byte order.


 

Help the Community (and future reviewers) by marking posts as follows:
If it helped - KUDOS
If it answers the issue - SOLUTION
0 Kudos
Message 3 of 3
(2,757 Views)