FOUNDATION Fieldbus

cancel
Showing results for 
Search instead for 
Did you mean: 

E_RESOURCES of nifDownloadDomain

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.

0 Kudos
Message 1 of 11
(8,626 Views)

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.

Feilian (Vince) Shen
0 Kudos
Message 2 of 11
(8,616 Views)

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?

0 Kudos
Message 3 of 11
(7,279 Views)

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()

0 Kudos
Message 4 of 11
(7,270 Views)

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.

 

 

0 Kudos
Message 5 of 11
(7,266 Views)

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.

0 Kudos
Message 6 of 11
(7,260 Views)

I am using NI Communications Manager 6.0.1 and ITK 6.0.1.

0 Kudos
Message 7 of 11
(7,257 Views)

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

0 Kudos
Message 8 of 11
(7,255 Views)

Sorry. Its a typo. ITK 6.0.1 and NI 4.0.1.

0 Kudos
Message 9 of 11
(7,253 Views)

I see. Please send an email to fieldbus.support@ni.com.

We could discuss the details.

 

Regards,

Chris

0 Kudos
Message 10 of 11
(7,245 Views)