03-09-2010 02:44 PM
03-10-2010 01:24 PM
Hey Pratt,
When using IMAQdx Open Camera, it will need to first query the camera for its capabilities, loads a camera configuration file, then create a reference to the camera. The delay in connection phase is due to querying and loading camera configuration/file. How much of a delay are you seeing?
03-10-2010 02:28 PM
03-10-2010 02:52 PM
John,
I'd need some more details of your configuration and what your program is trying to do. The discovery process should only be a few seconds, and opening the camera is usually under a second. What kind of camera are you using?
A couple of things that may be involved here:
- Camera boot/IP configuration time - Some cameras will take a while once they are powered or connected to run through their boot-up process and their IP configuration scheme. Perhaps you have DHCP enabled on the camera and it is trying that first before falling back to your static IP address?
- PC network interface DHCP/LLA process - If your desktop is configured for DHCP on that port, Windows XP and earlier will take up to 60 seconds on a cable connection to determine if it can reach a DHCP server before falling back to link-local-addressing or some alternate fixed IP address configuration. This can be eliminated if you assign a static IP to the local network interface as well. Additionally, on Vista and later, the DHCP/LLA process runs in parallel with alternate configurations and so the 60 second time is reduced to 0.
Eric
06-15-2010 07:30 AM
Hello,
I am facing similar problem. Opening Session takes about 600-700ms, which is too much for my needs.
Is there a way to speed up or go round opening the camera session each time?
What I need is to start recording AVI video, which I am able to do now, but without this delay.
The purpose is to use this as an vi or custom step inside VBAI 2009. To record AVI in order to use the full frame rate of the camera and then to get all frames from the video as JPG, analyze them. After this is done, to be ready for another AVI recording.
I can not loop inside this vi becuase and keep session open because it will block my VBAI execution flow.
Can you please help me.