取消
显示结果 
搜索替代 
您的意思是: 

Vary TTL signal with slider or switch

已解决!
转到解答

I would like to vary the TTL phase 1 duration with a switch/toggle/relay/slider.  i am outputing a signal to PWM to control an ESC.  How can this be done in DASYlab

0 项奖励
1 条消息(共 7 条)
5,583 次查看
解答
已被主题作者 donrafa7 接受

You can create a Generator module, and select amplitude, frequency and duty cycle to modulate. 

Then connect a Slider to that input to the Generator. 

 

You'll need to work the settings of the Rectangular waveform to give it an offset so that it does 0-5, not +/-5.

 

Measurement Computing (MCC) has free technical support. Visit www.mccdaq.com and click on the "Support" tab for all support options, including DASYLab.
2 条消息(共 7 条)
5,565 次查看
解答
已被主题作者 donrafa7 接受

Attached is an example for DASYLab 2016 SP1.

Measurement Computing (MCC) has free technical support. Visit www.mccdaq.com and click on the "Support" tab for all support options, including DASYLab.
0 项奖励
3 条消息(共 7 条)
5,559 次查看

Thanks,  exactly what i needed

0 项奖励
4 条消息(共 7 条)
5,555 次查看

I'm having trouble getting the speed to modulate,  the motor turns on and i can basically do 0 or 100.  I'm wondering if my timebases are off?  using an instrunet-423 at 5000hz.  Analog out  Can you take a look at my worksheet.  thanks

0 项奖励
5 条消息(共 7 条)
5,531 次查看

Change the time base of the Slider to use the instrunet time base for output ... 

 

Failing that, you'll have to check your instrunet output settings.

 Change the Slider Time base settingChange the Slider Time base setting

Measurement Computing (MCC) has free technical support. Visit www.mccdaq.com and click on the "Support" tab for all support options, including DASYLab.
0 项奖励
6 条消息(共 7 条)
5,529 次查看

that had a better result.  i can modulate somewhat.  The motor/esc seem to only be working when using 5000hz with a block size of 2.  Could my output frequency be too low?  also do you think i would get better results going to a digital output instead of analog?

0 项奖励
7 条消息(共 7 条)
5,525 次查看