11-09-2016 03:16 PM
For the direct communication method, the second to last code ("21" in the example) is the destination ID. It uses 21 as an example but it could be something else. If all you're using is one cube, it might be "50" or "11" instead. There's a table on page 14 of that same manual.
11-11-2016 08:05 AM
The error comes out of the first constructor node.
Thanks,
SM
11-11-2016 10:45 AM
Kyle,
Which code were you talking about when you said: "For the direct communication method, the second to last code ("21" in the example) is the destination ID." ?
Thanks,
SM
06-30-2017 01:35 PM
Hi, do you know how can i set velocity using Kinesis code ?
06-30-2017 02:28 PM
Hi,
It depends on how you are talking to the device. The way I'm doing it is through .NET and I am using the Kineses DLL files. Using Invoke Nodes and Property nodes this can be done easily (see attached snapshot).
Hope that helped,
SM
04-01-2019 07:37 AM - edited 04-01-2019 07:45 AM
Hallo
I get this message, can You please help me.
I did the Same as being done in the Solution.
Thank you
Ghaith
04-03-2019 07:16 AM
Hello, please, put the print screen of your VI !!!
05-26-2022 04:22 AM - edited 05-26-2022 04:31 AM
VISA serial tool can send HEX code as well. I have tested it with the LabVIEW example. Before you have to load and set Thorlabs APT driver to use virtual COM port for PC. I have tested the commands on Solenoid K-Cube KSC101 hardware (very similar to KDC101).
Mode is manual: C0, 04, 01, 01, 50, 01
Set the solenoid to ‘ON’: CB, 04, 01, 01, 50, 01
Set the solenoid to ‘OFF’: CB, 04, 01, 02, 50, 01
Selenoid K-Cube setup for external control using TTL levels.
Set the control mode to ‘Trigger’: C0, 04, 01, 04, 50, 01
Set the solenoid to ‘ON’: CB, 04, 01, 01, 50, 01
The last commands let to control KSC101 using TTL levels of Trigger1 input. TTL high switches the Solenoid shutter ON, TTL Low switches the shutter OFF. This gives the possibility to synchronize Thorlabs shutter with laser. The laser pulses repetition rate is 10Hz.
Very important is to set the right commands as the wrong command blocks all communication of K-Cube. To recover the communication you have to switch the power supply off and ON.
Debugging: Temporary install Kinesis software. When working with serial commands, the Kinesis Development TestClient can be useful. You can click on the buttons of the GUI and see the respective serial commands. You can find it in this folder: C:\Program Files\Thorlabs\Kinesis