04-15-2016 10:20 AM - edited 04-15-2016 10:32 AM
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
04-15-2016 10:24 AM
Dear sir,
i have already done that in set wavelength program LED glows but it is not moving to get 400nm wavelength.
regards
sunny
04-15-2016 10:36 AM
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.
04-15-2016 12:33 PM
dear sir,
thanks a ton.... it is working now. I am getting different wavelength.
warm regards
Sunny
04-15-2016 01:36 PM
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!
04-21-2016 03:20 PM
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 !!!
04-21-2016 03:55 PM
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.
04-21-2016 09:18 PM
Thanks a lot. I will try it. Where did you get documentation for the Cornerstone.dll? What is the CyUSB used for?
Best regards
04-22-2016 01:32 AM - edited 04-22-2016 01:34 AM
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.
04-24-2016 09:13 AM
Thanks dahollings, worked lika a charm