I am trying to control my Thorlabs LTS150M linear stage using VISA.
Normally, people use APT or Kinesis software provided by Thorlabs and use its property or invoke node to control the stage.
However, I want to get the position data as fast as possible. (~ 5ms)
To my knowledge, since the property node runs in the UI thread, position data acquisition can be slower when using property node. (Especially when front panel is busy)
Therefore, I decided to get the position data using serial communication directly using VISA, instead of using APT or Kinesis.
Before creating a code in LabVIEW, I wanted to make sure that there is proper connection between my linear stage and PC, so I tested it in MAX.
The linear stage is shown as "COM4" in the devices and interfaces drop down and I tried usig the VISA test panel.
I used the basic settings for the Baud rate, data bits, etc (9600, 8 data bits, none parity, 1 stop bits and none flow control).
However, when I send the *IDN?\n signal, no signal returns back.
It gives me "VISA: (Hex 0xBFFF0015)" error which indicates read timeout.
Even though writing doesn't return any error, I am not sure if the writing is working properly or not.
Below is the link for the manual of my manual stage control.
Especially, I am not sure about the stuff in page 32 where it explains about the enumeration of while connecting to the FTDI chip.
Do I have to write some additional code before connecting to COM4 through VISA?
Thank you