Error in deploying DLL using CVI Real-Time

Asked By 0 points N/A Posted on -
qa-featured

Hello Gurus,

I was trying to build a real time system using LabWindows/CVI Real-Time Module and DataSocket.  You see, with DataSocket I can share live data with one or more client applications.  However, upon deploying the DLL, I got this error message (see below).

I am lost with the phrase “Could not load the DataSocket Support DLL.”  Wondering why this happened. 

I hope somebody can help me with this error, please.

NON-FATAL RUN-TIME ERROR

                “RT.c”,line 23, col 5, thread id 0x000008F

               Functions DS_OpenEx: (return value == -214220224 [0x80040500])

                Could not load the DataSocket Support DLL

SHARE
Best Answer by Carl Jack
Answered By 80 points N/A #97149

Error in deploying DLL using CVI Real-Time

qa-featured

Hi Helencm,

That error is happened because under the Labwindows/cvi-realtime RT, the datasocket api is not supported. We don't need support for this feature in CVI RT while there's a datasocket support in Labview Realtime RT. For this, you can sue the CVI Network library to be able to communicate with labview shared measurements studio network variable and shared variables from the Real-Time environment.

Lab windows and realtime provides support in communicating with network variables on Rea-time using CVI. I hope my solution has enlightened you and help you solve your issue. Have a nice day and happy weekend!

Zorian

Best Answer
Best Answer
Answered By 10 points N/A #97152

Error in deploying DLL using CVI Real-Time

qa-featured

Hello Hellen,

The DataSocket API could not be supported under LabWindows/CVI Real-Time (RT) that is currently being used. While there is DataSocket support in LabVIEW Real-Time (RT), it is not meant to add support for this feature in CVI RT. LabWindows/CVI Real-Time Module 8.1 and the latest of its products supports communication with Network Variables on RT using CVI.

With the CVI 8.1/5 Real-Time module you will need to make use of the CVI Network Variable library in order to communicate with LabVIEW Shared Variables as well as Measurement Studio Network variables from the RT environment. 

Hope this helps.

Regards,

Carl

 

Related Questions