|
-
Jul 16th, 2000, 04:18 AM
#1
Thread Starter
Junior Member
Hi,
I've written a DLL in C (dos), which I need for the communication with my DSP. I call the DLL from VB, which is no problem. Afther I initialized my DSP and placed him in run mode (function freerun), I need to constant receive data from the DSP!! The problem is that when de DSP runs, I can't use( can't click any button) my program anymore until the DSP stops running. I think the sollution is to use threats!
Does somebody know how I can do it????
Here's my code from the toolbar:
Private Sub tbToolBar_ButtonClick(ByVal Button As MSComCtlLib.Button)
On Error Resume Next
Select Case Button.Key
Case "Start"
' Initialize DSP
InitializeMonitor
' load DSP file to DSP
LoadDsk
' initialize registers
InitRegister
'Place DSP in run mode
FreeRun
' receive data from DSP, needed to put pixels
' on my screen
' I need to display a meteosat picture
ReceiveData
End Select
End Sub
TNX
Greeting
Viperken
-
Jul 16th, 2000, 04:24 AM
#2
Thread Starter
Junior Member
Threads with a "d"
I'm sorry, threads is with a "d"
Viperke
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|