Results 1 to 2 of 2

Thread: Help me with the external trigger

  1. #1
    Join Date
    Jun 2011
    Location
    Lima, Peru
    Posts
    3

    Help me with the external trigger

    Hi, my name is Abel Dueñas
    I have a camera (DFK 31BF03.H.) and I'm using Matlab 2010 and TISimaq (camera adapter). I want to use the external trigger to then process the captured image. My problem is I can´t see the image before the trigger only after. What I seek is to see the image to decide if I should take the picture. Can you send a example of the code to make it?

    I am trying with this code, but I only can see the object that I want to shoot after push my external trigger. I wanna see the preview:

    clear all
    close all
    clc

    closepreview
    imaqreset %reset imaq
    imaqhwinfo %check available adapters
    vid = videoinput('tisimaq', 1); %set the first available camera to use tisimaq adapter
    src = getselectedsource(vid);
    set(src, 'Trigger', 'Enable') %directly manipulate src_obj to enable trigger
    set(src, 'TriggerPolarity', 'High') %Set polarity for the rising edge.
    src.Saturation=255;
    src.Hue=180;
    vid.ReturnedColorspace = 'rgb';

    preview(vid)


    Best Regard,
    Abel Dueñas


    PD: Sorry for my english, Mi natural language is spanish

  2. #2
    Join Date
    Jan 2003
    Location
    Bremen, Germany
    Posts
    4,862

    Re: Help me with the external trigger

    Already answered in the other post.

    (Posts of new users are moderated to exclude spammers from the forum.)
    Best regards
    Stefan
    IC Imaging Control Support

Similar Threads

  1. Help me with the external trigger
    By Abel Dueñas in forum Hardware and Driver
    Replies: 3
    Last Post: June 28, 2011, 10:12:06
  2. External Trigger
    By drgolf in forum IC Imaging Control C++ Class Library
    Replies: 3
    Last Post: October 4, 2010, 10:31:44
  3. External trigger in DirectShow
    By samotholt in forum IC Imaging Control ActiveX
    Replies: 7
    Last Post: May 4, 2009, 15:18:27
  4. Max. FPS in external trigger mode
    By cagati in forum IC Imaging Control .NET
    Replies: 5
    Last Post: July 12, 2007, 10:45:48
  5. External Button Trigger
    By Unregistered in forum IC Imaging Control ActiveX
    Replies: 6
    Last Post: November 1, 2002, 18:54:58

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •