10-19-2023 02:30 AM
I would like to know how to solve this problem because I cannot use LabVIEW to control the automatic stage.
The stage and controller we are using are from Chuo Precision Industrial.
Motorized three-axis stage: ALS-602-H1M
Stage controller: QT-CN6
Microstep driver: QT-MD1, QT-MD2
USB Serial Conversion Cable:USB2.0 TO RS232 DB 9Pin Female Serial Cable(PL-2303) Product Number:CD0489
Windows11
I am currently trying to control an automatic three-axis stage with LabVIEW2017, but when I test control it with the NI-MAX test panel, I can Write with no problem, but when I do Query and Read, I get an error like the one in the attached image. Also, the same error occurred when the code ends in \r\n. When controlled manually by the stage controller, all three axes work.
The error code is,
VISA: (Hex 0xBFFF0015) Time expired due to timeout before operation is completed.
I am thinking that the connection between the PC and the controller is not working, but I do not know if the USB serial conversion cable is not compatible with this stage controller or if there are other causes. Therefore, we would like to know the solution.
10-19-2023 03:10 AM
Yen-n seems like a strange end of message in that test panel.
Are the port settings correct? They default to 9600 baud 8 bit and so on but that might not work. There are too many unknown factors right now.
10-19-2023 04:56 AM
Googling 0xBFFF0015, first hit:
Solved: Re: VISA: (Hex 0xBFFF0015) Timeout handling - NI Community
I put my bet on the end character and\or baud rate too.