当前位置:网站首页>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
边栏推荐
- Solve the technical problems in seq2seq + attention machine translation
- Instructions for fastmock
- 减治思想——二分查找详细总结
- PolarMask is not in the models registry
- OpenCV----YOLACT实例分割模型推理
- SQL learning record
- Picture synthesis video
- Use the thread factory to set the thread name in the thread pool
- Laboratory safety examination
- The art of concurrent programming (2): synchronized usage scenarios
猜你喜欢
ROS series (IV): ROS communication mechanism series (1): topic communication
The art of concurrent programming (2): synchronized usage scenarios
创下国产手机在海外市场销量最高纪录的小米,重新关注国内市场
How Zotero quotes in word jump to references / hyperlink
Shopping mall for transportation tools based on PHP
使用大华设备开发行AI人流量统计出现时间不正确的原因分析
標識符、關鍵字、數據類型
Design and implementation of redis (5): master-slave replication strategy and optimization
Solve the technical problems in seq2seq + attention machine translation
A sword is a sword. There is no difference between a wooden sword and a copper sword
随机推荐
Wechat applet canvas draws a simple asymptotic color of the dashboard
Detailed explanation on the use of annotation tool via (VGg image annotator) in mask RCNN
ROS series (4): ROS communication mechanism series (4): topic communication practice
A function second kill 2sum 3sum 4sum problem
Basic knowledge of convolutional neural network
常用的辅助类
Counting and sorting (C language implementation) -- learning notes
【NeurIPS 2019】Self-Supervised Deep Learning on Point Clouds by Reconstructing Space
秒杀所有区间相关问题
The whole process of connecting the newly created unbutu system virtual machine with xshell and xftp
The art of concurrent programming (6): explain the principle of reentrantlock in detail
[AI vision · quick review of NLP natural language processing papers today, issue 30] Thu, 14 APR 2022
标识符、关键字、数据类型
Basic introduction to spot gold
Use of rotary selector wheelpicker
Leetcode 617 merge binary tree
Software testing process
UDP协议与TCP协议
VS Studio 修改C語言scanf等報錯
Picture synthesis video