help-octave
[Top][All Lists]
Advanced

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

Aw: Re: Serial data acquisition with GNU octave 4.0.1


From: Stefan Mahr
Subject: Aw: Re: Serial data acquisition with GNU octave 4.0.1
Date: Wed, 13 Apr 2016 11:42:23 +0200

> First, I don't understand the utility of '*IDN?'.
> Second, I saw in the user's manual of my module that the carriage return is
> '0Dh'[1], so I tried with:
> srl_write(s1, sprintf("*IDN?*0Dh*")) %Terminator, carriage return.

*IDN?   is the ASCII string that is send to the instrument. Replace the string 
with the command you need.
\n is the escaped character for new line. 0x0D is 'carriage return', that can 
be escaped with \r



reply via email to

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