Now I am trying to control a linear stage with LabVIEW. I could command the stage to move with a program. The only problem is that the stage can't respond to the program immediately. It won't move until 8 seconds after I click the move button.
My linear stage is ALS135 and bought from Aerotech.
Does anybody have any suggestions as to how to eliminate this unwanted time delay.
I am not sure I understand your question correctly. Does the stage 1. START to move 8 seconds after your click or 2 the stage ARRIVE at the setting point 8 seconds after the click ?
If is 1 then you have probably a weirdproblem with the hardware setting (if of course your labview code is correct). For the case 2, you have to put delays in your code [(actual_position)-(destination_position)]/speed.
This happens because there are a number of sub VIs which execute before the main motion VI using Aerotech VIs. The time can be minimised by running the connect and enable VIs at the start of the program so that when a "Go" button is clicked the motion VIs can execute straight away. You can also use the Aerotech programming language and use labview simply to trigger i digital signal that the program looks for.