LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Flexmotion single point acquisition with Analog buffered acquisition

Sorry, I have been unclear.

My problem (as far as I'm aware) does NOT concern the Run Program VI.

I have attached a picture to help you better understand.

I am wanting to read position/velocity data through the Flexmotion software in the loop in the RED CIRCLE, while at the same time running an acquisition through the 6023E card.

For some reason, position data is only read once you reach the GREEN CIRCLE?!?!?

I even tried inserting a wait at the BLACK CIRCLE. Position data WOULD be read, but when the wait was finished, this reading of position would stop. Data reading would continue once the DAQ on the 6023E was finished at about the GREEN CIRCLE.

Any more help would be apprec
iated! This is driving me nuts!

THANK YOU SO MUCH FOR YOUR PATIENCE!

Chris
0 Kudos
Message 11 of 12
(577 Views)
I guess the part I'm most unclear on is why you want to monitor the position when the motion has not yet been started. What happens if you wire it up the way I mentioned in my previous post? Or do you not want the motion to start until you're done with the DAQ portion?
Take a look at this example program - it doesn't do exactly what you want, but it shows you how to intermingle onboard programming with data acquisition.
http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B45EACE3EA8356A4E034080020E74861&p_node=DZ52480&p_source=External

There are several other example programs located here (search for +motion +daq):
http://search.ni.com/query.html?col=alldocs&layout=Example&q
p=ContentType:Example&qt=%2Bmotion+%2Bdaq

This should give you an idea of how to use motion and daq in the same program.

Let me know if this still gives you a problem.
-Julie
0 Kudos
Message 12 of 12
(434 Views)