Frustrating problem with Vijeo Designer

Iner

Member
Join Date
Mar 2010
Location
France
Posts
190
Hello,

I have a problem with Vijeo Designer (6.2 SP3):

I want to create an action which trigger a script and inside this script I want to use the deleteall() method of the resume event to erase the messages shown in a group event display.


Let's say my group event resume is named ResumeEvenement01

Then in the script I write "ResumeEvenement01.deleteall(0,0)"

But it doesn't work because it doesn't recognise ResumeEvenement01

However if I create a button in one of the display, I am able to call a script where the same line works. ResumeEvenement01 is recognised and appear in blue in the script editor.

Also, when I click on insert in the script editor of the action, the group events are greyed out. When I do the same from the button, it's in black.

The logical answer would be that you can't call resume event object from the actions , but I am following a schneider tutorial and they did exactly like this.

I put the resume event object on the modele display as in the tutorial.

Here are the pictures:

Does not work:

718843Scriptfromaction.png







Works:




392267scriptfrombutton.png


Any idea why I can't call the object and the method from a script triggered by an action?

Thanks,
 

Similar Topics

Hello everyone, I have been attempting to complete a simple weight conversion program... basically it loads in 3 values from a BCD Thumbwheel...
Replies
3
Views
2,974
Here's the deal.. I've got a PIII-866 motherboard with an ISA slot. I put a 1784-KTX in (set to D700), and loaded XP and RSLinx 2.50 on the...
Replies
9
Views
2,847
Hello all, I am a Rockwell guy and just started with siemens. The data sctructure frustrates me. Especially the swapped bytes. Can someone...
Replies
4
Views
1,634
Hi All, I have a machine that is using a Allen Bradley Micrologix 1200 with a panelview 600. Everything was working normally but we had to...
Replies
2
Views
2,001
On all pages of my project i have a lot of information, texts and details that should not not be shown. I can remove them for each part apart from...
Replies
0
Views
35
Back
Top Bottom