LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to get a trigger?

Hi all,

 

I use galvo mirrors to do xy-scanning to get a 2D image. When the mirror scans a new line, the detector will read data for the whole line.  A trigger is needed when the mirror starts next line. My scanning VI is attached, can anyone please let me know how to get a trigger?  like a rectangular wave?

 

Thanks,

Mei

0 Kudos
Message 1 of 4
(2,302 Views)

Well in general you don't "get a trigger" you generate a trigger. You simply need to synchronize your scan with whatever you are using to switch lines.

 

I looked at your diagram and it is such a mess that I immediately closed it and refuse to even try to figure out what you are doing there.

 

 

 

 

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 2 of 4
(2,276 Views)

Hi Rtslvu,

 

I am sorry for my program... But I do not quite know how to synchronize them..

 

Thanks,

 

Mei

0 Kudos
Message 3 of 4
(2,270 Views)

@M.Mei wrote:  

 

I am sorry for my program...  Start by making all of your Error Lines run straight and horizontal.  Move the rest of your code to "fit", but also try to keep wires straight and horizontal, and be neat in your wiring.   But I do not quite know how to synchronize them.. I'm not sure what "them" is.  I'm assuming it has something to do with your DAQ output.  Try writing a very simple program, one that, say, makes a sinusoid on one channel of your DAQ device.  Simplify it, try it out, and if it works, then start adding to it.  It is much easier to add to something simple that works than to try to figure out something complex and messy that doesn't work, particularly when we don't have the hardware around to run tests.

 


Bob Schor

0 Kudos
Message 4 of 4
(2,260 Views)