当前位置:网站首页>Difference between LabVIEW small end sequence and large end sequence
Difference between LabVIEW small end sequence and large end sequence
2022-04-23 03:54:00 【bjcyck】
LabVIEW The difference between small end sequence and large end sequence
We can see that there are small end sequences and large end sequences in some example programs , What does the byte order here mean ?
answer : endian It shows how multi byte binary numbers are stored .
For example, , Double bytes can be stored in large endian format (MSB LSB) Or small endian format (LSB MSB),MSB The most significant byte is stored instead of LSB The least significant byte is stored . For example, you want to use double bytes to store numbers 1, Then you can put the most significant byte first (00000000 00000001), At this time, the leftmost bit represents 2^15; Or you can put the least significant bit byte first , At this time, the leftmost bit represents 2^7. Understanding of binary numbers according to the application used , Can be 00000001 00000000 Read as 1, Or you can read it as 256, Here are examples of these two types of storage .

It should be noted that whether it is plastic surgery , Double precision or array , Byte order uses the same rules to organize data , They are divided into large end sequence or small end sequence . therefore , When reading a small endian data type, it needs to be converted to a large endian , vice versa . have access to labview Medium Swap Bytes VI.
Use Labview Medium Flatten to String, Unflatten FromSting, Write to Binary File, and Read Binary File VIs Of byteorder The input allows you to select the byte order .
Labview Use large endian format to process and store multi byte data , Even in the Windows(x86) On the platform . The small end sequence is based on Intel x86 The choice of processor , Motorola processor ( Include Macintosh The computer ,Labview The beginning of development is ) Using a large end sequence . It should be noted that C And others Windows Applications expect data to be represented by a small end order . Please refer to the attached routine .
More details , Participate in the introduction of the following annex .
LabVIEW、LabVIEW Development 、LabVIEW Programming 、LabVIEW Program
Examples and information mentioned above , Both in word In the attachment in , Click to download . Learn more , Can you contact us .
版权声明
本文为[bjcyck]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204230353129815.html
边栏推荐
- [Li Hongyi 2022 machine learning spring] hw6_ Gan (don't understand...)
- How Zotero quotes in word jump to references / hyperlink
- [string] ranking of country names ----- problem solving notes
- SQL learning record
- Numpy's broadcasting mechanism (with examples)
- Writing latex with vscode - the latest tutorial 2022 / 4 / 17
- 常用的辅助类
- 秒杀所有区间相关问题
- On the principle of concurrent programming and the art of notify / Park
- The whole process of connecting the newly created unbutu system virtual machine with xshell and xftp
猜你喜欢

Shopping mall for transportation tools based on PHP

Process seven state transition diagram

How Zotero quotes in word jump to references / hyperlink

变量、常量、运算符

AI CC 2019 installation tutorial under win10 (super detailed - small white version)

(valid for personal testing) compilation guide of paddedetection on Jetson

【测绘程序设计】坐标反算神器V1.0(附C/C#/VB源程序)

网络原理 | TCP/IP中的连接管理机制 重要协议与核心机制

Notes sur l'apprentissage profond (Ⅱ) - - Principe et mise en oeuvre de la fonction d'activation

Use of rotary selector wheelpicker
随机推荐
Writing latex with vscode - the latest tutorial 2022 / 4 / 17
ROS series (V): common commands in ROS
一个函数秒杀2Sum 3Sum 4Sum问题
vscode删除卸载残余
Xiaomi, which has set the highest sales record of domestic mobile phones in overseas markets, paid renewed attention to the domestic market
Oracle JDK vs OpenJDK
Shopping mall for transportation tools based on PHP
MySQL zip installation tutorial
Wechat applet cloud database value assignment to array error
What if you encounter symbols you don't know in mathematical formulas
Activity supports multi window display
ROS series (4): ROS communication mechanism series (4): topic communication practice
【ICCV 2019】MAP-VAE:Multi-Angle Point Cloud-VAE: Unsupervised Feature Learning for 3D Point Clouds..
Definition, understanding and calculation of significant figures in numerical analysis
【ICCV 2019】MAP-VAE:Multi-Angle Point Cloud-VAE: Unsupervised Feature Learning for 3D Point Clouds..
Seekbar custom style details
Vs Studio modifie le langage C scanf et d'autres erreurs
减治思想——二分查找详细总结
Wechat applet canvas draws a simple asymptotic color of the dashboard
Photoshop installation under win10