03-07-2006 07:10 PM
03-07-2006 07:49 PM
HELLO ..........
I did some changes and have attached the vi.
The problem with this is that i am able to see both sine wave and ramp signal when i am just looking at channel 0 output. I should just see sine wave.
The actual results that i want to accomplish is to ramp up/down the generated sine wave. In other words give the generated a gradually increasing offset. Can any one pls sugggest/help me here.
Thanks
Best Regards
Krithika
03-08-2006 07:04 AM
Hi Krithika,
use the 'function generator VI' to generate the sine wave
keep varying the offset ( think of a logic to do it programatically) to get the kind of waveform you are looking for
any doubts, do get back
Regards
Dev
03-08-2006 07:22 AM
Here is the VI in labVIEW 7.0
did u mention you are working on that version in your previous posts??
i vaguely remember so
03-08-2006 10:32 AM
Hi Dev
Thank so much for being so helpful. I am not an expert in Labview and learn to program my application from the examples online or in the labview package.
Well i see from the function generator example i can give an offset to the sine wave. To program it......... well all i want is for the offset of the sine wave to come down from start to the end in say 30 seconds. How to do it ......... i am not sure. Do i need to use a counter? Pls help me out.
Yes i do have labview version 7.0 and pci 7030/6040 E series DAQ
Thank you
Krithika
03-08-2006 07:09 PM
03-08-2006 07:21 PM
03-08-2006 07:28 PM
Sorry i had the wrong ramp1updated vi attached on my previous post.
I have re attached the same.
Thanks
Krithika
03-09-2006 05:58 PM
Hi Dev
Thanks for sending me the file in 7.0 Version. Well i was able to find the singal generation with duration Vi and was able to generate the increasing ramp ( attached). I have two question:
1. In the VI i check for a condition for the ramp amplitude to be less than 1 V else go to zero but instead i want to introduce a timer for say 10 seconds and then for it to start ramping further from 1v to 5v. I am not sure how to do that. I found couple example VI that was posted which does this. One i was not able to open as it was not in 7.0 version http://forums.ni.com/ni/board/message?board.id=170&message.id=117429&requireLogin=False. But the one i opened is : http://forums.ni.com/ni/board/message?board.id=170&message.id=12889&requireLogin=False. Well this one its bit too complicated for me to follow. I really don't understand how the timer(s) is(are) functioning. Can you pls hint me something of how i can do it,
2. This is looking at the bigger picture. You know that i want to generate two analog outputs- sine and ramp on two analog channels. So .... i have a main while loop where i have AIAO function being done , so is it ok for having another while loop doing this ramp generation? Can we have two while loops running. What will be the impact of the same.
Thank you for you consistent help and being so patient with me.
Regards
Krithika
03-10-2006 06:08 AM