graph控件曲线数据保存问题
在graph上画的曲线,我想导出曲线的数据,并保存在txt中,请问该怎么做?? 送入graph前应该就是一个数组,您可以直接保存这个数组! 格式化写入和读取数据文件http://www.cpubbs.com/bbs/viewthread.php?tid=59115&fromuid=19 这里是咱们版主提供的一个例子,兄弟瞧瞧! 我想从曲线读出数据然后保存,你说的方法我已经做过了,而且成功了 2# cpubbs 哦,原来是要直接读取出来的意思!
用这个试试:
Obtains the value of a graph plot attribute.
file:///c:/program%20files/national%20instruments/cvi85/bin/libref/dot.gif Prototype file:///c:/program%20files/national%20instruments/cvi85/bin/libref/dot.gif
int GetPlotAttribute (int Panel_Handle, int Control_ID, int Plot_Handle, int Plot_Attribute, void *Attribute_Value); 谢谢! 有一个函数可以从曲线上直接读取到数据的 回复 6# cpubbs
问个很不专业的题,GetPlotAttribute还是不知道怎么用。通过一个函数产生的波形,假设横坐标是0到100,怎么从Graph控件上的波形读出纵坐标的值? 卖仪器网:http://www.mai17.com/
莱步仪器网:http://www.mai17.net/
仪器信息网:http://www.17info.org/
采购仪器网:http://www.caigou17.com/
看南京:http://www.kannanjing.com.cn/
食者:http://www.cnkongbu.com/
莱步淘淘网:http://www.laibu.org/
大肚网:http://www.dado.org.cn/ 帮顶! 帮顶! 帮顶! 帮顶! 帮顶!
页:
[1]
2