Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Square wave signal

Hello!
I was asked to generate a specific signal (attached). It's a square waveform that will start from 0-1 for 3 seconds, 1-2 for 3 seconds ans so on till 9-10 for 3 seconds is reached. What should do to generate these kind of signal? Any help would be appreciated.
Thanks!


Message Edited by FlipTek on 08-07-2008 07:53 AM
______________
KowdTek
LabVIEW 2009

One Step At A Time, Maybe Two...
0 Kudos
Message 1 of 6
(3,463 Views)

Hi FlipTek,

see in this thread the attached example from Hillman, i´m sure you can change it for your need.
http://forums.ni.com/ni/board/message?board.id=170&thread.id=347295&jump=true

Mike

0 Kudos
Message 2 of 6
(3,457 Views)
Hi FlipTek,
 
I added an example to a post earlier which would give you your results - however, maybe other ways to do it.
 
Take a look - its attached.
 
Basically, its a customizable waveform...(vi is labview 8.5)
 
Let me know what you think , or replay to discuss some more.
 
Thanks

*edited, thanks for the link! beat me to it lol


Message Edited by Hillman on 08-07-2008 02:17 PM

Message Edited by Hillman on 08-07-2008 02:21 PM
Kind Regards
James Hillman
Applications Engineer 2008 to 2009 National Instruments UK & Ireland
Loughborough University UK - 2006 to 2011
Remember Kudos those who help! 😉
0 Kudos
Message 3 of 6
(3,455 Views)

Thanks, this is what I'm looking for. I was able to change the output  but can't run it continuously.

Thanks again!

______________
KowdTek
LabVIEW 2009

One Step At A Time, Maybe Two...
0 Kudos
Message 4 of 6
(3,439 Views)
Hi FlipTek,

Well, this continuous business is possible. On a higher level what are you trying to do?

If you’re going to use this waveform to be outputted in hardware then you won’t need to make it periodic - you can use (hardware permitting) a buffer.
Or if you’re using it in software, then the information of one period should be all you'd need i.e. no new information will be gathered.

Replying if you wish to discuss any aspect of this further,

Regards

Kind Regards
James Hillman
Applications Engineer 2008 to 2009 National Instruments UK & Ireland
Loughborough University UK - 2006 to 2011
Remember Kudos those who help! 😉
0 Kudos
Message 5 of 6
(3,427 Views)

Hillman wrote:
Hi FlipTek,

Well, this continuous business is possible. On a higher level what are you trying to do?

If you’re going to use this waveform to be outputted in hardware then you won’t need to make it periodic - you can use (hardware permitting) a buffer.
Or if you’re using it in software, then the information of one period should be all you'd need i.e. no new information will be gathered.

Replying if you wish to discuss any aspect of this further,

Regards



I want to run a life test for solenoid valves, valves should open from base output of 1vdc for 6 secs and so on and I want to be able to repeat this cycles as much as I want to.
 
Thanks!!
______________
KowdTek
LabVIEW 2009

One Step At A Time, Maybe Two...
0 Kudos
Message 6 of 6
(3,383 Views)