Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

How to generate pattern on 1428 control line ?

Hi,

I'm trying to change integration time depending on measurement sample state, through control lines - VINIT or INTEGRATION - of NI1428.

But, I could not generate or change patterns on control line by my software.

There are functions for pulses in IMAQ, such as imgPulseGenerate, but they could not control "control lines".

How can I change the pulse duration at control lines by software?

(I found that it's possible to change patterns by setting numeric attributes in camera file.
But, changing camera attribute requires to stop and restart grab acquisition, and spends some time (500~600 ms).)

Thanks in advance.
0 Kudos
Message 1 of 2
(3,042 Views)
Hello YR,

Thank you for contacting National Instruments. Unfortunately, the control lines can only be controlled through the camera file. These lines cannot be directly modified in software (LabVIEW, C, VB, etc...).

Most applications I have seen that control the integration time use one of two methods. The first method is to modify an attribute of the camera. This would require the camera file you are using to have this attribute available (whether changed via pulse generation or a serial command). The attribute could then be modified by software. The second method is to generate a pulse on an external trigger line and route that signal to the camera. This, of course, would require your camera to take in an external signal for integration.

Best Regards,

Jesse D.
Applications Engineering
National Instruments
0 Kudos
Message 2 of 2
(3,035 Views)