Redpitaya RED PITAYA, OPEN SOURCE LAB RED Pitaya V 1.1 Scheda Tecnica

Codici prodotto
RED Pitaya V 1.1
Pagina di 35
 
 
31 
command=['plink -l root -pw root 10.0.1.221 “/opt/bin/acquire 16384 1”']; 
[c,data]=unix(command); 
data=str2num(data); 
Acquisition of the signals from Red Pitaya to a Windows PC: 
command=['plink -l root -pw root 10.0.1.221 “/opt/bin/acquire 16384 1”']; 
[c,data]=dos(command); 
data=str2num(data); 
Acquisition of the signals from Red Pitaya to an NFS share: 
command=['plink -l root -pw root 10.0.1.221 “/opt/bin/acquire 16384 1 > 
/mnt/data.txt”']; 
unix(command); 
6.1.5  Accessing system registers 
The  system  registers  can  be  accessed  through  a  monitor  utility  (/opt/bin/monitor).  Usage 
instructions: 
redpitaya> monitor 
 
Usage: 
 
read addr: address 
 
write addr: address value 
 
read analog mixed signals: -ams 
 
set slow DAC: -sdac AO0 AO1 AO2 AO3 [V] 
Example (system register reading):