source: ResearchApps/PHY/WARPLAB/WARPLab_v06_1/M_Code_Reference/warplab_readAGCValue.m

Last change on this file was 1311, checked in by mduarte, 15 years ago

Adding files for WARPLab release 05

File size: 274 bytes
Line 
1function value_out = warplab_readAGCValue(nodeHandle, register_Id)
2
3pktNoTx = 1;
4
5% Set the packet to be sent to the WARP node
6pktDataTx = [pktNoTx, register_Id];
7
8datarec = warplab_pktSend(nodeHandle, pktDataTx);
9pktNoTx = pktNoTx+1;
10
11value_out =  datarec(4);
12
Note: See TracBrowser for help on using the repository browser.