01-19-2009 08:04 PM
nifDonwloadDomain function returns E_RESOURECES in some conditions.
The reference manual describes E_RESOURCES as "The NI-FBUS Communications Manager is unable to allocate some system resources;This is usually a memory problem."
I'd like to know the cause of this problem and how to resolve it.
Thanks in advance.
01-21-2009 03:18 AM
Hi,
The error E_RESOURCES returned by nifDonwloadDomain occurs when CM is not able allocate enough memory on the device side.
Please check if the device supports domain download feature and if there is any restriction of domain download.
01-07-2012 03:41 AM
Even I am getting the same error. With another host the domain download happens successfully. Can you please add more clarity to the error code?
01-09-2012 03:02 AM
E_RESOURCES is a general error. It needs further investigation.
The description in the data sheet is a good guess for the cause.
If you have two hosts (one is ok, one will fail), then let's see the differences between them, like
- the host OS
- all the 3 parameters of nifDownloadDomain()
01-09-2012 08:12 AM
What i meant was 2 different hosts. One of the host is NI.
I have used the ITK to download the image.
The problem is that the image gets written successfully to the device, but after that the NI is not sending activate command because the nifDownloadDomain will fail with this error code.
01-09-2012 11:10 PM
Oh I see.
Could you please tell me which version of the NI software version you used?
And which ITK version do you used too?
I will double check with you.
Thanks.
01-09-2012 11:44 PM
I am using NI Communications Manager 6.0.1 and ITK 6.0.1.
01-10-2012 01:04 AM
No no no. You need to check again.
ITK 6.0.1 is using our CM (Communication Manager) v4.0.1.
----------------------------------------------------------------------------------
And please run the NI CM again then you could get a number on the top of the dialog. Should be less than v4.1
01-10-2012 01:11 AM
Sorry. Its a typo. ITK 6.0.1 and NI 4.0.1.
01-10-2012 08:31 PM
I see. Please send an email to fieldbus.support@ni.com.
We could discuss the details.
Regards,
Chris