06-29-2015 10:43 AM
Any way to take the enclosed vi and make it ramp to 2 volts...hold for 200 msec...ramp to 4 volts hold for 200 msec...etc all the way to 10 volts? Need to keep the slope 2.5 v/sec and if possible sample rate at 1 msec.
Thanks..
Solved! Go to Solution.
06-29-2015 12:21 PM
06-29-2015 12:42 PM
its the one that ships w LV2014 "ramp pattern.vi"
"signal processing>signal generation"
06-30-2015 09:39 AM
Hey Clint,
Did you take a look to the information jcarmody send you? Is your issue solved?
06-30-2015 10:48 AM
I did take a look at the solution. I was hoping to use the ramp.vi as it ( I think) had for flexablity for my needs. I tried putting my (National's) ramp funtion in a loop aand have a 200 msec wait time but that didn't work.
Is there some way to ramp from (start) 0 then go to 2 volts ( stop) wait 200 msec then go from 2 volts to 4 volts, wait 200 msec etc?? I tried putting 0 start and 2 stop in a loop ( w a 200 msec wait) using a shift register to feed back the 2 volts as the start on the 2nd iteration and 4 as the stop then feed that into the shift reg as my start on the next and so on and so on. But it just produced a straight line from 0 to 10.
06-30-2015 11:00 AM
Another thing..I'm putting this "staircase" pattern out to a DAQ which drives an external device on my test set. At each of the 200 msec plateaus I have to go off and, using another DAQ Channel, measure another voltage. With that in mind I guess I'll have to put my 2nd daq ch in a loop and "know" when I'm at a either the 200 msec point or at each of the 2, 4,6, 8 10 voltage outputs.
06-30-2015 11:15 AM
@Clint1000 wrote:
I did take a look at the solution. I was hoping to use the ramp.vi as it ( I think) had for flexablity for my needs. I tried putting my (National's) ramp funtion in a loop aand have a 200 msec wait time but that didn't work.
Is there some way to ramp from (start) 0 then go to 2 volts ( stop) [...]
How long do you want it to take to ramp between dwells?
06-30-2015 12:17 PM
time between dwells= 200 msec..I tried what you have before posting ( less the wait loop ) and it didn't seem to work. Guess I'll have to look again..Like I said, I put the wait inside the loop.
07-06-2015 11:12 AM
jcarmody..I took your suggestion and modified it to output a stair case from 0 to 10, dwell at 2, 4, 6,8 and 10 volts for 200 msec w a slope of 2.5 volts/sec..my programs reqmnt. Couldn't have gotten what I did w/o your suggestion...thanks alot !!