06-27-2011 02:32 AM
Hi,
We have some LABVIEW components(VIs) developed to use DLL file. The DLL files are generated by us. The VIs are developed by other team. The VIs are designed to read/write some parameters from a slave device. This communication works fine and we can see the changes in the slave device.
To our surprise, the VI gets closed abruptly when we Power Off and On the slave device, after read/write from the VI.
Is there any mechanism in LV for troubleshooting this behavior.
We are not able to figure the exact cause of crashing of the LV. Any tips would be helpful.
06-27-2011 08:11 AM
Try the technique here. It should let you pinpoint exactly where the error is occurring. I have used it for just such a problem many times. In this situation, the normal problem is a datatype mismatch in the DLL call or a problem with the DLL itself.
Good luck!