01-23-2009 02:01 AM - edited 01-23-2009 02:02 AM
Hello,
I'm trying to make one application to work on Windows Server 2008 Standard x64. The application works on 32 bit windows versions with no problems.
Here are some details:
* OS Windows Server 2008 x64
* RAM 2*2GB dual channel memory
* card: PCI-1428
* software and drivers: NI Vision Acquisition 8.5.1 with NI-IMAQ 4.0
* development environment: Visual Studio 2008, C++/MFC
The software links the imaq.lib and niimaq.h.
I followed the recommendation from this thread: http://forums.ni.com/ni/board/message?board.id=200&message.id=16267&query.id=171742#M16267, installed NI-IMAQ 4.0, loaded the new library and header, and recompiled.
I'm getting the following error after imgSessionAcquire: "This 32-bit device is operating on a 64-bit OS with more than 3GB of physical memory. This configuration could allocate 64-bit memory which is unsupported by the device. To solve this problem, reduce the amount of physical memory in the system."
The code looks like this:
if( (error = imgSessionAcquire(sessionID, TRUE, NULL)) != IMG_ERR_GOOD)
{
imgShowError(error, text);
TRACE("imgSessionAcquire returns error: %s (%ld)\n",text,error);
return false;
}
To make sure that the message was valid, I found a pair of 1GB RAM modules. Rebooting the system with only 2GB, the application runs like a charm.
Now according to BlueCheese in the thread I mentioned above, using the newer version to NI-IMAQ and Vision should have solved my problem.
I would need to be able to run our application on this server with much more than 3GB of physical memory. Would anybody have any advices and/or suggestion to help me solve this issue?
Thanks in advance,
-Damien
01-23-2009 07:40 AM
I'm replying to my own question if someone need this information somedays.
The link to the supported devices is still valid even for NI Vision 8.5.1 http://digital.ni.com/public.nsf/allkb/8F88EFCCB94AE3408625722900579A4D?OpenDocument
The firmware of the PCI-1422 and PCI-1428 we are using are not compatible with other development environment than LabView under x64 based system.
Moving to a PCIe card, PCIe-1427 for single channel or PCIe-1430 for dual channel would solve the problem for Camera Link cameras, as there is a firmware upgrade for both cards enabling non-LabVIEW development to use more than 3GB of RAM for the OS.
To update the device firmware, launch MAX and select Tools>>Ni Vision>>Update NI-IMAQ Device Firmware.
No solution yet for the PCI-1422 (LVDS). I'm not sure how reliable is a LVDS to Camera Link converter.
-Damien