03-02-2017 06:49 AM - edited 03-02-2017 07:04 AM
Bonjour tout le monde, j'aurais besoin de votre aide
j'ai une camera JAI que je dois trigger via un autre programme(Donc 2 VI au total)! En fait dans VI j'ai un programme pour allumer une LED via une carte DAQ 6225, et du coup quand j'appuis sur mon bouton dans le front panel pour allumer ma LED, l'autre VI qui contient le programme de la camera, dois activer la camera et commencer l'acquisition des images.
Des idées?
Hello everybody, I need your help.
I have a JAI cam that i want to trig. I have one VI that controls a LED via a DAQ 6225 and another one that acquires images from the cam.
In the end I want to have 2 VI, so when I click on my button to control my LED, the other VI starts and acquires images. Any ideas?
Solved! Go to Solution.
03-02-2017 07:10 AM
To be able to helo you we will need some more details about the camera.
Is it USB, IP, CL etc.? What is the model?
03-02-2017 07:28 AM
03-02-2017 07:36 AM
Ok, so this should get you started: http://www.ni.com/tutorial/14423/en/
Here are the newest NI vision drivers (be aware that they are paid, so if you don't have a licence you will need to get one). Check the readme before to confirm it will be compatible with your LV version.
03-02-2017 07:44 AM
Thanks a lot.
All my drivers are updated and I have all the licences. My problem is that I can't find how to trig my cam so it can work with my LED VI
03-02-2017 08:03 AM
Please next time write a more detailed description 🙂 When you wrote "the other VI starts and acquires images" I assumed you mean a software trigger.
So now the problem is that you don't know how to synchronize sending a trigger with other operations on the 6225 or you don't know how to trigger the camera? Are you running into some concrete issues?
03-02-2017 12:31 PM
Let me explain my problem again. I have one VI with a software trigger(thet controls a LED) and another VI with my cam program I use to record images.
The problem is that I don't know how to trigger my camera to start the acquisition at the same time that I push my trigger button that turns ON the LED also.
I don't know if it's clear enough 😛
03-03-2017 01:34 AM
From what I see the camera has trigger input and you have a DAQ device that can generate the trigger, so I don't see any problems. That's why I am asking for more details - what do you have the problem with.
You don't know how to configure camera? You don't know how to synchronize DAQ operations?
If you are anyway generating a digital signal to turn on the LED, maybe it will be as simple as wiring one cable from the card to the camera. I don't know, because I haven't seen your code or detailed project description.
03-03-2017 03:44 AM
The camera has a trigger input, yes, and as you said I've wired my LED port to the cam cable to see if my cam is triggered! In the datasheet of my cam, I can read that if my cam receives a signal on the input pin, the cam led has to blink, but it doesn't. I even tried to generate a square signal that makes my (external) LED blink but nothing happens! 😞
03-03-2017 08:46 AM
Have you configured the camera using its configuration software to properly act on the trigger input per the manual?
Have you connected ground of the DAQ to ground of the camera (Pin 6 on the Hi-rose)?
http://www.stemmer-imaging.de/media/uploads/cameras/jai/10/103557-JAI_GO-5000_USB_Manual.pdf
-AK2DM