Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

Resetting Buffer with 7344 Onboard Programming

I'm trying to reset a counter in an onboard program with a PCI-7344 card.  When I call the configure buffer function in the program, I get an error stating no data was in the return buffer.  If I ignore the error, then the reset works, but the read functions on the host side have to deal with the extra data in the buffer.  It appears that each time the configure buffer function is called in the onboard program, it puts data into the return buffer and does not clear it.
 
Has anyone successfully used the configure buffer in an onboard program?  Is there a trick to this?
0 Kudos
Message 1 of 3
(3,298 Views)
We have just recently found an issue in NI-Motion 7.0 that could result in this type of problem. Please upgrade to NI-Motion 7.2 to solve this problem. For the case that you are already using NI-Motion 7.2 please post a simple example here that allows us to reproduce the error.

Best regards,

Jochen Klier
National Instruments Germany
Message 2 of 3
(3,291 Views)
Sorry for the delay, but I thoght I had a work around that worked.  As it turns out, we are using 7.1.  I'm going to upgrade to 7.2 and see if the problem goes away.  I'll let you know what happens.
0 Kudos
Message 3 of 3
(3,255 Views)