07-11-2022 11:06 AM
I have to generate a sine wave and populate a trigger at specific samples alongside.
I think I have to use Script Mode because I couldn't define more that one offset for the Marker in Arbitrary Wave Mode.
Using:
script myScript0
wait until scriptTrigger0
repeat 4
Generate wfmSine marker0(0,24,48,76)
end repeat
end script
I get the expected result in screenshot. Since replacing strings in the script in order to vary the marker's positions is silly I'm curious if there is a property I could set "programmatically".
Can I write: Generate wfmSine marker0(X,Y,Z,A) , with some X,Y,Z,A as globals? Where is even the documentation for FGen script?
Solved! Go to Solution.
07-11-2022 02:19 PM
There is no way to do that in Scripting mode. You will need to perform the string substitutions.
07-12-2022 02:59 AM
Thanks for fast reply.