04-09-2009 04:53 AM
我采集的数据同过以太网传到上位机,数据是二进制的。我怎样用波形进行描绘我的数据!谢谢!新手
04-09-2009 06:16 AM
Could you please expand your post with bit more details.
04-09-2009 07:18 AM - edited 04-09-2009 07:24 AM
I agree with Mathan... since all data is binary we'd need more info as to what type the data is when tranferred over ethernet...
Do you mean that the data is hexadecimal representation in string type and you want to convert it to numeric type and then plotted?
Well, actually, since all data is binary, if it was transferred in it's native type as numeric, then you can collect it, put it into an array and plot it.
There should be examples of converting ethernet data to numeric.
In the help menu, select Find Example. Then select the Search tab and type TCP.
Select the TCP/IP choice.
You will get a list of example. Have a look at "Simple Data Client.vi", it plots data received over TCP/IP (ethernet).
R
04-09-2009 07:26 AM
Text above translated using Google...
你的意思,该数据是十六进制表示的字符串类型,而您想要将其转换为数字类型,然后绘制?
嗯,实际上,因为所有的数据是二进制,如果它被转移它的原始类型数值,那么你可以收集它,把它变成一个数组和阴谋它。 应例子以太网数据转换为数字。 在帮助菜单中,选择查找例子。然后选择搜索选项卡,键入TCP连接。 选择TCP / IP协议的选择。 你将会得到一个清单的例子。看看“简单数据Client.vi ” ,它收到的数据块在TCP / IP (以太网) 。 |