LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Question about labview control of oriel monochromator 74125 USB read

dear sir,

the three program you send me (mono.int, set wavelength, test) ,plz go to file and then move to "save for prevous version" and save it for  a labiew 2013 version. So it will be more convinient for me.

 

regards

sunny

0 Kudos
Message 31 of 60
(3,238 Views)

Dear sir,

i have already done that in set wavelength program LED glows but it is not moving to get 400nm wavelength.

regards

sunny

0 Kudos
Message 32 of 60
(3,233 Views)

Attached are the files saved for LabVIEW 13.0. Please know that the Setwavelength VI will not do anything if the machine is not already connect. You must use the "SubVI Test Structure" as that program first calls the mono_init VI in order to connect, and then calls the SetWavelength VI to actually send the command to the instrument.

 

 

0 Kudos
Message 33 of 60
(3,225 Views)

dear sir,

thanks a ton.... it is working now. I am getting different wavelength.

 

warm regards

Sunny

 

0 Kudos
Message 34 of 60
(3,214 Views)

Excellent! Glad it is working. I think you have the basics down now. In order to run other commands you just need to use what you have now as a template. Making new files identical to "SetWavelength" except with different commands will allow you to do whatever else you may need to do.

 

Good luck!

0 Kudos
Message 35 of 60
(3,202 Views)

Hi! I was reading this thread since I have the exact same problem. I tried to use the vi's that you posted but  they are in LV2015 format (even the ones that you say are in LV2013). Could you please recheck that they are saved in LV 2013 format and repost them? Thanks a lot !!!

0 Kudos
Message 36 of 60
(3,179 Views)

Hmm, I'm sorry the 2013 files did not work. I defintely back-saved them to that format. How about this for a workaround: Attached are some screenshot showing the block diagrams. They are simple so you should be able to recreate these yourself in no time.

 

 

0 Kudos
Message 37 of 60
(3,172 Views)

Thanks a lot. I will try it. Where did you get documentation for the Cornerstone.dll? What is the CyUSB used for?

Best regards

0 Kudos
Message 38 of 60
(3,158 Views)

Not sure about the cornerstone DLL as I have never worked with that, but the CyUSB DLL is the general purpose driver from Cypress for their USB chip solutions. The monochromator must be using one of the Cypress USB controller chips inside and this DLL provides an API to communicate through the USB bus with this chip.

 

As such it is not from Oriel, Newport or so but just used by them. Its documentiation can be found by downloading the SDK for this driver from the Cypress site, but you most likely shouldn't try to access the CyUSB DLL directly.  That requires you to know many details about the internal memory map and register access model of your device that I'm not sure Newport would want to document. Also that DLL exports a C/C++ function interface which requires you to use the Call Library Node and possibly even write a wrapper DLL in C for some of the functions. Unless you know C programming really very well, you should avoid that at all costs as it will be really painfull to interface that DLL.  

 

As far as documentation for the cornerstone DLL, there should be some SDK documentation on the Newport site. Newport is generally pretty reserved about putting any such things publically on their website. In the past you really needed some sales lever somehow to get the right people at Newport to dig up that information and send it to you, but their newer website seems to contain a link on the support site to their FTP server at ftp://download.newport.com which seems to contain also information for your device.

Rolf Kalbermatter
My Blog
0 Kudos
Message 39 of 60
(3,145 Views)

Thanks dahollings, worked lika a charm

0 Kudos
Message 40 of 60
(3,128 Views)