LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

sequenced movement?

Hello,
I'm trying to let my robot make a sequence of movement. I defined a vector space, and put the different move commands in a sequence diagram.

I use the following functions:
configure vector space to configure the robot (once)
then after configuring the vector space for absolute positioning, I use the following functions in the sequence:
Load Vector Space position,
Load Velocity,
Load Acceleration,
and finally start motion.
After that I use Wait For Move Complete before going into the next move.

This gives very erratic results. Sometimes it does what it supposed to do, but mostly it either skips a sequence, or moves only a portion of the distance before going into the next move.
Can anyone tell me what's going on?
0 Kudos
Message 1 of 4
(2,833 Views)
Without knowing exactly what your hardware is, it's difficult to say exactly what your problem might be. But a place to start might be with the application's overall structure. First of all, a sequence structure isn't required. The 5 steps you mentioned all have a natural data dependency on the step before it. Specifically, did the step work or did it return an error.

So, as a first step in the troubleshooting process, lose the sequence structure and tie the VIs that are implementing each of the steps (you do have those actions encapsulated in subVIs, right?) together using the error IO. Now run the app and see if when it misbehaves there is an error.

Also could you post our code in V6 format? That will help in getting a more detailed answer.

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 2 of 4
(2,833 Views)
Thanks for the reply! I'll try that monday.

Erm... v6 format? What's that? Sorry, I'm a complete Labview newbie. Basically, it's a school project. They put us in front of computers with a robot hooked up, and say: "Program this in labview". Quite frustrating at times...
0 Kudos
Message 3 of 4
(2,833 Views)
If you go under the file menu there's a selection "Save with options..." In the resulting dialog box there's a selection to save in a previous version. LV will save the VI and all it's subVIs in a new directory. Zip-up that directory and post it.

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 4 of 4
(2,833 Views)