Convert decimal to hexadecimal from web browser

Forum Home Forums Understanding the Software Convert decimal to hexadecimal from web browser

Viewing 12 posts - 31 through 42 (of 42 total)
  • Author
    Posts
  • #13144
    manjey73
    Participant
    public byte[] NewFreq1()
    {
    string tes = Encoding.UTF8.GetString(CmdData);
    uint teu = uint.Parse(tes)*100;
    byte[] teb = BitConverter.GetBytes(teu);
    return new byte[] { 0x00, 0x01, teb[1], teb[0]};
    }

    We use the Binary command type and enter 30 and so on in string mode (not Hex)

    #13145
    kcks66
    Participant

    Hi manjey73,

    Meantime, I tried to use automatic control module to perform quite similar task. My task is straight forward this round.

    I want an output channel send out value follow an input channel value; as example input channel 1001 has 15, I want the output channel 2001 to send out 15 also.

    I configured automatic control module as below but failed to get the result as I expected.

    https://ibb.co/hDs0jLN

    Pls advice and thank you.

    #13147
    manjey73
    Participant

    Trigger parameters check Value. Edit Value = 15
    Command Value = 15

    #13148
    kcks66
    Participant

    Hi manjey73,

    Ah, I think I didn’t ask the question properly. I wish the output channel send out value always follow input channel as the input channel value is always changed from 1 to 100.

    #13149
    manjey73
    Participant

    Then you probably need a trigger to change the channel and specify “Send command” in the command.

    And if necessary, use the formula in the command to check the value for the range 0-100 and, if it goes beyond the range, return Double.NaN to cancel the command

    #13151
    kcks66
    Participant

    Hi manjey73,

    Yes. I managed to copy the input channel to the output channel by using data change trigger.

    Now can I store a hexadecimal number in an input channel? I want to copy the hexadecimal number in an input channel to an output channel?

    Thank you.

    #13152
    manjey73
    Participant

    On the 5th version, there is no channel display as a HEX number, as in the 6th version. Most likely only using ASCII String with the corresponding transformations using formulas.

    #13153
    manjey73
    Participant

    Tip: upgrade to version 6, it is somewhat more flexible

    #13154
    kcks66
    Participant

    Hi manjey73,

    Currently I am waiting for an publish of instruction steps on how to migrate from V5 to V6. I will definitely want to use V6.

    #13155
    manjey73
    Participant

    It seems there were publications on the Russian forum. As far as I understand, there is a difficulty only in transferring the database

    #13159
    Mikhail
    Moderator

    Hi,

    Currently I am waiting for an publish of instruction steps on how to migrate from V5 to V6. I will definitely want to use V6.

    Please read this topic. Instruction is inside the archive.

    #13163
    kcks66
    Participant

    Hi Mikhail,

    Noted. Will give it a try.

Viewing 12 posts - 31 through 42 (of 42 total)
  • You must be logged in to reply to this topic.