source:
ResearchApps/PHY/WARPLAB/WARPLab_v05_2/M_Code_Reference/warplab_readAGCValue.m
Last change on this file was 1311, checked in by mduarte, 15 years ago | |
---|---|
File size: 274 bytes |
Line | |
---|---|
1 | function value_out = warplab_readAGCValue(nodeHandle, register_Id) |
2 | |
3 | pktNoTx = 1; |
4 | |
5 | % Set the packet to be sent to the WARP node |
6 | pktDataTx = [pktNoTx, register_Id]; |
7 | |
8 | datarec = warplab_pktSend(nodeHandle, pktDataTx); |
9 | pktNoTx = pktNoTx+1; |
10 | |
11 | value_out = datarec(4); |
12 |
Note: See TracBrowser
for help on using the repository browser.