Error -1074396971 When Acquiring Images With Long Integration TimesPrimary Software: Driver Software>>NI-IMAQPrimary Software Version: 3.0 Primary Software Fixed Version: N/A Secondary Software: N/A Hardware: Image Acquisition (IMAQ)
Problem: I'm using a camera along with my NI IMAQ FrameGrabber. I've selected the appropriate camera file and can acquire images in free-running mode and external trigger as well. However, I need to be able to acquire images over a significant integration time and if I try to enter too high a pulse width it gives me the IMAQ Error -1074396971 "A pattern generation is invalid". I have no idea what this means as I'm not generating a pattern but a pulse and there seems to be a limit. Because this is an external trigger the camera has little to do with it. I was wondering if there is a limit on the IMAQ board as to the duration of a pulse I can output. Is this a limit that is in the camera file and can be increased according to need or is this a hardware limitation? What is causing this problem and how can I remedy it? Solution: By default what is happening is that your board is using the 50 MHz master clock to generate timing signals. Combined with the 24 bit counter on the board, that allows us a maximum pulse width of approximately 335 ms. [2^24 * (1/50 MHz)]=0.335 seconds If you switch over to the 100 kHz clock then you should be able to enter pulse widths of up to 167 seconds (using the same formula). In order to change the clock that is being used, modify the camera file for your camera to include a line that says Clock (0x48) Related Links: Attachments:
Report Date: 01/18/2005 Last Updated: 03/16/2006 Document ID: 3HH89PL6 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
