06-10-2006 03:51 AM
06-13-2006 11:21 AM
Hi,
The main thing that I would change would be the analog output section of your
code. I see that you have a 'Calibration' button that if pressed should
go to the T/F case and output a signal. However, since the Boolean is
outside the loop, any changes to it will not update the case structure.
Also, you will want to do something called non-regeneration with your analog
output. By default when you do a continuous operation it will load the
data in the memory and keep cycling thru that data. Since you want to
change things you need to make sure that the data is not cycled thru.
Attached is an example that shows you how to quickly update your analog output
data. In your case you may want to simply have the Simulate Signal
Express VI in the case structure and for the True case generate your signal,
and for the False case generate your a DC value.
Regards,