02-25-2007 06:35 AM
02-25-2007 02:16 PM
02-26-2007 04:38 AM
192.168.10.70 |
255.255.255.0 |
192.168.10.115 |
|
192.168.10.80 |
192.168.11.71 |
255.255.255.0 |
192.168.11.115 |
|
192.168.11.81 |
192.168.12.72 |
255.255.255.0 |
192.168.12.115 |
|
192.168.12.82 |
02-27-2007 11:11 AM
Hi Lukas,
Thanks for the additional information. The buffer numbers IMAQdx returns actually roll over at 24-bits for legacy reasons, and so the number you saw (4,294,967,292, ie 0xFFFFFFFC) is actually a special number indicating there was no image returned.
This would suggest that IMAQdxGrab is returning a non-zero error (perhaps IMAQdxErrorCameraRemoved or IMAQdxErrorTimeout) that your code is probably not checking. You might want to modify your acquisition loop to examine the error values returned and take action and/or notify the user of the error that happened (you can use GetErrorString to translate the numeric error to an explanation). This error will also help determine what is causing your cameras to stop working after several hours.
Given the firmware version on your GigE Scouts, I think it is late enough that there aren't any known issues that would cause problems with IMAQdx.
One possibility is that the camera is getting removed while you are using it because the automatic GigE discovery requests or replies are being dropped due to high CPU or network utilization, which may be happening since you have 5 cameras running. One workaround would be to disable the auto-discovery and just have your application initiate a discovery once at the start. To do this you can add/change the registry key "DiscoveryTimeout" to "0" under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\niimaqdxk\Parameters, and then add a call "IMAQdxDiscoverEthernetCameras("255.255.255.255", 1000)" into your application. However, we have an upcoming maintentence release (being released very, very shortly) that should improve our automatic discovery behavior under conditions such as this so I would actually suggest not implementing this workaround just yet.
If you can determine the exact error you are getting from IMAQdxGrab we should be able to determine if the above reason is the real cause of your problem or not.
-Eric G
02-28-2007 11:49 PM
03-05-2007 01:27 AM
03-06-2007 12:49 PM
Hi Lukas,
Thanks again for your patience. I am happy to report that our new version of Vision Acquisition 8.2.2 (including IMAQdx 3.01) has begun shipping and is available for download. It is a free upgrade for users of 8.2.1. I'm not sure if all the links have been fully propagate throughout the website, but you can directly link to it here. I would suggest upgrading to this version since it should improve the behavior you were seeing with cameras getting removed while running.
Please let me know if this corrects your problems or if you still encounter issues.
Thanks,
Eric G