RF407-Series Spread Spectrum Radio
24
CRBasic Example 11-1. Retrieving RSSI Information
'Example Program
Const
RFPBA = 401
'Set PakBus address of the RF407-series Node
Const
Neigh = -1
'Set neighbor address, -1 = Auto Discover, or 0 = No neighbor
Public
Result, RFstatus(2)
Alias
RFstatus(1) = RSSI
'Received signal strength indicator
Alias
RFstatus(2) = PBA
'Address of the last received communication
BeginProg
Scan
(5,Sec,0,0)
GetVariables
(Result,ComSDC7,Neigh,RFPBA,0000,0,"Public","RFSignalLevel",RFstatus(),2)
NextScan
EndProg
•
PakBus Graph
–
The RF407 series must be configured as a PakBus node using
DevConfig
. Under the
Main
tab, set the
Protocol
to
PakBus Node
.
This setting makes the RF407 an independent device in the network.
The RF407 series must also be given a unique
PakBus Address
under
the
PakBus
tab. The RSSI and radio settings can be remotely
accessed for any RF407 node displayed in
PakBus Graph
. Right-click
on a device and a floating menu will be presented. Click on the
Edit
Settings
option to display a list of settings. The RSSI is located under
the
Advanced
tab in the
Received Signal Strength
field. The RSSI
and the PakBus address of the device the RF407 last received
communication from will both be displayed in the same field.
11.3.7 Battery Voltage
Specifies the battery voltage in volts at the radio.
11.3.8 ME Baud Rate
Specifies the baud rate that will be used on the
CS I/O
port when configured
for ME Master.
11.3.9 RS-232 Parity
Specifies the parity that will be used on the
RS-232
port.
11.3.10 RS-232 Stop Bits
Specifies the number of stop bits used on the
RS-232
port.
11.3.11 RS-232 Character Length
Specifies the length in bits of character frames on the
RS-232
port.
11.3.12 RS-232 Auto Power Down
Specifies whether to always power the RS-232 device or that the RS-232 TX
automatically powers down when there is no activity for 30 seconds.
Содержание RF407 Series
Страница 2: ......
Страница 3: ......
Страница 7: ......
Страница 11: ...Table of Contents iv...
Страница 37: ...RF407 Series Spread Spectrum Radio 26...
Страница 39: ......
Страница 49: ...Appendix B Distance vs Antenna Gain Terrain and Other Factors B 10...
Страница 50: ......