Hi,
It works just fine when I try this. Error 1 suggests that 1) the name of the control is wrong, 2) the type of the control doesn't match.
Note that if you register an event, the resulting "Event Registration Refnum" includes the type of the event you are registering for. If you change the type of the event in VI 1, you have to change the control on VI 2.
I don't know what you are trying to achieve, but I'm sure there are better ways.
Regards,
Wiebe.
"Oliver Friedrich" <frixoli@qarcor.de> wrote in message news:Xns975F7029ED59Boliverfriedrichtzmde@129.143.4.4...
Hallo,
I want to pass an event registration refnum via VIServer.SetControlValue to
a referenced SubVI. The Invoke node returns an error 1 when trying this. If
I choose to pass the same event registration not via VI.SetControlValue but
strictly typed with CallByReference, I have no problems.
In my final application, CallByReference is no option because my target VI
is running.
Who has an idea?
Best regards and thank you
Oliver Friedrich
--
Liebe Grüße
Oliver
Meine EMail enthält weder x noch q