0 Replies Latest reply on Aug 13, 2014 7:39 AM by Sinan Kabak

    Adjusting antenna powers.

    Sinan Kabak

      Hey all;

       

      Using EMDK's I'm trying to adjust the range of my antennas,the code block i use is:

       

       

      Antennas.Config config = new Antennas.Config();

      config.TransmitPowerIndex = (ushort)myreader.TransmitPowerIndex;

      config.TransmitFrequencyIndex = (ushort)myreader.TransmitFrequencyIndex;

      config.ReceiveSensitivityIndex = (ushort)myreader.ReceiveSensitivityIndex;

      myreader.ReaderAPI.Config.Antennas.SetConfig(config);

      The problem is, it wont let me change TransmitPowerIndex or ReceiveSensitivityIndex apart from 0, the exception I get is "config value of out range"

      If I run the antennas at default settings (without using the code above), they run at full power.

      If I use the following settings:

      Antennas.Config config = new Antennas.Config();

      config.TransmitPowerIndex = 10;

      config.TransmitFrequencyIndex = 1;

      config.ReceiveSensitivityIndex = 0;

      myreader.ReaderAPI.Config.Antennas.SetConfig(config);

      Antennas run at a significantly low power,but this is too low for mysetting,If I want to change the powerindex to 20 for example,nothing changes.If I change the transmitfrequencyindex or the receivesensitivityindex to anything other than the values above,i get "config value out of range error".

      How can I adjust the range of my antennas, based on some values on a linear basis?