I am not quite getting it.

You are talking about another VAR or CON (SDatapulse) that we do not know how it relates to everything else.

Can you post all of your code?