当前位置:网站首页>The serial port in the visa test panel under LabVIEW or max does not work
The serial port in the visa test panel under LabVIEW or max does not work
2022-06-10 23:47:00 【LabVIEW development】
LabVIEW or MAX Under the VISA The serial port in the test panel cannot work
What serial devices work in HyperTerminal , But not here. LabVIEW or Measurement& Automation Explorer (MAX) Under the VISA Work in the test panel ?
answer : The serial port device may work in the HyperTerminal but not in the LabVIEW or MAX Under the VISA There are two reasons for working in the test panel : Different terminators and character transmission speeds . Use the following methods to solve the problems related to these two reasons .
Ensure that HyperTerminal and LabVIEW Match the terminator used in
In general , The HyperTerminal adds a group after each message it sends \r\n, It corresponds to a carriage return followed by a line feed .
stay LabVIEW Character type input and display control can be used in \ Code display item to check whether the terminator is consistent . for example , have access to loopback The test method ( About loopback For test instructions, please refer to... In the following link NI Developer's Guide ) Send a string from the HyperTerminal , And then in LabVIEW Read back in . This will help determine what terminators are used by the HyperTerminal . then , Again using loopback test , from LabVIEW The same string is emitted in the and in LabVIEW Read back in . Comparing these values will determine whether the terminators match .
Reduce the speed of sending command strings to devices .( If the serial port device is old , also / Or it has no hardware to control it , therefore LabVIEW and / or MAX Medium VISA How fast the test panel sends serial data to it is a question
Once a character is entered into the HyperTerminal , The HyperTerminal will write these characters to the serial port . therefore , When entering a string , The HyperTerminal will send... After the end of the string 6 Independent termination characters : First of all s, And then there was t, And finally r wait .

edit
Add picture comments , No more than 140 word ( Optional )
However ,LabVIEW Will get all strings and write them to the device at once , And there is no delay between characters . You can use one for Cycle to test , Output the string to the device one character at a time , Set a short delay for the output between each character in the loop . Attached Basic Serial Write and Read_1 bit.vi Is an implementation method
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 .
边栏推荐
- MySQL学习之子查询
- 给线程池里面线程添加名称的4种方式
- Postgraduate entrance examination English vocabulary unit1
- iframe框架自适应大小/全屏显示网页框架的方法
- redis列表list常用命令大全
- 可扩展到Max–MCU和MPU开发,使用相同的许可证
- mysql 表机制
- Data file nc6oa Txt consists of 6830 gene expression data from 33 cancer cell lines, each of which is a type of cancer cell. Please cluster the 33 cell lines according to the gene expression data (the
- 1.打开R程序,使用 apply 函数计算1到12按先后次序每隔3个数一组的和。即,计算1+4+7+10=?2+5+8+11=?,3+6+9+12=?
- 数据文件nc6oa.txt由33个癌细胞系得6830个基因表达数据构成,每一个细胞系都是某种类型的癌细胞的类型。请按照基因表达数据对33个细胞系进行聚类(聚类类别数划是癌细胞的类型个数,比如乳腺癌、肺
猜你喜欢

Gather for summer Yiping: not everything is reported to Robin Lee. They compete with Xiaomi Huawei by products

Executor - Shutdown、ShutdownNow、awaitTermination 詳解與實戰

Introduction to Wireshark capturing RTP load TS stream (UDP multicast)

Fiddler simulates low-speed network environment

Interface test learning notes

可扩展到Max–MCU和MPU开发,使用相同的许可证

About not being able to create a new package under Src in idea

Fiddler configuration

Data and information resource sharing platform (V)

im即时通讯源码带教程/uniapp即时通讯源码,附安装教程
随机推荐
Is qiniu's securities account true? Is it safe?
The time (in minutes) required for a group of workers to cooperate to complete the assembly process of a part are as follows:
Classic sentences in Yi Shu's works
How to generate automatic references (simple drawings)
30 | 怎么重设消费者组位移?
VS的常用设置
【视频】KMEANS均值聚类和层次聚类:R语言分析生活幸福指数可视化|数据分享
苹果CMS采集站源码-搭建教程-附带源码-全新源码-开发文档
LeetCode 501 :二叉搜索树中的众数
Solutions to the error reported by executing Oracle SQL statement [ora-00904: "createtime": invalid identifier] and [ora-00913: too many values]
Simple impedance matching circuit and formula
Is it safe for BOC securities to open an account? Is it formal?
Introduction to Wireshark capturing RTP load TS stream (UDP multicast)
细数十大信息安全原则
VS 番茄助手添加头注释 以及使用方式
MySQL learning child query
Ilruntime hotfix framework installation and breakpoint debugging
MySQL学习之子查询
Redis list list common commands
ILRuntime热更框架 安装以及断点调试