10-20-2006 03:16 AM
10-23-2006 02:10 PM
This should be a very simple application. In the NI ELVIS
help there is an example which shows how to setup a continuous function
generator with your ELVIS in LabVIEW. You can see that in the help at
NI Elvis Help»Programming NI ELVIS Using LabVIEW»Low Level NI ELVIS
VIs»Function Generator VIs
If you set up the function generator you should be able to run the analog
acquisition in the same while loop. You would then be able to see the waveform
change as you change the settings for the function generator. (Make sure that
the device input to the FGEN initialize is the DAQ card controlling the ELVIS.
If you want to programmatically determine when the square wave appears as a
triangle wave, then you have to decide what you would like to calculate to
determine that fact. If being able to make a visual determination is good
enough for your purposes you should be fine, but if you would like to programmatically
determine, then we would have to do some calculations on the data you are
displaying, which shouldn't be a problem, but I need to know what you would
like to calculate.
10-24-2006 05:28 AM
Hi Michael,
Thank you so much for getting back to me. When manually done, an input signal of a square wave is sent into an OP AMP, the outputstarts off as a square wave, and the frequency of this signal is increased until the output square wave (output voltage) starts looking like a triangular wave. The frequency at which this occurs and the slope of the triangular wave is measured. I have to do all this programmatically: to determine the frequency at which the square wave becomes triangular and the slope at that frequency. How can I do this?
Thanks.
ntfan
10-25-2006 01:14 PM
10-27-2006 01:36 PM
Thanks Mike.
Really appreciate your help. You have me a great idea of how to go about it.
ntfan.