What Causes Error 0x80040500 when Using Datasocket Calls on a Real Time (RT) Target?Primary Software: LabWindows/CVI Add-ons>>Real-Time ModulePrimary Software Version: 8.5 Primary Software Fixed Version: N/A Secondary Software: N/A
Problem: I have developed a CVI Real Time DLL project that uses DataSocket function calls. When I build and deploy the DLL to the Real Time target, I receive the following error: NON-FATAL RUN-TIME ERROR "RT.c", line 23, col 5, thread id 0x0000008F Function DS_OpenEX: (return value == -2147220224 [0x80040500]). Could not load the DataSocket Support DLL Solution: The DataSocket API is not supported under LabWindows/CVI Real-Time (RT). While there is DataSocket support in LabVIEW Real-Time (RT), we do not intend to add support for this feature in CVI RT. LabWindows/CVI Real-Time Module 8.1 and later provides support for communicating with Network Variables on RT using CVI. With the CVI 8.1/5 Real-Time module you can use the CVI Network Variable library to communicate with LabVIEW Shared Variables and Measurement Studio Network variables from the RT environment. Related Links: KnowledgeBase 37NIMB5B: Datasocket with LabWindows/CVI and LabVIEW Real-Time Attachments:
Report Date: 06/27/2008 Last Updated: 11/10/2009 Document ID: 4MQ9GVBG |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
