If you do not wire all of the inputs and outputs of a Call Library Function Node, the DLL function will overwrite unallocated memory and cause LabVIEW to crash. Make sure that you wire all inputs and outputs of your Call Library Function Node.Either situation can cause LabVIEW to crash when the called function returns. If the caller (LabVIEW) and the called DLL function do not use the same calling convention, then they will either both take things off the stack or neither of them will. When using the standard calling convention, the called function is responsible for cleaning up the stack. When using the C calling convention, the caller is responsible for cleaning up the stack.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |