|
Post by Rod on Mar 13, 2019 4:10:57 GMT -5
This code fails on the Open Com line with an unhandled exception "illegal volume specification" It runs on LB v4.5.1
'change com port to the one you think the DAQ is connected to open "Com4:2400,n,8,1,ds0,cs0,rs" for random as #comms
timer 100, [readport] wait
[readport] timer 0 i$=input$(#com,lof(#com))
if i$="" then count=count+1 else for n= 1 to len(i$) print asc(mid$(i$,n,1)) next i$="" end if if count>500 then [quit] timer 100, [readport] wait
[quit] close #com end
|
|
|
Post by Carl Gundel on Mar 13, 2019 7:39:11 GMT -5
This code fails on the Open Com line with an unhandled exception "illegal volume specification" It runs on LB v4.5.1 'change com port to the one you think the DAQ is connected to open "Com4:2400,n,8,1,ds0,cs0,rs" for random as #comms
Serial support is not in there yet.
|
|