LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

making LV control with DLL call

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?

 

xx.jpg

Best Regards,
Poulomi Das.
Institute for Microsystems Engineering.
University of Freiburg.
Freiburg, Germany.
Download All
0 Kudos
Message 1 of 5
(2,923 Views)

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.

0 Kudos
Message 2 of 5
(2,891 Views)

if you have the source code, you can try this.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 3 of 5
(2,883 Views)

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.

 

Best Regards,
Poulomi Das.
Institute for Microsystems Engineering.
University of Freiburg.
Freiburg, Germany.
Download All
0 Kudos
Message 4 of 5
(2,860 Views)

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.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 5 of 5
(2,848 Views)