I've just started using labview sometime ago and am just a beginner. I am trying to run a monochromator and a lock in amplifier together using my program such that when the monochromator applies a certain wavelength starting from a user desired value , the lock-in amplifier should measure the current and phase produced by the sample being tested at that wavelength. Then after waiting a certain amount of time (also defined initially by the user), the monochromator should apply the next wavelength on the sample and the lock-in amplifier should measure the current on the next wavelength applied. This should continue until the last applied wavelength and finally the graphs of current vs time, phase vs time and wavelength vs time shall be plotted. Also a graph of wavelength against current should be plotted. I've attached the snippet of my code and would like to know that how can I synchronize these 2 devices in my code such that when the wavelength changes the current reading is taken accordingly so that wavelength vs current data can be obtained. I'd also like to mention that the lock-in amplifier is being triggered using an external frequency. |'d be really grateful for your help 🙂
↧