12-07-2008 01:00 PM
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.
12-07-2008 08:09 PM
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.
12-09-2008 05:41 AM
12-09-2008 09:37 AM - edited 12-09-2008 09:37 AM