Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

FlexMotion NIMC_returnDataBufferNotEmptyError

What may cause NIMC_returnDataBufferNotEmptyError (error code -70025) in FlexMotion during motion ?
0 Kudos
Message 1 of 3
(3,415 Views)
The return data buffer is used for communicating between the card and the host. Functions that read data from card such as flex_read_pos and flex_check_move_complete_status put data into the buffer. This error occurs when data is remaining in the buffer that was not flushed correctly by the function or when multiple resources are trying to access the card. To prevent this error, you can check for any errors from from previous fucntions and call flex_flush_rdb if necessary. This error can also occur if you are doing onboard programming with MAX open.

Regards,

Brent R.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 3
(3,415 Views)
Thanks for your answer!
Is FlexMotion library thread capable? I'm making calls to FlexMotion functions from different threads in my application. Is there any precautions that I must take when calling flex functions from different running threads ?
0 Kudos
Message 3 of 3
(3,415 Views)