LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Qestion about synchronizing the motion and the data aquisition set I/O port MOMO.flx

I use the set I/O port MOMO function to synchronizing the motion and the data aquisition.but there is an error:"The Return Data Buffer is not empty. Commands that expect data returned from the controller cannot be sent until the Return Data Buffer is cleared."
I don't know how to deal with it,can anyone help me?
thank you

Attachment is my program.

regards soslotos
昨天是今天的昨天
明天是今天的明天
今天是昨天的明天
是明天的昨天
0 Kudos
Message 1 of 2
(2,510 Views)
Hi soslotos,

It looks like you are off to a pretty good start on your application, but let me give a couple of suggestions to make it easier.

Typically, when synchronizing a DAQ board with a Motion controller it is simplest to use breakpoints, which will send a signal on the RTSI lines when your encoder reaches a particular location. I have included a link to several example programs that demonstrate this process. Using the MOMO VIs might make the application more difficult than needed.

Example Programs: Synchronizing Motion with DAQ

Give this a try and let me know how it goes!

Hope this helps,

Robert
0 Kudos
Message 2 of 2
(2,494 Views)