From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
I am trying to create a linear AO voltage using the DAQmx functions to control xy galvo mirrors. How can I create a linear ramping voltage where I have control over slope and amplitude of the votage ramp?
I would use the Ramp Pattern function. Then just write the values to the Analog Output.
There are only two ways to tell somebody thanks: Kudos and Marked Solutions Unofficial Forum Rules and Guidelines "Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
I have tried using this function and it does work, however, is there a way to control the amount of samples that it uses? I would like a smoother ramping function than it seems i can get with this.
It is a polymorphic VI. You can choose to have it create the ramp based on the number of samples in the ramp or by a delta.
There are only two ways to tell somebody thanks: Kudos and Marked Solutions Unofficial Forum Rules and Guidelines "Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5