Jump to content
  • 0

Does Analog Discovery 2 support VBA?


charlesw

Question

I saw VB or  VB net can support , when in VBA ,I try to reference  dwf.dll ,but always said can't find dwf.dll

here is some code:

Declare PtrSafe Function FDwfAnalogOutEnableSet Lib "c:\d\dwf.dll" Alias "FFDwfAnalogOutEnableSet" (ByVal hdwf As Long, ByVal idxChannel As Long, ByVal fEnable As Boolean) As Boolean
 

 

I also try to regsvr32 C:\d\dwf.dll ,it failed.

can anyone help me?

Thanks.

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Hi @charlesw,

Digilent does not have any support for VBA, no.

There is a community made wrapper available on the Trenz website, linked and available on the last post of this thread:

but Digilent has not specifically tested it and does not have any plans to support it.

Thanks,
JColvin

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...