11-12-2013 04:02 AM
Hello,
I want to make use of some factory provided DLL call fuctions to make a LV Program that is explained as below:
I have a LOT Monochromator - MSH 300 with DLL functions provided in C#, C++, Delphi, Visual Basic and few LabVIEW Written codes.
Please see attachment of the sample LV Codes and the User manual for description of the DLL functions.
I want to have some LV subroutines through which I can set the Grating, Filter wheel, start-stop-step - wavelengths, with a delay. Please could someone take a look at the User Manual and help me with how could I make a LV Code to do the above?
11-12-2013 11:05 AM
Please try to write a more specific question. Have you tried writing any of this code yourself yet? If so, are you stuck somewhere? If not, start working on the code on your own, and then post a specific, detailed question explaining the problem that you are having.
11-12-2013 05:13 PM
if you have the source code, you can try this.
11-14-2013 04:26 AM
Hello,
thank yo for your replies above.
So here is my very specific problem that I am facing right now. I have made my own VI to read Wavelength and Current from a Monochromator and Lock In amplifier respectively, by using the sub VI codes provided by the company.
In the 2nd attachment you will find a VI called LOT_SR7270_Edit2.vi. In this VI, my loop does not execute after the first flat sequence structure. The steps should work like:
1: Initialize Mono and Lock In amplifier.
2. 'For loop' runs once and gives the Start Wavelength (= Current wavelength) and goes to next flat sequence.
3. The second and third sequences control the Lock In Amplifier 7270. At the end of Third sequence, the Current Wavelength (from step 2) is plotted against the Amplitde of Current (in amperes) from Lock In. It is saved as a .txt file also.
4. Last sequence runs and then goes back to the first sequence and starts the whole process from the New Wavelength = Start + i*Step
New Wavelength should be the Current wavelength for flowing runs until the Stop Wavelength is reached.
And then outer
While Loop stops the whole code.
The Lock In main code which I put in my VI LOT_SR7270_Edit2.vi was taken from the 3rd atachment called SR7270 Front Panel-Single Reference Mode.vi
Once more, my problem is my loop does not run after step 2 but I get no error message! Please help.
11-14-2013 11:44 AM
I would suggest at least completing this course. There is a good chance that you can solve your issues by using proper LabVIEW programming techniques.