08-22-2007 11:01 PM
08-22-2007 11:04 PM
08-23-2007 03:57 PM - edited 08-23-2007 03:57 PM
Hello
I have created a simple VI that demonstrates how to make a ramp signal. Just multiple the iteration terminal by your step size. Then stop the while loop when you reach your maximum voltage. How much time do you want in between steps? Right now there is no specific timing between samples. The wait is only used to give your CPU a little bit of relief. Without this timing function, the VI will run as fast as your CPU will allow it and will use all of it resources. If you want specific timing between each sample, then use a DAQmx timing VI.
Message Edited by Robert F on 08-23-2007 03:57 PM
08-28-2007 02:12 PM
08-28-2007 02:40 PM
08-30-2007 01:23 PM
09-11-2007 11:44 PM
09-12-2007 01:03 AM
@rshanker wrote:
Hi Robert,
I (ravishanker1811) have implemented the program you have given, have few questions.
Ravi Mokirala
09-12-2007 05:40 PM
Hello
Are you physically connecting the analog input and output terminals on a connector block? If you insert the DAQ Assistant after the while loop or after you are completely finished generating the data, then you would only read one voltage. I would suggest looking at some of the DAQmx examples that were installed on your computer. (Help >> Find Examples >> Hardware Input and Output >> DAQmx) If the DAQ Assistant is setup correctly, then you can just right-click on it and select Generate NI-DAQmx Code. You can then compare this generated code and the examples to find out the difference between them.
What is the description of the error 500103? Is it a negative number? A screenshot of your code would really help us solve your issue.