LabVIEW Web UI Builder and Data Dashboard

取消
显示结果 
搜索替代 
您的意思是: 

script code in event for thin client

Hi,

 

For the LabVIEW Web UI BUilder the script code in the event, is there any examples for me to refer ? I want to include 'if', 'if...else' structure and 'for' structure, is this possible to include to the event ? How i write the format ?

Can somebody guide me on this????

0 项奖励
1 条消息(共 2 条)
7,341 次查看

ADDITIONAL

 

a=runtime.GetProperty("D-DD.Value")

if (a>5): {
a==0
}
else: {
a==a+1
}

runtime.SetProperty("D-DD.Value",a)

 

above is my code for button click event but after i click the button, the 'if' loop not implemented, so just need all expert to help and guide me.

thank you

0 项奖励
2 条消息(共 2 条)
7,332 次查看