01-25-2010 09:57 AM
I have an ActiveX object which raises an event I want to subscribe to. The event has two parameters in which I am interested and want to use in my main VI. I used Reg Event Callback to subscribe to the event, I right-click on the RegEvent Callback object and selected Create Callback VI to create the callback...so far so good.
Because there are two parameters I am interested in I created a cluster made up of two number indicators in my main VI. I created a reference to that Cluster and wired it to the User Parameter input of the RegEvent Callback. I also dragged the cluster reference to my callback VI so that I could set the values in the Cluster. The problem is that once I connect the cluster reference to the User Parameter input of the Reg Event Callback in my Main VI the connection from my callback VI to the VI Ref input breaks and I get a Wire: class conflict error. How can I get the data from my event in my callback VI to the cluster in my main VI?
I've included screenshots of the relevant portions of code.
01-26-2010 01:49 PM
Hi mashman,
Would you mind posting the subVI and the main VI you sent pictures of?
Also, here is a KnowledgeBase article about the Wire:Class Conflict Error.
Kristen H.
01-26-2010 01:55 PM
Thanks Kristen,
I plugged away for a while and was able to get the error to go away. Basically I re-created the callback VI from scratch, this time with the Cluster connected to the User Parameter input BEFORE I right-clicked and selected create callback VI. Not sure if that made the difference but it seems to be working now.
Thanks
01-28-2010 07:04 AM