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.