LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with dataskt.dll version 7.0.0.393

I have a couple of LabWindows applications that share data using DataSockets. Both applications were built using LabWindows 6.0 and I am running on a Windows 2000 PC. I recently installed another LabWindows application that was built under LabWindows 7.0 on my PC. This application installed an updated run time engine and version 7.0.0.393 of dataskt.dll. Now my two DataSocket applications no longer work. I get the error code 80020003h "Member not found" when I try to read data from the DataSocket. If I copy the older dataskt.dll version 6.0.4.105 that came with LabWindows 6.0 back to my PC my applications start working again. Is there a problem with the newer version of dataskt.dll?
0 Kudos
Message 1 of 11
(4,787 Views)
Hi,

Please refer to the following thread for more assistance. Thanks!

Thread

Jeremy L.
National Instruments
Jeremy L.
National Instruments
0 Kudos
Message 2 of 11
(4,788 Views)
I have the same problem, but your link refers to an old URL: where I can find the thread you mention?
Vix
-------------------------------------------
In claris non fit interpretatio

-------------------------------------------
Using LV from 7
Using LW/CVI from 6.0
0 Kudos
Message 3 of 11
(4,540 Views)
Hi vix,
 
The link pointed to a duplicate thread that jwerp posted and Jeremy was replying to:
http://forums.ni.com/ni/board/message?board.id=180&message.id=12626&requireLogin=False
 
In any case, it looks like Jeremy was unable to reproduce the problem.
 
Are you seeing the exact same behavior? I mean does your application work when you use dataskt.dll version 6.0.4.105 and break with version 7.0.0.393?
Would it be possible for you to post some code that will reproduce the problem?
Jervin Justin
NI TestStand Product Manager
0 Kudos
Message 4 of 11
(4,514 Views)
First of all, thank you very much for your answer.
It's very easy to reproduce the problem:
  • install CVI 6.0 on a machine with a fresh WinXP installation (I work with WinXP Pro, I don't know if this matters).
  • launch the supplied examples (..\CVI\samples\datasocket\reader and ..\CVI\samples\datasocket\writet), and everything works fine (with Datasocket Server 4.0 (375))
  • install the CVI 8.1 RTE (I had to install it to solve this issue related to my printer)
  • launch the previous examples... and they don't work. In debug mode CVI shows the error "Member not found"
I hope this helps you

Best Regards
Vix
-------------------------------------------
In claris non fit interpretatio

-------------------------------------------
Using LV from 7
Using LW/CVI from 6.0
0 Kudos
Message 5 of 11
(4,510 Views)
Hi vix,
 
Thanks for providing the detailed step by step description of how to reproduce the problem.
Using that I was able to reproduce what you mentioned.
 
What I found out was that if you uninstall a version of the CVI Runtime Engine and then reinstall the Runtime Engine, the cvirte folder in C:\Windows\System32 never gets recreated and this is what causes the program to not work. Check your system to see if this folder exists, and if it doesn't than this is the problem.
 
I did manage to find a workaround though:
  1. Uninstall the CVI Runtime Engine
  2. Open C:\Windows\System32
  3. Delete all the files that start with cvi*.*
  4. Reinstall the CVI Runtime Engine
  5. Make sure that the C:\Windows\System32\cvirte\ folder is created.

This should fix your problem. Keep me posted though!

Jervin Justin
NI TestStand Product Manager
0 Kudos
Message 6 of 11
(4,489 Views)
Unfortunately your suggestion doesn't solve the problem.
As a matter of fact I've installed CVI 8.1 RTE without uninstalling CVI RTE 6.0, but overwriting it.
I have the cvirte folder in C:\Windows\System32.

Anyway, I followed your step-by-step suggestions, and unfortunately nothing changed Smiley Sad. The CVI 8.1 RTE installation recreated the same files and folders I had deleted, and the Reader/Writer examples crash.

I don't know if this helps, but on my PC I have the following NI components (coming with CVI 6.0):
  • CVI 6.0.0 (105)
  • DataSocket Server 4.0 (375)
  • MAX 2.1.3.15
I've noticed that the CVI 8.1 RTE installation creates a dataskt.dll version 8.1.0.271 in system32 folder. Maybe this dll conflicts with Datasocket Server 4.0?

Thanks in advance

Vix
-------------------------------------------
In claris non fit interpretatio

-------------------------------------------
Using LV from 7
Using LW/CVI from 6.0
0 Kudos
Message 7 of 11
(4,483 Views)

Hi vix,

Could you try and see if the CVI 8.5 RTE works? The reason I ask is because my examples still work and I have version 8.5.0.279 of dataskt.dll on my test machine.

You can get the runtime engine at:
Drivers & Updates: LabWindows/CVI Run-Time Engine 8.5 - Windows 2000/Vista x64/Vista x86/XP

Also, before you install the 8.5 RTE, uninstall the 8.1 RTE and make sure the cvirte folder is removed along with all cvi*.* files in <Windows>\System32\

Jervin Justin
NI TestStand Product Manager
0 Kudos
Message 8 of 11
(4,462 Views)
Hi Jervin,
unfortunately CVI 8.5 RTE doesn't work too.
The error is the same.
Vix
-------------------------------------------
In claris non fit interpretatio

-------------------------------------------
Using LV from 7
Using LW/CVI from 6.0
0 Kudos
Message 9 of 11
(4,440 Views)
Running the CVI RTE installer would only install/update core CVI runtime engine components and the CVI library for DataSocket. To also update the core DataSocket components, you will have to install something that installs DataSocket. If you have the desired updated version (8.1 or 8.5) of CVI ADE installed on any of your dev machines, then you can build a distribution installer (Build >> Distributions) including the DataSocket component (check the NI Datasocket box in the Drivers and Components tab) and installing this distribution on your target machine. I am not sure if there is a standalone version of the core Datasocket installer but installing the above distribution should update the core Datasocket components.


Message Edited by Mohan on 03-17-2008 09:53 AM
Message 10 of 11
(4,432 Views)