A Datalogger Connection Culprit with Benefits

por Dana Worley | Actualizado: 11/18/2015 | Comentarios: 0

Etiquetas

LoggerNet

Temas Blog


Buscar en el Blog


Suscribirse al Blog

Configure sus preferencias para la recepción de notificaciones por email cuando se publiquen nuevos artículos en el blog que coincidan con sus áreas de interés.


Entre su dirección email:



Sugerir un Artículo

¿Hay algún tema sobre el cual desea saber más? Háganoslo saber. Por favor sea lo más específico que pueda.

Leave this field empty

When you have work to do, there’s nothing more frustrating than being unable to connect to your datalogger in the field. We’ve all been there: You’re in LoggerNet’s Connect window pressing the Connect button, and you’re met with nothing but the endless flashing “connecting cable” icon.

connecting cable icon

Before panicking, there’s a setting you’ll want to check in LoggerNet’s Connect window, which may be the culprit. Fortunately, if it is the culprit, it’s a quick and easy fix to restore your connection.

Force Connection

Force Connection is a toggle that you can access from the Connect window’s Edit menu. When a checkmark appears beside the menu item, the setting is enabled (on). When the checkmark is cleared, the setting is disabled (off).

Force Connection option with checkmark

By default, the Force Connection setting is enabled. This means that whenever you press the Connect button, the LoggerNet server immediately attempts to establish communication with the datalogger. Once connected, you’ll see data updating in the Connect window’s Table Monitor, as well as regular datalogger clock updates.

Disabling the Force Connection setting is a handy feature in certain scenarios, but it can also cause you a lot of grief if the feature is disabled unintentionally.

Benefits and disadvantages of disabling the Force Connection option

If the Force Connection setting is disabled, whenever you press the Connect button, the LoggerNet server does not immediately attempt to establish communication with the datalogger. Rather, LoggerNet waits until it has a task to perform with the datalogger before attempting communication. For example, if the Force Connection setting is disabled, and you press the Connect button and then the Collect Now button (or some other button that requires communication with the datalogger), LoggerNet will then attempt communication.

Huh… “So what good is THAT?” you might ask. Yes, there is a positive side to disabling the Force Connection setting.

The Benefits of Disabling Force Connection

Disabling the Force Connection setting can be useful in scenarios where the LoggerNet server cannot directly access the datalogger because of a firewall or other security restrictions, but the datalogger is able to call in to the LoggerNet server. If the Force Connection setting is turned off, and you’ve pressed the Connect button, when the datalogger calls in (via callback), the LoggerNet server opens the connection with the datalogger to collect the callback data. The connection remains open until you close it. While the connection is active with the datalogger, you can check Station Status values, send a new program, or perform other station maintenance activities.

Remember

To recap, here are a few things to remember about the Force Connection setting:

  • If LoggerNet won’t communicate with the datalogger, but no error messages are returned, take a look at the Force Connection setting in LoggerNet’s Connect window.
  • If the Force Connection setting is disabled, communication will not be established with the datalogger until you initiate an action such as pressing the Collect Now button.
  • The Force Connection setting is a handy way to hold open a connection with a datalogger that calls in via callback so that you can perform maintenance.
  • Once connected, the LoggerNet server maintains the connection to the datalogger until you disconnect, or until the Maximum Time On-Line is exceeded. Thus, it’s a very good idea to set a Maximum Time On-Line (in the Setup window) for communication links.
  • The Force Connection setting is a global setting. When it is enabled, it applies to all dataloggers in your LoggerNet Network map.

I hope this tip has been informative and helped you uncover your connection culprit. If you think intentionally disabling the Force Connection setting could be a useful feature in your application, leave a comment below and let me know!


Compartir este artículo


Acerca del autor

dana worley Dana Worley, now retired, joined Campbell Scientific, Inc., in 1997. As an Application Engineer, Dana provided technical support and training to customers, and she developed online and written documentation. Other roles included management of R&D projects, software products, and a Software Test and Support group. Dana most recently managed our Technical Support Team in the Client Services department. She enjoys hiking, biking, traveling, and photography, and she is an accomplished artist, specializing in kiln-formed glass.

Ver todos los artículos de este autor.


Comentarios

Please log in or register to comment.