LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

what is internal api function call order violation when trying to distribute?

 
0 Kudos
Message 1 of 6
(3,993 Views)
This error indicates that functions from the internal API used by the distribution builder have been called in an unsupported order.  In short, it's an error that you, the user, should not see.  A couple users have reported seeing this error as a result of some driver dependency issues, which is likely also your problem.  If you can produce and post a debug log file, I can help you figure out what the problem is, and how to solve it.

Mert A.
National Instruments
0 Kudos
Message 2 of 6
(3,992 Views)
Thanks for your help Mert.   This is the error at the bottom of distBuildDbg.log.  I can get you the entire log if you need.

> **************
> *** Error: Internal error. (Error code -40)

> Product 'NI-DAQmx 8.0' depends on a product that cannot be found on the system. ID of missing product: 'NI LabVIEW Run-Time Engine 7.0' - {E8DE4D24-9B8A-42DE-A2C8-9B7C7B68F211}
Error in MDF API function: _MDFProdPreview_AddProductDone
PartDependsWalker encountered an error processing the depends list.
> *** End Error Report
> **************

WARNING: Function should not be called after MDFProdInfoList_Open
Done loading product deployment info.
0 Kudos
Message 3 of 6
(3,980 Views)
FYI: I have a Support Request Number, 850959, and have been working with Terry regarding this issue.
0 Kudos
Message 4 of 6
(3,977 Views)
Hi,

Well, it looks like when DAQ was installed, the LabVIEW 7.0 support was also installed.  This means that DAQ as a whole has a dependency on the LabVIEW 7.0 run-time engine, which for some reason seems to be absent from your system.  I recommend you try repairing your DAQ 8.0 installation. Go to Add/Remove Programs from the Windows control panel, and press the Change button for the National Instruments Software item.  Find NI-DAQmx 8.0 in the list and hit Repair. This should prompt you for the original installation disk, from which it will reinstall any missing parts.

It would really help if you could describe the order of installations/uninstallations/upgrades performed on that machine, if you know its history.  All our installers should be properly designed not to remove anything that is still depended on by another product.  You didn't by chance use MSIBlast or uninstall a product just by running the .msi file, did you?

Mert A.
National Instruments
0 Kudos
Message 5 of 6
(3,935 Views)
I tried to repair the DAQ 8.0 installation, but received an error. So I decided to uninstall everything and reinstall without changing any defaults.    I was then able to actually see the distribution trying to be built.  I bombed with a different error, but it looks like it is probably an application error.   It bombed trying to access one of our application files (error -21).   Hopefully I can figure this out and all will be O.K.  Thank you very much for your assistance.   
0 Kudos
Message 6 of 6
(3,929 Views)