LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

KST101 multi axis system

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.

0 Kudos
Message 11 of 14
(1,291 Views)

@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:

 

KST101_4.png

 

0 Kudos
Message 12 of 14
(1,279 Views)

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.

0 Kudos
Message 13 of 14
(1,276 Views)

did you figure out this problem?

0 Kudos
Message 14 of 14
(1,204 Views)