i am trying to control a spatial light modulator (SLM). it's
built by cambridge research and instrumentation, and they provided vi's
to operate it. one of the vi's is basically just an id query, and
it gives the number of pixels and the type of SLM. the SLM has
128 pixels and has a dual mask, but this vi usually returns 0 for the
pixel number and says it does not have a dual mask. the other
vi's usually don't work either.
i'm pretty sure that i've made some error, and that CRI's vi's are fine. the SLM is a
USB-TMC
device, i can open it in VISAIC (even though most of the basic I/O
commands time out). i have correctly set the baud rate to 460800
bps, the data bits to 8, parity to none, and stop bits to 1. i
don't know what the flow control is supposed to be.
i'm having other problems besides just incorrect query answers,
too. my vi's often time out, and lately when they do time out,
labview crashes and the task manager can't even kill it. i have
to restart the computer.
i'm definitely a novice in instrument control, so i would really
appreciate the help and advice of the experienced users here.
i've attached the vi i described above. thanks!