03-13-2014 08:28 AM
Hi, am new to labview. Am using two devices (conex) and (smc motor controller). i have already written labview programs for the devices and i now need to modify them to fit my need. from my experiment, the value of analog voltage from conex changes when the motor moves agiven step and there comes apoint when the voltage drops from the conex device. this is the position of the motor am interested in.
the following is my objective;-
i want the smc motor to move a step, then after to compare the current and preveous voltages from the conex device, if the voltage current voltage is stil higher than the preveous, the motor should continue moving and only stop if the current voltage is below the preveous.
Am attaching the Vis for both devices. Help is highly welcome
03-13-2014 10:46 AM
From the front panel examples you have, you should know which commands you want to send. So the reading and writing of the instruments shouldn't be an issue. You keep previous values in a shift register. Comparing is really simple (Less? node should work for you).
So what have you tried? Where are you stuck?
03-13-2014 01:01 PM
Hi, where am stuck is now interconnecting the wo devices so that they can operate together. please advise how i can inter link the two Vi's