02-23-2010 03:16 PM
Solved! Go to Solution.
02-23-2010 03:25 PM - edited 02-23-2010 03:29 PM
Mark,
How can you measure an AC waveform with a multimeter? Also, I suggest that you use events - it's difficult to follow exactly what is happening here.
Cheers, Matt
02-23-2010 03:37 PM
02-23-2010 03:44 PM - edited 02-23-2010 03:45 PM
Mark,
Here is what I am talking about. However, from what you posted, it looks to me like you are trying to write to a digital line (PFI); you can not do this. Can you switch the line to an AO and get the response you are looking for?
Matt
02-23-2010 04:20 PM
02-24-2010 06:08 AM
03-02-2010 12:37 PM
After sorting through examples and these explanations. I've began to realize that what I want to do is almost as easy as using one of the provided LabVIEW examples. My old program wouldn't write because I never allowed it enough time, before I looped through it again. If I introduced a time delay before clearing the task, I would get a sputtered waveform output. Which won't work, I need a nice smooth output wave.
The example that works great is the "continuous generate waveform voltage with internal clock" which I attached. The only problem is that I need to be able to change the amplitude of the sine wave while it is running with the click of a button. For example, the program can run continuously with an amplitude of 5. But when I press a button, the sine wave must change to an amplitude of 10 for 0.5 seconds. On a previous post, a user helped me identify a way to do this using shift registers and the "get time" function and then comparing the times in a loop until the difference exceeded my time of 0.5 seconds. But that was with my previous loop program which didn't use the waveform timing and the output sine wave was really choppy.
In this example, I don't see how you can change the amplitude of the sine wave. Is it even possible, or do I have an impossible task??
03-02-2010 01:07 PM
03-02-2010 03:02 PM
03-04-2010 12:47 PM