LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

DLL with a new thread is called by Teststand and used to get the value of "GlobalFiles.example"

    I created a DLL in CVI and was called by Teststand, my plan is to make this DLL run at a new thread compared with Teststand. So I used "i=CmtScheduleThreadPoolFunction (DEFAULT_THREAD_POOL_HANDLE, Thread2,NULL, &Fun_ID);"in DLL source code to create a new thread,however,then I can not use the function of "TS_PropertyGetValNumber" to get the value of "FileGlobals.example" .
  I also attached the source code.

Thanks!
Jacky
0 Kudos
Message 1 of 1
(2,737 Views)