Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

1422. File creation for unusual camera.

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.

0 Kudos
Message 11 of 16
(972 Views)

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

Applications Engineer
National Instruments
0 Kudos
Message 12 of 16
(956 Views)

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.

0 Kudos
Message 13 of 16
(882 Views)

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?

0 Kudos
Message 14 of 16
(881 Views)

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

0 Kudos
Message 15 of 16
(876 Views)

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

Applications Engineer
National Instruments
0 Kudos
Message 16 of 16
(866 Views)