JKI State Machine Objects

cancel
Showing results for 
Search instead for 
Did you mean: 

SMO error on adding private event

Hello!

Recently I have encountered following error just after adding new public event to SMO.ByRefWithEvents:

SMO error.gif

It results in scripting being stopped in mid process, and therefore leaving framework in errorous state.

I have managed to manually fix the issue by:

  • opening created smoname.eventname.vi from Private directory
    • instering ReftoDVR.vi and DVRtoRef.vi in InPlaceStructure.
    • changing unbundle by name to PublicEvents.eventname

I have updated SMO toolkit, and the error persists. However, when I try to recreate it on fresh SMO, it does not occur.

Do any of you have an idea how to fix the issue?

## Update

Some clue may be in the fact, that I have created the project, added some events, and then changed the name of the project.

I cannot recall it the above mentioned error was a direct result of name change, but it may be a track.

Message was edited by: _Mike_

Message 1 of 3
(6,869 Views)

Thank you for reporting this Mike. I will investigate to try to replicate the problem.

Javier Ruiz - Partner at JKI
jki.net
vipm.io
Message 2 of 3
(6,436 Views)

another issue I have found is that upon creation of private event which is described as "Use this to communicate internally whitin the SMO class" there is new vi in API folder, which is available for everybody.

Shouldn't it rather pop up in private section?

Message 3 of 3
(6,436 Views)