Hello.
I am using a state machine and DAQmx to generate custom signals. Two of the profiles (static and staticwalk) are straight forward. I am able to generate the correct signals and the program works as expected. I am having issues with the 'ETrip' profile. In this profile, there is an acceleration phase, a constant velocity phase until a certain number of events are detected, a deceleration phase, a wait phase, an acceleration to deceleration phase, and then the signal is complete, the program prompts the user for input and then it is ready to generate another profile.
In the ETrip profile, I start by writing a finite number of samples for the initial acceleration. I then switch to continuous samples for the constant velocity phase and then back to finite samples for the initial deceleration and then the acceleration to deceleration phases. I am not sure how to go between states to generate one smooth signal. I am getting errors with the Sample Clock and I am not able to generate the expected signal.
Thank you for your help.