wincc7.4趋势控件的时间范围的函数

因为控件的时间范围图标,不明显,我想单独做一个按钮调出这个时间范围,用C脚本,应该用哪个函数??

问题补充:
时间范围的C函数

最佳答案

不是很明白什么意思
您可以看看手册:
WinCC V7.4 Scripting: VBS, ANSI-C, VBA
https://support.industry.siemens.com/cs/cn/zh/view/109736230/en

里面关于脚本的介绍很全面,可惜是英文的

补充:
看看这个是不是

TlgTableWindowPressOpenTimeSelectDlgButton
Function
Opens the dialog for setting the time range to be displayed in the table columns.
Syntax
BOOL TlgTableWindowPressOpenTimeSelectDlgButton(char* lpszWindowNumber)
Parameter
lpszWindowName
Pointer to the window title of the WinCC Online Table Control
上面那个是趋势表格的,如果是曲线应该用下面这个:
TlgTrendWindowPressOpenTimeSelectDlgButton
Function
Opens the dialog for setting the time range to be displayed.
Syntax
BOOL TlgTrendWindowPressOpenTimeSelectDlgButton(char* lpszWindowNumber)
Parameter
lpszWindowName
Pointer to the window title of the WinCC Online Trend Control
Return value
TRUE
The function has been completed without any errors

提问者对于答案的评价:
谢谢

原创文章,作者:ximenziask,如若转载,请注明出处:https://www.zhaoplc.com/plc359547.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2021年7月5日
下一篇 2021年7月5日

相关推荐

发表回复

登录后才能评论