LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Automatic change by time

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.

0 Kudos
Message 1 of 5
(2,607 Views)

I am not sure if I understand your problem completely. I believe the code below will be a good starting point.

do something every 15min.png


CLA CTAChampionI'm attending the GLA Summit!
Subscribe to the Test Automation user group: UK Test Automation Group
0 Kudos
Message 2 of 5
(2,587 Views)

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.

0 Kudos
Message 3 of 5
(2,567 Views)

@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.



Mark Yedinak
Certified LabVIEW Architect
LabVIEW Champion

"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot
0 Kudos
Message 4 of 5
(2,560 Views)

This is my labview software to change laser wavelength.

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