LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error Code -10687 AO Buffer Error???

"-10687 bufferInvalidError 

A configuration change has invalidated the acquisition buffer, or an acquisition buffer has not been configured."

 

Why am I getting this error. I needed a function generator in my VI so I copy and pasted the Benchtop Function Generator example in, and now I am getting this. I will try uploading my VI, it is a state of disarray at the moment but maybe someone can find a problem.

Thanks

 

 

0 Kudos
Message 1 of 4
(2,758 Views)
Sorry, also you can delete the "Ford" user-defined VI, as I'm sure you'll get another error. It doesn't contain any Analog I/O functions, only VISA GPIB.
 
Thanks
0 Kudos
Message 2 of 4
(2,753 Views)

Sorry to just keep adding and adding, but if I remove the AO One PT VI inside the larger loop, but outside the small case structure (anyone get that?) it works fine. I'm passing those AO VI's a different channel number, why is it affecting my function generator.

 

Thanks to anyone that can help

 

0 Kudos
Message 3 of 4
(2,749 Views)
I think it's because AO Write One Update does an AO Config each time it's called. Wtih one analog task already running, you do not want to do another config. Instead, place an single AO Config someplace in your program for all analog outputs and just use AO Single Update instead of AO Write One Update
0 Kudos
Message 4 of 4
(2,744 Views)