Hello, I have a LabView 7.0 program that calls a shared library written in C and compiled using LabWindows/CVI 7.0.
The DLL returns results to me by writing them into memory that I provide from LabView. In LabView, I wire a control to the input side of the shared library node, and I pass that value by pointer. The DLL does not actually use the value, but rather uses the pointer to write a value that I will later need in LabView. My question is... why do I need to connect the output side of the library node to a local variable instance of the original input control? I've found that if I don't make this connection, then I don't get the desired value written by the DLL to the specified memory location! This seems very strange to me. Since the DLL is changing the value at its memory location, I would not expect to need to wire anything to the output of the shared library node. Can anyone explain this behaviour? Thanks in advance, Frenk
