当前位置:网站首页>零基础学习CANoe Panel(7)—— 开关/显示控件(Input/Output Box )
零基础学习CANoe Panel(7)—— 开关/显示控件(Input/Output Box )
2022-07-24 10:41:00 【蚂蚁小兵】
- 我是蚂蚁小兵,专注于车载诊断领域,尤其擅长于对CANoe工具的使用
- 寻找组织 ,答疑解惑,摸鱼聊天,博客源码,点击加入【相亲相爱一家人】
- 零基础学习CANoe Panel设计目录汇总,点击跳转
前言
Input/Output Box控件也是一个常用控件,用来作为单行输入和输出显示,整形,浮点和字符串都可以,着取决于绑定symbol的数据类型演示软硬件环境
Windows11 x64;CANoe 11 SP2 x64

显示类型属性设置
- 拖过来几个控件,用来测试下面四种
symbol类型的情况
symbol是整形
1️⃣ 如果 symbol是整形,则 可以设置 二进制,十六进制或者十进制显示,下图以是16进制显示

symbol是浮点型
1️⃣ 如果 symbol是浮点型,则可选属性有:显示的小数位(Decimal Place):
- 下图设置的显示的小数位为4

symbol字符串
1️⃣ 如果 symbol是字符串,如下图
注意字符串只能单行显示,无法换行的。

symbol是整形且配置了(value table)
1️⃣ 如果绑定的symbol 有value table ,则显示的是value table中对应的描述
下图的系统变量
InputOutputBox_Symbol,配置了Value TablePanel中选择
Symbol
CANoe环境中,看下结果,显示的是Value Table中定义的描述。

报警属性设置
1️⃣ 所谓报警属性,就是你给这个控件设置一个取值范围,当超过定义的取值范围,控件背景色就会改成响应的颜色,作为警告,
这里以symbol 自有属性 为例,简单说明,如果绑定的symbol 是信号,可以选择 Database Values;

- 2️⃣ 下面以整形系统变量为例 ,我们在定义变量的可以定义好最大值和最小值

- 3️⃣ 我们设置超过最小值显示黄色,超过最大值显示红色


字体段落格式设置
- 1️⃣ 前面一个是Text的属性设置,后一个是框框里的属性设置


总结


- 要有最朴素的生活,最遥远的梦想,即使明天天寒地冻,路遥马亡!
- 如果这篇博客对你有帮助,请 “点赞” “评论”“收藏”一键三连 哦!码字不易,大家的支持就是我坚持下去的动力。
边栏推荐
- Protocol Bible - talk about ports and quads
- MySQL - 多列索引
- Set up mail server with dynamic ip+mdaemon
- 每日三题 7.22
- 划分数据1
- Tidb query SQL report runtime error: index out of range [-1] error
- MySQL - full text index
- Adobe substance 3D Designer 2021 software installation package download and installation tutorial
- Qt创建应用程序托盘及相关功能
- [dish of learning notes dog learning C] detailed operator
猜你喜欢

QT application prevents multiple opening, that is, single instance operation

Distributed lock implementation scheme (glory collection version)

PC博物馆(1) 1970年 Datapoint 2000

Adobe substance 3D Designer 2021 software installation package download and installation tutorial

I admire a Google boss very much, and he left..

Sentinel flow control quick start

After the QT program minimizes the tray, a msgbox pops up. Click OK and the program exits. The problem is solved

Volcanic engine: open ByteDance, the same AI infrastructure, a system to solve multiple training tasks

Simply use golang SQLC to generate MySQL query code

PC博物馆(2) 1972年 HP-9830A
随机推荐
Protocol Bible - talk about ports and quads
Erlang studies abroad
Qt创建应用程序托盘及相关功能
划分数据1
Onpropertychange event "suggestions collection"
Domain Driven practice summary (basic theory summary and analysis + Architecture Analysis and code design + specific application design analysis V) [easy to understand]
Partition data 1
PyTorch 常用 Tricks 总结
[recommendation system] the classic technical architecture of the data flow of the recommendation system + the most complete evolution map of the top 10 deep learning CTR models of Microsoft, Alibaba,
Arduino + AD9833 波形发生器
Record AP and map calculation examples
Activity exception lifecycle
cookie sessionStorage localStorage 区别
[dish of learning notes dog learning C] advanced pointer
In depth analysis of common cross end technology stacks of app
Is it safe to open an online stock account?
谷歌联合高校研发通用模型ProteoGAN,可设计生成具有新功能的蛋白质
协议圣经-谈端口和四元组
每日三题 7.21
实时天气API

