EyesWeb XMI Forum
http://forum.eyesweb.infomus.org/

Trigger Datatype Documentation
http://forum.eyesweb.infomus.org/viewtopic.php?f=25&t=717
Page 1 of 1

Author:  daniel.leahy [ 13 Apr 2011, 11:29 ]
Post subject:  Trigger Datatype Documentation

Hi,
i am looking to get documentation/Samples on how to use the Trigger Datatype as an input pin and an output pin.

A normal parameter pin for example can be enumerated in OnChangedParameter.

How is the trigger pin enumerated, say i have 5 trigger input pins, if an event happens i assume it requests an execute activation, how do i tell which pin caused the activation?

If i have an output pin of trigger datatype how to cause the event to fire.

A normal int output pin i would call SetValue() etc

I have quickly reviewed the EyesWeb reference manual but didn't find any methods i could use with the trigger datatype input pins and output pins.

Author:  paolo [ 15 Apr 2011, 13:39 ]
Post subject:  Re: Trigger Datatype Documentation

Hi,

the trigger datatype can be enumerated in the OnChangedParameter method as all the other datatypes. However, you cannot use the GetValue method as the triggers do not have any value.
Similarly, for the outputs, you just need to invoke the SetCreationTime metod.

Paolo

Author:  daniel.leahy [ 27 Apr 2011, 15:11 ]
Post subject:  Re: Trigger Datatype Documentation

thanks Paolo, that makes sense now.

Regards,
Daniel.

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/