i am working under VB2008 and when I call the K8062D.dll it seems to not work.
must important code:
private sub form_load
OpenDevice()
SetChannelCount(512)
end sub
private sub set_data(byval channel as integer, byval waarde as integer)
setdata(channel,waarde)
end sub
hmmm first it seemed that the demo works but it does not spit out any value, when i dump K8062e.exe in my system32 map it seems to work. the dmx led flashes but there is no data parsed on to the dmx signal
Have you tried the program DMX_Demo.exe in the CD folder: “D:\K8062 - VM116 DMX light controller\DMX Demo soft” ?
Have you checked the lack of the DMX signal by a DMX fixture or looking the DMX data stream with an oscilloscope?
Is this the case with all the demo software on the CD and with the downloaded programs from Velleman downloads site? - Only the pulses (MAB and STOP bits) are sent according to the image but no data? This is strange.
The K8062e.exe contains some code for the USB communication. Actually it transmits the data to the USB bus.
Just put it to the same folder where the DLL is.
Your software uses the DLL calls. The DLL starts and stops the K8062e.exe automatically.
vel255 if I start my aplication and call StartDevice I don’t think the exe starts also
because when I start it handmaticely the dmxled flashes
when I just call the dll it does not
To test this strange behaviour please go on the Kitsoft CD to the folder D:\K8062 - VM116 DMX light controller\DMX Demo soft.
There run the DMX_demo.exe.
Then press Ctrl+Alt+Del and go to Task Manager.
There select Processes tab.
In the list there should be K8062e.exe. - Isn’t it there?
If it is there - then make this same check with your own application.
I have the same problem.
When I open the vb.net sample project with VB2005, it is converted to this version of vb.net and it works directly on windows XP and on windows vista I have a delay of ±10sec before data is send but it works.
The problem is when I copy the dll files to a complete new VB2005 project i can’t make a reference to the files. Also copying them in the bin folder and release folder didn’t help. When I start my application i get next error:
Kan DLL k8062d.dll niet laden: Kan opgegeven module niet vinden. (Uitzondering van HRESULT: 0x8007007E)
Problem solved, couldn’t believe that copying the 3 files to the windows/system32 directory could solve the problem because the example programme worked without copying those files, but that whas the reason.
Probably when he converts the example of vb net project to vb2005 project he somewhere reroutes the path to the dll’s and exe file.