System.messagebox In A Channel Event


Recommended Posts

I'm writing a small script in a channel (e.g MyChannel). The value of this channel is updated when user enter a value in to an edit box component. The scrip in this channel event as below:

If (MyChannel > 10)

System.messagebox("Input value must be less than 10")

else

do something

endif

If I input value greater than 10 the message box pop up and Daqfactory screen flicking (shaking) for a few seconds and I have to click "ok" on the message box 10-20 times in order to close it.

This problem will not occur if the scrip is used in a sequence or in a quick sequence of a component action.

Do you have any suggestion

Thanks,

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.