08-09-2008 12:08 PM
08-09-2008 10:57 PM
08-12-2008 09:24 AM - edited 08-12-2008 09:28 AM
Mike,
Thanks for the advice. I configured the top level vi not to run when openned. This allowed me to find the offending vi. It appears the FP Open.vi is causing the problem. This vi makes a library call to the FPLVmgr.dll and tries to obtain a Ref Num. The ref num coming out of FPLVmgr.dll is zero. When this is posted to the Ref Num icon, I get the error.
Any other suggestions.
Ken
08-12-2008 09:24 AM - edited 08-12-2008 09:33 AM
08-12-2008 10:00 PM
08-13-2008 08:48 AM
Mike,
I am a little confused. I do not have a problem opening the front panels. I have looked at the front panel and diagram of FP Open.vi many times.
The library call embedded in FP Open is configured exactly the same as on the old computer (which works fine). I am using version 2.0.0.0 of FPLVmgr.dll and Fieldpoint.dll (as on the old computer). I also have later versions (3.0??? and 4.0???) of these dlls but they don't work either.
Is there any way to get a refnum to my *.iak file without making a library call to FPLVmgr.dll?
Thanks
08-13-2008 09:18 PM
I'm sorry, I'm the one that was confused... You are having a FieldPoint problem, yes?
First make sure that the FP VIs are not stored as part of your appliction code. If it is, delete it. Next, if you don't already have them, install the latest version of the FP drivers. If you have only the latest version of teh drivers installed and you are still getting crashes, this sounds like an NI problem.
The sort of problem you are running into is but one of many reasons for not saving code from the vi.lib as part of your application code.
Mike...