Ad Widget

Collapse

User Parameters [VBscript]

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sandroalves
    Junior Member
    • Nov 2011
    • 12

    #1

    User Parameters [VBscript]

    Friends,

    I am setting up a new item to the script that return values ​​put on the server in order to collect the time of the server to ping an external ip. The script is returning the numeric value when I run locally on the server, but in "Latest data" it only appears as 0 (zero) instead of the values ​​appear ping time that are random.

    When I run the script locally, it returns (7, 10, 5, etc..), But in the "Latest data" appears only 0 (zero).

    I have another item that is just the ping test, and yes it only returns 0 (zero) or 1 (one), different from this one that would return random numbers.

    What am I doing wrong?

    - User Parameters to scripts only return 0 (zero) or 1 (one)?
    - Does the problem is the type of the variable (I'm turning into CLng)?
    - Is it the data type of the item (I'm using Numeric (unsigned integer)?

    Thank you.
    Last edited by sandroalves; 06-11-2011, 19:05.
Working...