I am trying to pass a sequence of images to my SLM (a Polygon400 DMD) via
Matlab. The following (and multiple variants thereof) does not work:
with 'mov' a 3D Matlab array of uint8's
Note that the following works in Matlab:
with 'img' a 2D Matlab array of uint8's
Anybody knows how to pass a sequence of images to the SLM in Matlab? I'm
using MM2.0 via Matlab 2018b on Win10.
for f = 1:100
for some reason the displaySLMimage function never worked, but this
commandtrigger property does the trick. It actually doesnt matter if you
send the f value in the second loop or just 1 or whatever else all the time,
it always pops the next image in the sequence, when my understanding of how
commandtrigger should work is that sending a certain value (here f) should
display the frame that is in that position in the sequence (the f-th frame
of javamov in our example). But this works for my purposes.