Well, even with:

Public hDevice As File 
Public sLine As String 

Public Sub Form_Open()
 hDevice = Open "/dev/usbtmc0" For Read Output Watch
End

Public Sub File_Read()
    sLine = Read #hDevice, -256
    Print sLine
End


It sill just times out when the form opens, without even sending any
commands.  Considering CAT times out as well I'm suspecting a driver problem
with usbtmc.

Thanks for the help.



--
View this message in context: 
http://gambas.8142.n7.nabble.com/Help-binding-to-dev-usbtmc0-tp42276p42338.html
Sent from the gambas-user mailing list archive at Nabble.com.

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to