Forums Forums General Discussions Problem with setting "T4" parameter

This topic contains 2 replies, has 2 voices, and was last updated by  Gabe Seitz 2 weeks ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1994

    Brandon
    Community Member
    • ★★★★

    I have written C# code in Visual Studio 2019 in order to read the “Temp Code” from a SmartTrac Dogbone Tag which has an embedded RF Micron Magus S chip. The line “r.ParamSet(“/reader/gen2/t4″, 3000);” is supposed to set a continuous wave of 3ms, but produces the error code: “System.ArgumentException: ‘Wrong type Int32 for parameter “/reader/gen2/t4″.” Can someone provide a solution to this error and further explain what “t4” refers to?

    Thanks

    0
    #1995

    Brandon
    Community Member
    • ★★★★

    Edit: Fixed code line by adding “r.ParamSet(“/reader/gen2/t4″, (uint)3000);” However the Temp Code value returned seems rather large with a value around 2300.

    0
    #2103

    Gabe Seitz
    Community Member
    • ★★★★

    2300 is typical for a temperature code. To convert it into degrees, the device’s calibration must be applied.

    For complete examples, refer to: https://github.com/Axzon/reader-sample-code

    0
Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.