11-29-2007 08:04 PM
11-30-2007 11:57 AM - edited 11-30-2007 11:59 AM
11-30-2007 01:51 PM
Hi Paul,
Thank you for your response. I had tried your suggested solution however since I am using onboard memory the output signal would stop then start for every while loop iteration since the buffer is continually being reloaded. I found a way around my problem this morning by inserting an event structure inside the while loop. I set it up so a value change of the desired control causes the buffer to be updated with the new waveform and continue looping. I am staying with IsTaskDone.vi inside the while loop for no other reason other than it's working. When I have some time I'll clean it up.
I've run into another issue that is giving me fits now in that I can't seem to get the analog signal I'm monitoring to lock. I basically stole the code from the Cont Acq&Graph Voltage-Ext.vi example. When I use the example vi the monitored waveform stays locked however when I run it inside my program is slides across the graph. I need to get this to stabilize because I want to use the measured value for some balancing calculations and I need it to be relatively stable.
I attached the pertinent code this time. For some reason it didn't stick last time.
Thanks again for your help.
Mike

12-03-2007 05:26 PM