08-10-2023 08:46 AM
Dear Community,
I am supplying current to a motor with a Source Measure Unit (PXIe-4138), and measuring the displacement of the motor with a DAQ (PXIe-8301).
Following the article (https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000001DcK9SAK&l=en-LU), I implementing the code to create a sinusoidal current output, and run it several times in a While Loop. There is an issue though, as one can see in the picture, every time that the loop iterates, the time needed for the next sequence to start, creates an error.
Is there a way to make the sequence start instantaneously after every iteration??
Thanks in advance,
Nikos
08-10-2023 08:53 AM
Hi nikoskal,
@nikoskal95 wrote:
Is there a way to make the sequence start instantaneously after every iteration??
Create the waveform in a way it contains more than one sine period ("as many periods as needed")…