Signal Generators

cancel
Showing results for 
Search instead for 
Did you mean: 

Generate square wave with frequency 100hz and pulse width 150ns

Hi everyone, 

I am using NI Fgen 5402 board. I want to use 5402 to trigger the laser diode with frequency 100hz and pulse width 150ns. 
Does the 5402 support it? If yes how can I setting the pulse width 150 ns? 

Thanks in advance!

0 Kudos
Message 1 of 9
(7,580 Views)

Hello WorldAloneMe,

 

Yes it supports this pulse width. You can calculate it by inverting the 400MS/s rate to see that it updates at 2,5ns speed so it just has to be faster than your pulse width.

Also from the specification sheet you can see that the minimum rise/fall time is 12ns which is close to 20% of your complete signal so it may not be a perfect square.

 

You can refer to this link for creating the pulse:

http://digital.ni.com/public.nsf/allkb/8C06CAE79D0A165686257C4D006D099F

 

Regards,

Jarmo Levo

Applications engineer

National Instruments

0 Kudos
Message 2 of 9
(7,548 Views)

Dear JarmoLe, 

Thanks for your info. I am a beginer with NI Fgen. I have already read some examples in Labview'a library such as Fgen Basic Standard Fucntion.vi, Fgen Arbitrary Waveform.vi, etc. 
I can not find the way to control or setting the desired pulse widtth. Can you describe more detail about it?
On the other hand, by using function generator machine, we can use the Burst Mode trigger to get the low pulse width. Can we use this way to generate the low pulse width? Or in labview we use the another way? 

Sincerely, 
WAM

0 Kudos
Message 3 of 9
(7,492 Views)

Hello,

 

I also have the ARB5402 arbitrary function generator. I have a similar question, how do I set the pulse width for a continuous square wave? I'm using the "Fgen basic standard function" example and I'm able to set frequency, amplitude, offset etc.. all through the "configure standard waveform.vi" but there is no option in that vi for setting pulse width.

0 Kudos
Message 4 of 9
(5,349 Views)

This might be what you're looking for:

http://zone.ni.com/reference/en-XX/help/370524V-01/fgencref/nifgen_attr_func_duty_cycle_high/

Marcos Kirsch
Chief Software Engineer
NI Driver Software
0 Kudos
Message 5 of 9
(5,346 Views)

Thanks for the feedback. Is this function set through a property node? If so, how does one go about setting the duty cycle % through the property node? I've never used methods like this, I've only used the niFGEN driver VIs directly.

0 Kudos
Message 6 of 9
(5,321 Views)

I ended up doing this:

 

After I call the subvi "Configure standard waveform", I then pass instrument handle to a FGEN property node. I selected "Duty Cycle High" from the list of supported properties and wired a value of 50 to the DBL input terminal of the node. I hope this makes sense.

0 Kudos
Message 7 of 9
(5,318 Views)

You want 150ns at 100 Hz. That's a very small duty cycle and the device probably cannot achieve it. Look into http://zone.ni.com/reference/en-XX/help/370524V-01/fgencref/cvinifgen_defineuserstandardwaveform/

Marcos Kirsch
Chief Software Engineer
NI Driver Software
0 Kudos
Message 8 of 9
(5,312 Views)

No that was the original poster who wanted that, I just added a comment because I have the same basic question. The PW I'm looking for is a 1 uS pulse within a 100 kHz signal.

0 Kudos
Message 9 of 9
(5,310 Views)