kanber

Members
  • Posts

    116
  • Joined

  • Last visited

About kanber

  • Birthday 01/02/1981

Profile Information

  • Gender
    Male

Recent Profile Visitors

4,037 profile views

kanber's Achievements

Advanced Member

Advanced Member (3/5)

0

Reputation

  1. Hi, I need to help about showing set point on graphic. Please see on attached file. I am logging data every 180 second. But if set is change It seem to be a linear change. But I want it to show as I specified with the blue line. Other programs had such a feature for set points.
  2. Hello, I need to with popup page. can you help me? I need a solution for that.
  3. Thank you for your support. I fixed two issue. But now I have problem with OnLButtonDown working on a page. But not working on popup.
  4. Hi, I have two quetions; 1- Is there any option to catch first character. we have ReadUntil command, But I need to catch if first character is like x80 then read 4 byte. 2- Can you help me calcuation checksum. there is 4 byte data. I need to calcute with first there byte with xor with xAA byte and check with 4.byte with is checksum from device. The checksum is formed by exclusively ordering all preceding bytes with the bit pattern 10101010 (0xAA):for(tb_Cnt = 0; tb_Cnt< (EMPFA_BUFF_LAENGE - 1); tb_Cnt++){ tb_CheckSumme ^= EmpfangsBuffer[tb_Cnt];}
  5. Hi, another issues is when I sent 6 byte on monitor TX showing 5 byte. you can see attached file. I need to sent data to device 6 byte with below format; Byte 0 ID Byte 1 command Byte 2 key state Byte 3 dummy Byte 4 dummy Byte 5 checksum and device will answer me below format; Byte 0: ID Byte 1: command Byte 2: option Byte 3: checksum ID is fixed x80. how can I catch anwser with check sum?( Xor data with 0xAA) checksum (byte 3) The checksum is formed by exclusively ordering all preceding bytes with the bit pattern 10101010 (0xAA): for(tb_Cnt = 0; tb_Cnt< (EMPFA_BUFF_LAENGE - 1); tb_Cnt++) { tb_CheckSumme ^= EmpfangsBuffer[tb_Cnt]; }
  6. 1st question; I don't understand what did you say? it is hex 0x80. 2nd question; I did like you said. I ask if there is easiest way to do it. maybe you can add new future like "Onbuttonpressed"
  7. Hi, On com monitor screen when I put Output string "\x80\x01\x02\x00\x00\x29" and press to sent button it is working. on sequence am I need to write like that; device.AmlMasasiDevice.Write(chra({0x80,0x01,0x02,0x00,0x00,0x29})) second quetion is I need to sent the string when users press and hold a button continuously. how can I do that?
  8. Yes I done like that. But when I leave button it takes almost one second to show button on page like unpressed. It is like hanging. It stay like pressed position one second. I tried to change page refresh time to 0.1 but nothing changed. I closed begin and endseq lines and test it work find.
  9. Hi, I what catch when mouse right click and hold on pressed increase a value. OnLButtonDown and OnLButtonUp only work when pressed only one time. I can find long way to do it but I what to ask is there any easy way?
  10. Hi, I select to switch to runtime mode first then select switch to development mode and it was fixed. FYI thank you
  11. I have same issue. I delete on regedit BCGWorkspace 2 folder. but it is same. When I was try open i safe mode also is same. Please see screen shots.
  12. kanber

    Modbus connection

    Yes all machine has own group channel. But if I use readgroup function how I will stop reading continuously. because they are alreday on channel list.
  13. kanber

    Modbus connection

    Yes, timing = 1 / offset=0 I will change it for machine 1 offset =0.01, 2=0.02, 3=0.03, 4=0.04, 5=0.05. Am I correct? I added a script when timeout I change 184 channel timing=0, only one channel timing is 1, if communation is online ı set all other timing to 1. Because I need at least one channel to understand when communication online again.
  14. Hi, I have 5 machine communication with modbus tcp. Every machine has 185 tags. when all machine is only communication is normal. but when customer close 3 or 4 machine modbus trying to get tag information and waiting for time about. because of that online machine data updating very very slow. Is there any solution for that?
  15. Hi, I add file with wmf. but still converting pdf problem. please see attached file. how can I solve that problem? Pdf.ctl