LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Call library function node, exception occurs if don't open the dll manually

Hi Hillary and everyone,
Here are the dll. The exception I got is "VI USB4000_sample.VI" was stopped at note 0x6990 of  subVI  "Spectral Acquisition_X.VI", whenever I run it, I need to open the "Spectral Acquisition_X.VI" and the call library function node, browse the path and choose the dll again.

I  attact the code "Spectral Acquisition_X.VI" also, hope that you can help me.
Other function of the dll can be called without exception like this.
thanks a lot
Hannah
0 Kudos
Message 11 of 12
(521 Views)
Hi Hannah,

I would suggest building the simplest possible VI from scratch that uses the problem DLL and function.  If you are able to reproduce the issue with the smallest amount of code, then we can try to reproduce the issue here.  With the previous file that you posted, I am unable to reproduce the issue since I do not have any required hardware nor do I know what the valid inputs are to your specific function.  If you can post a smaller piece of code with the default values set for valid inputs, we might be able to reproduce the issue and see if it is a bug.

Thanks,
Eric C
Applications Engineer
National Instruments
Eric C.
Applications Engineer
National Instruments
0 Kudos
Message 12 of 12
(494 Views)