I just realized that I have a problem with buffered output not stopping. In other words, I write the buffer continuously until a case that I have is true. However, AO Write never stops writing the old buffer! How do I get it to stop if these are set in a while loop, without stopping the while loop? Thanks!
I'm not very expert in that but I would suggest few things:
- use a small size waveform to feed into the AO Write : you will improve user interface response. - you may consider to use AO Wait after your AO Write to make sure all your waveform has been written, but you will have a discontinuity in your signal if you do a loop. - you may need to set up separate loops, one for the AO process, another one for the other processes.
I'm trying to make "on-the-fly" controls for a triangular wave output on 2 channels. I've modeled my VI after the function generator example. If I try to put the AO Clear VI in the case structure (actually in a sequence structure inside the case structure), I get more errors. I think this may be a programming issue, but I'm not entirely clear what the problem is... Thanks.