Ateasy driver for Advantech USB-4761

Leonid S.

Sep 5, 2014
3 Posts

0  |  0  

Re: Ateasy driver for Advantech USB-4761

Hi,
I'm using USB-4761 relay module in my system.
Is there any Ateasy driver for it?
Thanks!

Victor B.
Lake Forest, CA

Sep 8, 2014
93 Posts

0  |  0  

Re: Ateasy driver for Advantech USB-4761

Hi,

I tried to find out what software components Advantech supplies with this part.  Looking at the Advantech website, it sounds like they provide the programming examples only with the CD that comes with the USB-4761 and not from the web.  There should be a DLL/header combo at \Program Files\Advantech\ADSAPI\Examples or \Program Files\Advantech\ADSAPI\Include.  You can add the DLL and use Import DLL C Header File give yourself a starting point.

-Victor

Leonid S.

Apr 27, 2015
3 Posts

0  |  0  

Re: Ateasy driver for Advantech USB-4761

Hi,
I forgot to mention that i'm using Win7 OS.

I found an ActiveX driver for USB-4761 module : BDaqOcxLib.dll
It works fine when attached to Ateasy driver, but i recieve error messages during workspace load(see attachment)

How can i avoid those messages? Is there an option to ignore these messages inside Ateasy?

Thanks!


File Attachment:
IMG_20150427_134256.jpg

Victor B.
Lake Forest, CA

Apr 28, 2015
93 Posts

0  |  0  

Re: Ateasy driver for Advantech USB-4761

That's strange, what data type is 'BDaqOcxLib.PortDirection.pVal'?  From the variable name, I would think Val Any.  Perhaps this ActiveX library, BDaqOcxLib.dll requires another library which defines the missing data type.

Victor B.
Lake Forest, CA

Apr 30, 2015
93 Posts

0  |  0  

Re: Ateasy driver for Advantech USB-4761

Nevermind, this issue is caused by a COM method that returns SAFEARRAY of non-basic types (e.g enum, class, struct etc).
It was fixed in the ATEasy 7-142d.  What version are you using?



Please Note
You need to have a M@GIC account to participate in the Forums.
Not yet registered on our website? Click here to register today!

All content, information and opinions presented on the Marvin Test Solutions User Forums are those of the authors of the posts and messages and not Marvin Test Solutions'. All attachments and files are downloaded at your own risk. [Read More]