10-04-2011 08:27 AM
Hi.
I have an addition question about 1422: can i send data to camera, using 1-4 pins or can i program the output values of Enable output of camera to work on 32MHz frequency (i.e. send some specific data with that "Enable bit")?
Cheers, Alex.
10-05-2011 09:46 AM
Hi Alex,
The 1422 does have four digital I/O lines (bidirectional TTL) that you can read from and write to using the IMAQ I/O pallete.
Will this work for you purposes?
Have a great day,
Chris V
10-06-2011 01:27 AM
Hello, Chris
Yes, I think that may fit my needs. Are you talking about "External Triggers 0-4", which are on 95-98 pins on the NI-1422?
Could you give me another advice? How can i access them? As far as i understand, i have to create "interface file" using NI Camera File Creator (what settings should i use there?), then i may use NI library with my C++ program and sent the specific data using that triggers. For example, i need to send data : "1111111110110101111" with 125kHz speed rate. While sending that, i do not care neither about pixel clock nor about receiving data. Just want to send them to my camera. That's all. 🙂
Thanks in advance.
Kind regards, Alex.
10-06-2011 01:32 AM
One more thing: in case i need to send several packets of that type of data, can i program the pause between them (1 zero bit between each data group) ?
Cheers, Alex.
P.s.: can i edit my messages here somehow?
10-06-2011 03:32 AM
Hello.
While creating my camera file, I'm a bit confused. Where can i set the master clock value? How can i manually select the data lines for image acquisition? What about "Enable" lines? Is there any manual about using that application?
Kind regards, Alex
10-06-2011 05:47 PM
Hi Alex,
Yes, those trigger lines are the DIO for the 1422. You can write to them using the VIs on the Vision and Motion > NI IMAQ > Signal I/O pallete. However, this will be software timed. It is very unlikely that using software timed DIO you will be able to achieve 125kHz.
You could purchase a DIO PCI card with hardware timing and then you would be able to send these command signals easily.
Our support page (in addition to the in-program help) for the Camera File Generator is located here: http://sine.ni.com/psp/app/doc/p/id/psp-723/lang/en
Have a great day,
Chris V