[Gambas-user] Help binding to /dev/usbtmc0?

Benoît Minisini gambas at ...1...
Mon Jul 1 17:28:07 CEST 2013


Le 01/07/2013 17:22, dr.diesel a écrit :
> Well, even with:
>
> Public hDevice As File
> Public sLine As String
>
> Public Sub Form_Open()
>   hDevice = Open "/dev/usbtmc0" For Read Output Watch
> End

'Read Output' has no sense (Gambas should complain there, I will check 
why it does not), it should be 'Read Write' or just 'Read' if you don't 
want to open the device for writing.

-- 
Benoît Minisini




More information about the User mailing list