03-23-2014 02:09 AM
I find if using a local variable to pass to the PostDeferredCallToThread(), then in the callback function, it cannot be recevied correctly. But as NI document said, this variable is a user-defined, will avoid declaring the data object as a global variable. how to interpret the question?
David
03-23-2014 11:22 AM
03-26-2014 05:36 AM
That also be the 'GLOBAL' .
03-26-2014 06:06 AM
Sure, global variables can be used.
But I did not mention it since you asked how you can avoid the global variable.