当前位置:网站首页>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
边栏推荐
- The difference between lists, tuples, dictionaries and collections
- vscode删除卸载残余
- STM32 advanced timer com event
- Solve the technical problems in seq2seq + attention machine translation
- Installation and configuration of clion under win10
- Design and implementation of redis (4): what is the event driver of redis
- 创下国产手机在海外市场销量最高纪录的小米,重新关注国内市场
- Cmake qmake simple knowledge
- Abstract classes, interfaces and common keywords
- Mysql出现2013 Lost connection to MySQL server during query
猜你喜欢
Summary of knowledge map (3)
Shopping mall for transportation tools based on PHP
[AI vision · quick review of robot papers today, issue 29] Mon, 14 Feb 2022
As a code farmer, what kind of experience is it that a girlfriend can code better than herself?
Design and implementation of redis (6): how redis achieves high availability
Basic knowledge of convolutional neural network
A sword is a sword. There is no difference between a wooden sword and a copper sword
【BIM+GIS】ArcGIS Pro2.8如何打开Revit模型,BIM和GIS融合?
[AI vision · quick review of NLP natural language processing papers today, issue 29] Mon, 14 Feb 2022
[AI vision · quick review of robot papers today, issue 30] Thu, 14 APR 2022
随机推荐
伦敦银最新价格走势图与买卖点
Openvino only supports Intel CPUs of generation 6 and above
RuntimeError: output with shape [4, 1, 512, 512] doesn‘t match the broadcast shape[4, 4, 512, 512]
php导出Excel表格
Notes sur l'apprentissage profond (Ⅱ) - - Principe et mise en oeuvre de la fonction d'activation
Seekbar custom style details
VS Studio 修改C语言scanf等报错
The art of concurrent programming (3): an in-depth understanding of the principle of synchronized
[AI vision · quick review of NLP natural language processing papers today, issue 29] Mon, 14 Feb 2022
The whole process of connecting the newly created unbutu system virtual machine with xshell and xftp
网络原理 | TCP/IP中的连接管理机制 重要协议与核心机制
[AI vision · quick review of robot papers today, issue 28] wed, 1 Dec 2021
Solve the technical problems in seq2seq + attention machine translation
创下国产手机在海外市场销量最高纪录的小米,重新关注国内市场
A function second kill 2sum 3sum 4sum problem
Using VBA interval to extract one column from another in Excel
Man's life
对象和类的概念
Operating skills of spot gold_ Wave estimation curve
一个函数秒杀2Sum 3Sum 4Sum问题