02-26-2010 12:48 PM
When calling the function niSwitch_Init from Visual C++, I recieve an error of BFFC0011 for PXI-2567. In MAX the self-test passes and I'm using the correct alias setup in MAX in my function call.
My Computer information:
Vista
NI-Switch 3.8
MAX 4.5.1
NI-DAQmx 8.8
NI-VISA 4.4.1
Solved! Go to Solution.
03-01-2010 05:30 PM - edited 03-01-2010 05:30 PM
Hey Guy,
Error BFFC0011 is a generic failed to query device error. In MAX, are you able to open the soft front panel without error? We can do this by right clicking on the 2567 and selecting "Test Panels". Do you have any other NI Switch Modules in the system? If so, are they working? Do you have any other PXI chassis we can test the board in?
Also, can we get a screen shot of your device in MAX?
03-01-2010 05:38 PM - edited 03-01-2010 05:40 PM
03-01-2010 05:42 PM
Hey Guy,
Depending on the order we installed the NI-Switch driver, it's possible we didn't include the support files needed for C++. Installing the 4.0.1 driver would resolve this issue; we could also repair the version of the driver you have installed now. I'd go with 4.0.1 if you meet the system requirements.
03-01-2010 05:50 PM - edited 03-01-2010 05:51 PM
How could I resolve this with my current driver. I think my system should be compatible with 4.0.1 but, if not then how or which order should have the drivers been installed?
Also when do the support files for C++ get installed and how can I verify it?
Thanks.
03-01-2010 05:56 PM
With your current driver, open Add/Remove Programs, double click on National Instruments Software, select NI-Switch and click repair. This will reopen the installer window. Make sure that the drivers you'd like installed are selected. The currently installed drivers will already be selected.
FYI: We should always install the programming environment, any toolkits or modules, and then the drivers, followed by the hardware.