Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I control the camera clock?

Hi.
I have a progressive area scan camera(Pulnix TM-6740CL, cameralink, 200fps).
This camera can output camera clock through camera link cable as I know. So, I want to make a program that is enable an image grabber which takes this clock to send this signal forward to DAQ BNC block.
 
I think that this clock can come from 6804D BNC connector linked to image grabber and comming clock can be inserted into input channel of DAQ BNC block.
 
Let me know some information of labview code how I can program a labview code to satisfy this process.
 
 
 
0 Kudos
Message 1 of 4
(4,017 Views)
Hey gistguy,
 
When you say that your camera can output the camera clock, I am assuming that you mean the pixel clock of the camera. If this is what you meant, there is a VI in LabVIEW called IMAQ Trigger Drive2.VI that you will want to use. There are a couple inputs that you need to wire up. First, you will want to create a constant or control on the Trigger Drive Input. This is the signal that you want to take from the camera and "route" it or drive it to another location. You will want to choose the Pixel Clock value for this input. Next you will need to create a constant or control on the Trigger Type input. If you want to send the signal out on the trigger output of your board, then you will want to choose External as the input. If you have a RTSI cable connected between your framegrabber and your DAQ board, then you can use RTSI as the input. Next you will want to wire up a Trigger Number. This will be the number of your trigger output, or your RTSI line. Also, you can input the Trigger Polarity if you choose, either as Active High or Active Low. Then, when you start your acquisition, the signal will be routed or driven to the location you want. Last, you can check out the Example program called LL Trigger Drive that ships with the NI-IMAQ driver.
 
I hope this helps. Please let me know if you have further questions or concerns. Thanks, and have a great day.
 
Regards,
DJ L.
Message 2 of 4
(3,995 Views)
I made a labview code in basis of LL triger drive.vi.
I'm not sure this program is feasible.  I checked that signal comes from trigger line0 was vd sync signal and at the same time, sine wave was generated from DAQ block.
 
Could you give me bit of information for my code?
 
labview is used 7.0 express
0 Kudos
Message 3 of 4
(3,977 Views)
Hey gistguy,
 
I am not sure I understand what you are asking. You said that the signal coming from the imaq trigger line 0 was the vertical sync signal, but was this a question, or were you saying that it does not work? What does the sine wave have to do with your IMAQ trigger that gets driven to the DAQ board? You asked for information for your code, but what kind of information are you asking for?
 
One thing that I can suggest is that you separate your code a little bit if you are unsure what is really happening. By breaking up the code first, testing out just the IMAQ trigger drive, make sure it is working how you want it to, then start adding in parts of your DAQ code, this might be the best way to create your multi task program.
 
What are you trying to do overall, as the title to this post is "how can I control the camera clock" but now that you have routed that camera clock signal, are you having problems with the DAQ code? Also, do you want the pixel clock or the vd sync signal from your camera? Please provide more information and clearly state your problem or question. Thanks, and have a great day.
 
Regards,
DJ L.
Message 4 of 4
(3,952 Views)