Tektronix Technical Forums are maintained by community involvement. Feel free to post questions or respond to questions by other members. Should you require a time-sensitive answer, please contact your local Tektronix support center here.
I just bought a DAQ6510 with a 7700 card and startet programming with the TSB in Lua. Everything works quit well so far, but I would like to variate the scaninterval during a measurement. My plan is to measure for about a week, at the beginning i want to scan (330Hz) as fast as possible and then a want to reduce exponentially the scan rate to about 0.01 Hz at the end. My plan was to create an array/table with all the time values (TimSteps) (loop over e^(-a*x)). After that I would like to do the following (it is just a sketch):
for i=1,LengthOfTimSteps,1 do
Voltage = scan.??? here ist the struggle
As shown a both I can not not find a function which just does a scan once. As far as I understood I always have to define all the parameters (scaninterval an so on) and then trigger the scan. But this does not give me the possibility to do it exponentially (scaninterval does not accept tables). Sorry for my English, I am foreign and sorry for me code, I am new to Lua.
It would be really nice if someone more experienced than me could help me.
Who is online
Users browsing this forum: No registered users and 1 guest