03-07-2024 06:27 PM
I am trying to send pulse signals to my DAQ for control. However, it is only able to pick up the first duty cycle I input. The fan's speed doesn't change even when I change the duty cycle. Any help?
Solved! Go to Solution.
03-07-2024 06:53 PM
Thanks for posting your VI, but it's in 2023 and a lot of us on the forums use earlier editions. If you back-save it to 2019 or so a lot more of us can look at it.
03-08-2024 12:50 PM
2019 version attached.
03-08-2024 01:41 PM
I'm curious about the device you are trying to control. I make low-frequency pulses (up to a few hundred Hz) with a DO line by writing alternating T and F to the DO line and doing the timing with a Wait (ms) function in a While Loop. In another application, I program a Counter/Timer line with (again) a fairly low frequency and create DO pulses that drive a stepper motor. I would expect to see a DAQmx Timing function in your code ...
What device are you using? I assume it might be a USB-something, and you are using the so-and-so sub-system (AO, DO, Counter/Timer, etc.) -- please clarify.
Bob Schor
03-08-2024 01:54 PM
Try adding a timing node, Implicit with Continuous samples, before the task starts:
03-08-2024 01:55 PM
I think you have several problems here. Take a look at the examples in Find Examples...