03-13-2018 10:17 AM
Do you mean that event specifically or registering for events in general?
If you don't know how to register .NET events, start here:
Registering and Handling .NET and ActiveX Events
Otherwise, if you open up the help file that came with your Kinesis download and search for MotorUpdateEvent you'll find a list of 6 or 7 enums like Idle, Stopping, Moving, Homing, and maybe 2 more I can't remember. You just look for the change from one to the next as your movements occur.
03-14-2018 07:07 PM - edited 03-14-2018 07:08 PM
@Kyle97330 ha escrito:
Do you mean that event specifically or registering for events in general?
If you don't know how to register .NET events, start here:
Registering and Handling .NET and ActiveX Events
Otherwise, if you open up the help file that came with your Kinesis download and search for MotorUpdateEvent you'll find a list of 6 or 7 enums like Idle, Stopping, Moving, Homing, and maybe 2 more I can't remember. You just look for the change from one to the next as your movements occur.
Hi Kyle97330
i've read the help file and the registering and handling .net events, and i got stucked again, I don't know what I need to wire into the ref pin at the Register Event Callback.
I've managed to get to this:
03-15-2018 06:06 PM
Right-click it and select "Create callback VI" from the right-click menu. It'll create s SubVI for you that will run each time the event occurs, and the VI comes pre-made with the right connection pane and VI properties, so don't change those.
From that VI you'll need to send a "message" of some kind back to the main VI. Up to you how to do it, it can be a user event, a queue, a notifier, a global variable, etc.
12-14-2018 02:51 PM
did you figure out this problem?