LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Liquid Crystal Controller(LCC)

Solved!
Go to solution

Hello All,

 

So I am trying to integrate a Liquid Crystal Retarder(LCR) into my polarimeter. It is controlled By a Liquid Crystal Controller(LCC). The LCC is made by Thorlabs and has a USB input and bnc input. The Model for the LCC is "LCC25". Right now I can manually change the voltage values from the computer through the usb cable using a Hyper Terminal File That has preproggramed commands for the LCC. My question is can i use this same process to creat a labview program that changes the voltages through the usb cable. If not it says it can be controlled through the external BNC input with voltages from 1-5 volts. I would prefer to use the USB cable but I am willing to use the BNC cable if no other way exists. Please post an example code if there is one because i could not find it thank you. I am using LabView 2012 if you are going to post an example.

0 Kudos
Message 1 of 6
(4,468 Views)

Yes, search the LabVIEW examples for basic serial read and write. Then refer to LCC manual for the COM port settings and commands, paying attention to any specific termination characters needed.

 

Their software available was actually written in LabVIEW:

 

http://www.thorlabs.us/software_pages/ViewSoftwarePage.cfm?Code=LCC25

 

-AK2DM

~~~~~~~~~~~~~~~~~~~~~~~~~~
"It’s the questions that drive us.”
~~~~~~~~~~~~~~~~~~~~~~~~~~
0 Kudos
Message 2 of 6
(4,452 Views)

Thank you that is very useful, but i need to be able to control it in a normal labview window with other programs side by side. So is there a way i can get the raw program instead of this prefabricated VI.

I need to be able to run through diffrent voltages in a sequence at high frequencies. Any help would be welcome. In other words i want to be able to edit this program is this possible?

0 Kudos
Message 3 of 6
(4,437 Views)
Solution
Accepted by topic author opticsdude001

If you can communicate via Hyperterminal then you can easily do so with LabVIEW.

 

Search the examples within LabVIEW for serial read and write. Once open set up the COM port parameters to match what is in the LCC's manual.

 

Then try to issue one of the commands with the appropriate parameters using proper termination characters.

 

-AK2DM

~~~~~~~~~~~~~~~~~~~~~~~~~~
"It’s the questions that drive us.”
~~~~~~~~~~~~~~~~~~~~~~~~~~
Message 4 of 6
(4,426 Views)

Ok thanks, I will try this an see if it works.

0 Kudos
Message 5 of 6
(4,419 Views)

Hi,

 

Did you succeed to solve the problem?

0 Kudos
Message 6 of 6
(4,123 Views)