问题描述
我创建了一个应用程序,我需要在VB.Net中使用水平轨迹栏控制来控制数模转换器(DAC)。
我使用了复选框(外观:按钮)来控制继电器打开和关闭它们,我从程序发送Ascii值来做它。
轨道栏是否可以做同样的事情?我很困惑,因为不像复选框控件可以给出两个离散值我需要连续值的轨迹栏。
我是VB.Net的新手所以任何帮助将不胜感激。
我尝试了什么:
我尝试将ascii值发送到轨道栏控件但是它不起作用。
I have created an application where I need to control a Digital to Analogue Converter (DAC) using horizontal trackbar control in VB.Net.
I have used checkbox (appearance: button) to control relays to switch them on and off and I'm sending Ascii values from program to do it.
Is it possible to do the same for trackbar? I am confused because unlike checkbox control which can be given two discrete values I'll need continuous values for trackbar.
I am new to VB.Net so any help will be appreciated.
What I have tried:
I have tried sending ascii values to the trackbar control but it doesn't work.
推荐答案
这篇关于使用串行通信控制轨迹栏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!