help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Aw: Instrument-control Question


From: Stefan Mahr
Subject: Aw: Instrument-control Question
Date: Mon, 28 Aug 2017 17:46:57 +0200

> octave:106>  n=srl_write(s1, "ID?"); disp(n); [data,count]=srl_read(s1,128)
>   3
> data = [](1x0)
> count = 0
> 
> 
> In gtkterm, this works.  The data is returned immediately.
> 
> 
> id?
> ID TEK/TDS 2014,CF:91.1CT,FV:v4.12 TDS2CM:CMV:v1.04
> 


You don't need to press <enter> in gtkterm to get the response? Most serial 
controlled instruments require newline to accept command:
srl_write(s1, "ID?\n")





reply via email to

[Prev in Thread] Current Thread [Next in Thread]