Our full technical support staff does not monitor this forum. If you need assistance from a member of our staff, please submit your question from the Ask a Question page.


Log in or register to post/reply in the forum.

get Pakbus/TCP Client Connections via CRBasic


ridgerunner81 May 11, 2016 07:38 PM

I know that the Pakbus/TCP Client Connections can be set via CRBasic, but is it possible to determine what the setting currently is?  I am currious if this is possible with CR1000's and CR800's running OS26 or newer.


Dana May 12, 2016 09:20 PM

The setting is called PakBusTCPClients (you can see the field name of datalogger settings by looking at them with a keyboard display). The data table access syntax will let you access the setting; e.g., 

Public TCPClient as String

TCPClient = Settings.PakBusTCPClients

This works in the CURRENT operating system. In OS 29 we reorganized the Status table and the datalogger Settings table to get status info into the status table and settings into settings. In older OSes, you may need to use Status.PakBusTCPClients. 

Dana W. 


ridgerunner81 May 16, 2016 06:57 PM

Hi Dana,

Thank you the information, but I am having compile issues on OS26 and OS27.05.  I get the "PakBusTCPClients is not a Status Field Name" error.  I checked the keypad and do not see the PakBusTCPClients settings so it appears that I will not be able to change these settings through a CRBasic program.


Dana May 16, 2016 10:11 PM

As mentioned, the syntax I provided works in the current operating system, version 29. It was not in the Setting table prior to that.

Dana W. 

Log in or register to post/reply in the forum.