03-13-2019 02:00 AM
Hi kashif,
To enter the sequence, it takes times.
So only that "LINX Open" function takes a long time before DATAFLOW enters the sequence?
Why don't you (auto) cleanup your code?
Why don't you put a wait into the "Start2" loop?
Why do you bang your LINX target at 30ms intervals?
Why is there a missing "Array Seperate" subVI?
03-13-2019 03:02 AM
Yes, the problem is with the linx open function as it takes a longer time to initialise about 8 sec. Actually i am controlling the actuator, the actuator signal goes high and goes to the extreme position till the data comes to the analog read.
03-13-2019 04:33 PM
@kashifsherwani wrote:
Yes, the problem is with the linx open function as it takes a longer time to initialise about 8 sec. Actually i am controlling the actuator, the actuator signal goes high and goes to the extreme position till the data comes to the analog read.
Well lets see to start with you can lose the Flat Sequence (Think DATA FLOW)
But as to your problem. It has been a long time since I used LINX and I don't remember how long it took to initialize the Arduino, but it never seemed to take 8 seconds!
Either way is sounds like you need to make some modifications to your hardware then if your actuator goes to one extreme position during start up.
There is a concept called "fail safe" that you might want to consider.