LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Question about labview control of oriel monochromator 74125 USB read

Dear Sir,

Are you able  to open that link because it is not opening, it is showing connection time out. Can you send me this files.

 

regards

Sunny

0 Kudos
Message 21 of 60
(3,063 Views)

Try the attached zip file.

0 Kudos
Message 22 of 60
(3,056 Views)

Dear Sir,

what i have to do with this file. Actually these two file are not opening directly.

By the Way thank you sir for replying continously.

But wana to know How the monochromator run on My PC by USB port. Because i have USB a\b wire to connect my Monochromator to my PC.

0 Kudos
Message 23 of 60
(3,050 Views)

Hi Sunny,

 

No problem, happy to help since I was struggling with this for quite a while as well.

 

You do not have to do anything directly with these files. Save the files in the same directory as the three .vi files I sent you earlier. These files store the command information that gets sent over USB to the monochromator.

 

You see how this works by opening the mono_init.vi file and right clicking on the constructor node (on the left side of the vi block diagram). Click select constructor. You can then click browse and find the "cornerstone.dll" file. You can then select the "Cornerstone" command set and click OK. This will load the commands so that you can use them within labVIEW.

 

To use a command you use an invoke node (just to the right of the constructor node). After you link the reference (blue line) from the constructor to the invoke node you can then click on the "method" line and select the command you want. Then simply fill out the input and output variables that are needed for each command. Take a look at the three files I sent and play around with them, I think you'll understand how everything fits together.

 

0 Kudos
Message 24 of 60
(3,045 Views)

Dear Sir,

thanku you for being replying. But can you please send me the lower version of the mono program, i mean Labview version 2013. Because i am workin in labview 2013 and program are not opening. I think you are working on labview 2015.

From last day i am trying to install 2015 version but not working.

So pls send me lower verson program so it will open in labview 2013.

 

regards

Sunny

0 Kudos
Message 25 of 60
(3,024 Views)

Dear Sir,

I think the files you have uploaded and procedure that you have told me is working. i have downloaded the labview 2015 . Can you send me the program through which i can atleast get one wavelength like 500nm so it will be quite good for me to learn.

 

regards

Sunny

0 Kudos
Message 26 of 60
(3,014 Views)

Dear Sir,

Could you able to get wavelenghth of any value by using this procedure. If Yes, tell me a way as i am able to detect monochromator using step that were told by you.

 

regards

 

0 Kudos
Message 27 of 60
(3,096 Views)

Hi Sunny,

 

Sorry for the delay. Back on 4-8-16 I uploaded a few files (mono_init, mono_setwavelength, and a test structure). Please take a look at that post for instructions on how to use them. Essentially you just have to have all of those files in the same folder, along with the dll files. Since you are already able to connect to the monochromator it sounds like you are very close. In the test structure, when you run the program it will connect to the monochromator and then send a command to change the wavelength to whatever value you have entered in the wavelength control.

 

Hopefully the files link themselves properly, but if not you may have to open up the block diagram and replace and rewire the VIs and DLL files as needed.

0 Kudos
Message 28 of 60
(3,087 Views)

dear sir,

i already run a program i.e. Mono.int  and in result green LED is glowing, when i connect my monochromator. but could not able to get any wavelength.

please provide me some detailed step. because in my project i have to change wavelength from 400nm to 600nm that solve.

 

regards

Sunny

0 Kudos
Message 29 of 60
(3,079 Views)

That is good that the mono_init works. Please look at the other files. Specifically the mono_setwavelength file will set the wavelength on the monochromator (eg. type in 400nm, run the program, and the monochromator will move to 400nm).

0 Kudos
Message 30 of 60
(3,076 Views)