Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

-50350 error code when resetting PCI-6120 card using DAQmxResetDevice()

Hi,
 
We are learning to use a PCI-6120 card, and are having some problems.  The most serious of these is an error when the device is reset.  The programs written so far have been in ANSI C, and the reset using DAQmxResetDevice() was the first NI function call made.  This problem is intermittent, and has always been fixed by rebooting the PC.  If the call is omitted, a later call that writes an output signal returns the same error.  The detailed error messages provided by NI are identical in either case, except that the message from DAQmxResetDevice() does not have the line containing the task name.  The longer message with the task name is shown below.
 
"A memory configuration problem is interfering with a background transfer mechanism. This could mean that a buffer failed to be allocated or that a buffer was allocated but is not in the address range of the targeted bus master. The operation could not be completed as specified.
Task Name: _unnamedTask<1>
Status Code: -50350"
 
The card is installed in a PC running Windows Vista 64-bit.  The version of DAQmx is 8.6.0f6.  If this appears to be a driver problem that might have been fixed recently, is there a list of problems fixed between version 8.6.0f6 and 8.6.1?  The primary user of the PC (not me) is unwilling to upgrade for such a small change in versions.
 
Thanks for any assistance.
 
Jim Monte
0 Kudos
Message 1 of 7
(4,298 Views)

Hello Jim

The error you are seeing is related to a known issue that affects similar DAQ cards being used under the 64-bit version of Vista with more than 2GB of RAM.  How much RAM is your system using?  This issue is currently being addressed, and I will let you know once it has been solved.

As another note, upgrading to DAQmx 8.6.1 will not fix this problem.

Your input would be greatly appreciated.

Thanks

Chris_K

0 Kudos
Message 2 of 7
(4,279 Views)

Thanks for your reply.  The PC has 4 GB of RAM, possibly being upgraded to 8 GB.  We would appreciate an update when the driver problem has been resolved.  As a temporary fix should the problem worsen by not correcting itself when the PC is reboot, would using Windows boot flags to specify a maximum of 2 GB resolve the problem?

Jim Monte

0 Kudos
Message 3 of 7
(4,268 Views)

Hi Jim

The problem has been addressed, fixed and it will be available in the next release of the DAQmx driver.  I will post here as soon as it is available.

Please see the following KB for more information.

AE KB 4H8HN2QA: Receiving Error -50350 when using DAQmx on Vista x64
http://ae.natinst.com/operations/ae/public.nsf/web/searchinternal/3bcb832816fb32f7862573cb0082fa5e?O...

Chris_K_

0 Kudos
Message 4 of 7
(4,250 Views)

Thanks.  The link did not work, but I found the problem described at

http://digital.ni.com/public.nsf/allkb/3BCB832816FB32F7862573CB0082FA5E

0 Kudos
Message 5 of 7
(4,242 Views)

Hi Jim, I just wanted to let you know that DAQmx 8.7 is now available. 

http://joule.ni.com/nidu/cds/view/p/id/965/lang/en

 

0 Kudos
Message 6 of 7
(4,194 Views)

Thanks.  FYI, the link to the documentation did not seem to be present, and when I found the link through a search of NI's website, the name given for the installation file was different.  The link I found for the documentation was

http://joule.ni.com/nidu/cds/view/p/id/977/lang/en

and the installation file was named DeviceDocumentation.exe

The link you gave had the instructions shown below for installation.

Perform the following steps to install NI-DAQmx:

  1. Download and run the self-extracting executable NIDAQ870.exe.
    This will install NI-DAQmx 8.7 and all necessary driver files.
  2. Download and run the self-extracting executable DeviceDocs870.exe. (Linked Below)
    This will install the device documentation for the hardware supported in this release of NI-DAQ.

Jim Monte

0 Kudos
Message 7 of 7
(4,181 Views)