Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

Error BFFA4030 niScope_init

Hi there,

Using:
NI 510, NI-SCope version 2.5, VC++ 6.0 , VB 6.0

Problem:
0 Kudos
Message 1 of 7
(4,220 Views)
Did you try calling niScope_GetError or niScope_errorHandler to get more information about the nature of the error code? I checked the niScope.h header file, and the error code BFFA4030 is NISCOPE_ERROR_SPECIFICDLL_LOAD_FAILURE, which has an associated message of "The specific niScopeDAQ or niScopeDMF dll could not be loaded." From that, I would assum you're looking at an installation problem. Can you provide some more detail about your system's setup, and what environment in particular you're using to communicate with the device?
0 Kudos
Message 2 of 7
(4,215 Views)
Hi there,

Thanks for the reply.
The posting you replied on was send by mistake, it was incomplete.


Problem:
When I use one NI 5102 card and I run the ConfiguredAcquisition example (or my own code).
I get error:
- Error BFFA4030 occurred at niScope_init.
Possible Reasons: The specific niScopeDAQ or niScopeDMF dll could not be loaded.

When I put another NI 5102 card in the system ( 2 NI 5102 cards in one system) everything works fine!

Any idea what is going wrong?
<\continuation>

I already reinstalled the whole software package that ships with the card.
Could it be that they report the wrong message because the dll's can be loaded when there are two cards?
0 Kudos
Message 3 of 7
(4,206 Views)
There shouldn't be any difference with having two boards vs. one in the system for that example (or your own code) to work.
You said with two cards in the system, the ConfiguredAcquisition example program works - what are you using for a resource name when running the example? Is it possible that you're using a resource name that is not referring to a valid device until you have another scope in the system?
0 Kudos
Message 4 of 7
(4,197 Views)
>There shouldn't be any difference with having two boards vs. one in the system for that example (or your own code) to work.

I was thinking the same, but there is ....
I do not make a call to the second card it just has to be there, if i remove it it fails

> the ConfiguredAcquisition example program works -

With two card everything works, with one card nothing works.

>what are you using for a resource name when running the example?

One and two card alsways resurce name DAQ::1

>Is it possible that you're using a resource name that is not referring to a valid device until you have another scope in the system?

No, the "Measurement & Automation Explorer" reports that there is a device "1" in the system (with one card)
I'am able to run the "SCOPE soft panel" with one card, thats it. If i write my own code or use the examples in VC or VB they faile on the niScope_init.
0 Kudos
Message 5 of 7
(4,192 Views)
Please try using the Soft Front Panel with one board in the system. If it works as expected, note the device name and use that in your program. Also, when you have two 5102 devices in your system, you should see two separate devices listed in MAX, each with a unique device name.
Thanks,
Josh
0 Kudos
Message 6 of 7
(4,170 Views)
Hi guys,

Thanks for the advice.
Removed everything, software and hardware. Reinstalled the software, reinstalled hardware, after running the MAX and Soft panel everything works. Even my own code.

Greeting Tim
0 Kudos
Message 7 of 7
(4,160 Views)