如何通过文本框进行更改,而不是将其作为使用波形生成器的命令

问题描述:

我必须与安捷伦波形发生器通信。我已经做了一个设备识别的初始测试程序并且把它弄好了。现在我想通过在文本框中给出它的值而不是每次都将它作为命令FREQ 2000来改变频率。我怎么能这样做?

i have to communicate with a agilent waveform generator. I have made a initial test program of device identification and got it right.Now i want to change the frequency by giving its value in the textbox instead of giving it as a command "FREQ 2000" everytime.How can i do this?

你知道,你必须简单地获取 TextBox.Text 属性并通过通信设备发送它你正在使用(串口?网络?)而没有进一步的细节我无法帮助。
You know, you have to simply get the TextBox.Text property and send it by means of the communication device you are using (Serial Port? Network?) without further details I cannot help more.