Win7 and Ethernet, access via DLL

Win7 and Ethernet, access via DLL, a forum discussion on Cleverscope. Join us for more discussions on Win7 and Ethernet, access via DLL on our Installation Issues forum.

Back to Forum Index : Back to Installation Issues   RSS

31 Jan 2014
Posts: 1

Dear all,

I am trying to control a CS328A with an ethernet interface from an Win7-64bit computer by using the Cscope Control Driver v26 DLL.
My goal is to get the basic waveforms for a custom program.
While the installed Cleverscope program (v4685) works nicely and controls the CS328A properly, accessing the (32-bit) DLL from a custom 32bit-C-Program (NI-LabWindows/CVI 2010 Platform) results in Protection Fault upon the first call into the DLL.

i) Is there an updated DLL-Driver (32-bit or even better 64-bit), which is more stable? Which files/versions are required?

ii) Is there a command list for the CS328A so that I can make a direct VISA ethernet connection to the CS328A and can avoid the usage of the DLL ? (This would be the prefered solution!)

Thanks for your help.

Veit

2 Feb 2014
Posts: 401

Hello Veit,
We have not tested Labwindows for a while, and you are right - on a 64 bit Win 7 system we get a Loader Lock error. This is because the DLL is operating in protected space, but using old fashioned calls. National Instruments tells us this ok. In Microsoft Visual Studio, you can turn the test for the Loader Lock off, and then everything works fine, in both the 32 and 64 bit environments. We detail this in the DLL manual.

However, in Labwindows, we have been searching for a way to do this without success. I have found that if I build an exe, and tell it to ignore the loader lock issue, the SimpeScope application works fine. We are researching this. We will also try and build a DLL in the latest Labview and see if that helps.

The CS328A acquisition unit has command system designed to work in a multi-window, multiple returned data set environment. Unfortunately we did not design it for ease of use - more for efficiency and speed. We do call it using Visa, but getting to grips with it is probably too hard.

It's better that we get the DLL working. Right now, either Labview, MS Visual Studio, Borland Delphi and Visuall C++ or Matlab work fine.

We will let you know when we have a solution to turning off the loader lock test.

Back to Forum Index : Back to Installation Issues   RSS
You must be logged in to post a reply



You need to Register or Log In before posting on these forums.

×

Your shopping cart is empty.