Quantcast
Channel: Digital I/O topics
Viewing all articles
Browse latest Browse all 2167

Problem with scripted waveform generation HSDIO

$
0
0

Hello all,

I am using a PXIe 6541 card to dynamically generate a sequence of waveforms using a script. With a clock frequency of 10 MHz, my test script looks something like

 

script myScript

generate waveform0
Repeat 400
generate waveform1
end repeat
Repeat 400
generate waveform2
end repeat
Repeat 400
generate waveform3
end repeat
Repeat 200
generate waveform4
end repeat
Repeat forever
generate waveform5
end repeat

end script

 

when I run this script, I get the output that I expect from the programmed waveforms and repetition times.  Each waveform is an array of 4 samples that changes the state of one channel to pulse it on and off. However, when I increase the loop times by a factor of 25, I only see one pulse, as if the full script is not being generated. The card should be able to handle this many repetitions, so I am not sure why it cannot output the script if I increase the number of times each waveform is repeated.

 

Many thanks,

Jimmy


Viewing all articles
Browse latest Browse all 2167

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>