DSPRelated.com
Forums

Visual Basic and ADSP.. need a little help

Started by ace June 26, 2007
Hi! I'm new with VB and VisualDSP++. I am doing a GUI that should be
able to access the ADSP 21065L's memory but I encountered lots of
problems doing it. The major one is this:

I used the ExecuteTcl() command passing just the basic TCL command
"DSPrun" as parameter. The exact code is:

Option Explicit
Dim result as Variant

Private Sub cmdRun_Click()
exe = ExecuteTcl("dsprun", result)
End Sub

However, when I try to compile (i.e., run) the VB project, it keeps on
saying:

Compile Error: Sub or function not defined

The word ExecuteTcl() is highlighted, probably implying that the
compiler doesn't recognize the ExecuteTcl() command. I'm using VB 6.0
and I have already included in my References VisualDSP++ IDDE. I'm
still wondering why it always fails to compile given such a simple code.

>>>>>>> I do hope you can help me with this one. Also, if it's not too
much to ask, can you give me a detailed set of pointers to help me in
coding more complicated tasks to be passed to the DSP? I'm supposed to
send filter coefficients to build a variable filter whose
characteristics are to be given via a GUI. I am completely naive to
this platform so I really need some enlightenment =) Thanks so much!