Hi !
Please, let me put a question about the use of the 8055-DLL in LibertyBasic, more detailed compared with my earlier message.
I like to build some hardware to be controlled by your Velleman I/O-interface with the type VM110N. It is connected with my Windows8-PC by USB. The board itself functions ok, because the direct demo I can operate. I like to do the controlling software by LibertyBasic, in stead of for instance by C or other language, because I never used this. I have experience in working with LibertyBasic, but with the DLL something goes wrong.
I did some simple examples to test the DLL-use. Please see next small source. (so the K8055D.dll is used for the VM110N-board ). I did the experiments with the board connected to the PC as well as not connected.
[i]
open “K8055D.dll” for dll as #user
calldll #user,“setdigitalchannel”,(2)
close #user
[/i]
Doing a run the open-statement appears to be ok, but the call-one is not, becomes blue. I did some different trials on the parameter but without success.
There is also a function “setalldigital”, so without parameter at all. But again faulty. The runs stop every time in the call-statement.
In stead of the word user I did also the word handle, same result. ( I don’t know the value of these words…… )
So now is my question : can you help me in this mystery-case ? Is there a fault in the syntax ? If yes…what to do…
I like to thank you in advance for an answer.
Regards,
Ton, somewhere in the Netherlands