I have read about how a logger can read the RfSignalLevel from the Public table of a RF407 that is set to operate as a PakBus Node. I am interested in queriying other variables, e.g. the Radio Channel Mask, Power Mode, etc. Is there a listing available of the Fieldnames of the variables that can be queried?
I will also need to do the same in the CR300-RF407, so I hope to do likewise from a Settings or Status table.
Thanks!
Glenn,
Look at CRBasic Help - CR300 Settings (campbellsci.com) and CRBasic Help - RF407-Series Settings (campbellsci.com) This should get you what you are looking for.
Thank you Gary. At the moment I have a RF407 hooked to a CR1000. I am successful with Example 11-1 from the RF407 manual where I have set the 407 to operate as PakBus Node and assigned it a PakBus Address and query the RF407 using
GetVariables(Result,ComSDC7,Neigh,RFPBA,0000,0,"Public","RFSignalLevel",RFstatus(),2)
Yet in the RF407 link for the CR300 you pointed me to, those values seem to be Settings.RadioRSSI and Settings.RadioRSSIAddr
So I tried
GetVariables(Result,ComSDC7,Neigh,RFPBA,0000,0,"Public","RadioRSSI",RFstatus(1),1)
but my result is -16, so it apparently does not have a FieldName of "RadioRSSI".
I assume that for the 1000 to query the tables in a PakBus device it must need a different syntax or FieldName.
I have defined
Public Mystatus As String
and have been unsuccessfull trying the following (individually):
GetVariables(Result,ComSDC7,Neigh,RFPBA,0000,0,"Public","Settings.RadioOS",Mystatus,1)
GetVariables(Result,ComSDC7,Neigh,RFPBA,0000,0,"Settings","RadioOS",Mystatus,1)
GetVariables(Result,ComSDC7,Neigh,RFPBA,0000,0,"Public","RadioOS",Mystatus,1)
Please advise how I can query other configuration values in the 407 from a 1000 in a manner similar to the RFSignalLevel?
Thanks very much!
-Glenn
Glen, what I pointed you to was what can be used with a internal RF4XX radio. What is in the RF407 manual should be used when quering a external RF4XX device. Sorry about the confusion there. There isn't a way to read settings from a external RF4XX device.