01-24-2013 06:30 PM
I am using labview 8.5 to control devices for my experiment, and instead of using hyperterminal to control them seperately, I can control and give order them in one labview program. My question is that is possible to command this device automatically. For example, I made two case structure to control my one device in case 1 it change wavelength of laser and in case 2 i can see exact wavelength, but I need to enter wavelength value that i want to set everytime. I want to make it automatically, I mean when I run the my labview my software will write wavelength set auomatically and change wavelength in each 15 min something like that is that possible. For example, in first 15 min It will measure when WL +500 and when 15 min finish, the software change WL to +475 and wait 15 min to measure that one and it will continue till WL reach -500. Is that possible? If yes, what can i use to do that kind of thing?
Thank you.
01-25-2013 05:35 AM
I am not sure if I understand your problem completely. I believe the code below will be a good starting point.
01-25-2013 03:29 PM
I will try it. To be clear I will explain what I am doing. I have two case structure in while loop 0 and 1 they are my case, 0 is to show exact wavelength value and 1 is to change it. I write 500 and push 1 to chnage wavelength and go back to 0 to show exact wavelength value, after that i write 475 and do some things to change it. I want to make them automatically I mean, in 15 minute the program make it automatically instead of writing number and push button and to it again. bottom line is can i juimp between case structures by time.
01-25-2013 03:38 PM
@mkmo wrote:
I will try it. To be clear I will explain what I am doing. I have two case structure in while loop 0 and 1 they are my case, 0 is to show exact wavelength value and 1 is to change it. I write 500 and push 1 to chnage wavelength and go back to 0 to show exact wavelength value, after that i write 475 and do some things to change it. I want to make them automatically I mean, in 15 minute the program make it automatically instead of writing number and push button and to it again. bottom line is can i juimp between case structures by time.
Rather than explaining post your code. It is much easier to help you if we see what you have done. It is difficult to explain the codes in words.
01-26-2013 02:04 AM
This is my labview software to change laser wavelength.