ActionIDs.CCM_Fire_Event question

Discuss issues and ideas you have to configuring displays with PowerVision
ronaldbroth
Posts: 15
Joined: Wed Jun 14, 2017 12:45 pm

ActionIDs.CCM_Fire_Event question

Post by ronaldbroth » Tue Nov 14, 2017 12:10 pm

My apologizes for a simple problem but I got stuck (and I know you guys can sort this out for me in about two seconds...) My preference (as it makes debugging easier) is to write my application in Script. I am trying to get the equivalent CCM_Fire_Event in script but I don't know the format.

Here is the normal action to fire saveGRAPH0
actionbuilder.png
actionbuilder.png (77.47 KiB) Viewed 56 times
Here is my (incomplete) script equivalent. Not sure what to put here to get saveGRAPH0 to run.
scriptequivalent.png
scriptequivalent.png (40.38 KiB) Viewed 56 times
Thank you in advance for your support!

Ron
ronaldbroth
Posts: 15
Joined: Wed Jun 14, 2017 12:45 pm

Re: ActionIDs.CCM_Fire_Event question

Post by ronaldbroth » Tue Nov 14, 2017 1:21 pm

I guess I needed a lunch break.

// store the data to graphDAY0/graphDAY1
SendAction(ApplicationIDs.CCM, ActionIDs.CCM_Fire_Event, EventIDs.saveGRAPH0);

Sorry for the noise -- Ron