LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Help regarding Active X control of Labview

Hi Friends,

 

I am using a TDC 001 servo motor and was trying to run the same with the active X feature of Labview 7.1. For this I used a property which reads the serial number of a section of the motor, and methods STARTCTRL and STOPCTRL connected by a while loop. The problem is that after running the setup, the GUI identifies the serial number correctly and the Jog buttons are enabled to be clicked, but once we click it the motor does not move....I dont know why..kindly help me out. I have attached herewith the labview file (Test Motor 1)of the same...hope it helps.

 

Further if I want to incorporate new methods like GET_POSITION, MOVE_ABSOLUTE and MOVE_RELATIVE, a few paremeters in them are not clear like IChanID, pfPosition, etc. Even the help for these are not very clear, so kindly let me know the parameter values to be set. The second file attached (New Methods) contain these methods.

Download All
0 Kudos
Message 1 of 4
(2,960 Views)

If there are properties and methods that you want to read/write, put them inside the while loop. Having them outside the loop does nothing. You will also need to connect them to the reference. I would recomend that you make use of an event structure so that you would only read/write when a front panel control changes.

 

As far as the properties and methods you are unsure of, the best thing is to contact the vendor for additional information. It's not an NI device. You may get lucky and have someone that has used the device respond but the vendor will still remain the best source of information.

0 Kudos
Message 2 of 4
(2,942 Views)
Hi...thanx a lot for your response..the servomotor is quite succesfully running now...now I want to incorporate few methods like GET_POSITION, MOVE_ABSOLUTE and MOVE_RELATIVE, but a few paremeters in them are not clear like IChanID, pfPosition, etc...what are the values to be added as constants..kindly help
0 Kudos
Message 3 of 4
(2,919 Views)
You should consult the documentation for the software for that motor. Those properties and methods are specific to that product, so unless Dennis (or anybody else) has used that servo motor they won't be able to help. If the documentation is not clear then I would suggest contacting the company so they can explain the use of those properties and methods for their product.
Message Edited by smercurio_fc on 12-09-2008 09:37 AM
0 Kudos
Message 4 of 4
(2,901 Views)