05-30-2024 05:06 PM
I have written a simple labview code that is supposed to trigger an ND:YAG pulsed laser. The DAQ sends some signals which can be observed on a scope but when the DAQ is connected to the external TRIG of the laser, nothing happens; it doesn't trigger the laser. I am wondering if I am doing something wrong. Any help would be appreciated.
I have attached the code. Thanks
05-30-2024 10:57 PM
What is the voltage level and pulse duration required for the LASER to trigger? Can you share the manual for the LASER driver or control interface?
05-31-2024 01:39 AM - edited 05-31-2024 01:40 AM
Hi ksarpong,
@ksarpong wrote:
I have written a simple labview code that is supposed to…
05-31-2024 09:01 AM
From the manual (pages 33-34), the laser requires 10-20 microsecond pulse width and 0 to +5VDC TTL signal. Interestingly, I was able to trigger (using the same code) when the signals are sent to the flashlamp trigger IN but not when it is sent to the Q-switch trigger IN. I want help to be able to trigger using the Q-switch trigger IN, that way the pulse-pulse shots are quite stable. I have attached the manual for the laser here and all that is needed are on pages 33-34. Thank you.
05-31-2024 09:41 AM
Interestingly, the code works when the signals are sent to the flashlamp but not when the signal is sent to the Q-switch.
05-31-2024 09:41 AM
With only a brief look at the manual, page 34 seems to suggest that you'd want to provide precisely-timed pulse signals to BOTH the Flashlamp and Q-Switch inputs for best results.
Precise timing of 2 signals will require some kind of hardware-based timing rather than your present approach of software timing. I would personally approach this with counter tasks, but a hardware-timed digital output task might also be a viable approach.
What DAQ device(s) do you have available to use for this app?
-Kevin P
05-31-2024 10:54 AM
An image of the DAQ device I am using is attached. Thanks
05-31-2024 11:07 AM
@ksarpong wrote:
An image of the DAQ device I am using is attached. Thanks
This image is not really helpful, the model of the DAQ is the information required.
05-31-2024 11:11 AM
M/N: USB-6003
P/N: 15442D-01L
S/N: 1F3CF06
Thanks!
05-31-2024 12:04 PM
You got a "low-cost" DAQ, which means the features are also basic and limited.
As per your LASER manual, you need to send 150us spaced pulses to FLASHLAMP and Q-SWITCH