kanber

Members
  • Posts

    116
  • Joined

  • Last visited

Everything posted by kanber

  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
  16. Hi, If I add to wmf file to Symbol Factory then copy and paste to screen, it is working. But I want to put customer logo and I am using; component.CustomerLogo.LoadImage("C:\Logo.wmf") Load image is not working.
  17. Hi, WMF file also not working. We will convert 5-6 pages to pdf for reports. and we are using also pdfAddPage function. Which we can you third party driver which will work as same functionality.
  18. Hi, I am trying to convert pdf but on screen if there is imported bmp file it is not showing on pdf. can you hekp me how I can fix it? Version is 18.1 Pdf.ctl
  19. Hi, I should make modbus 485 comunication with device like that; 1- RTS enable 2- Tx Data 3- RTS disable (Delay 100-200msec) 4- Rx Data these condition should do looping from 1 to 4 for communication. Is there any way to do that?
  20. thank you for your comment. After blank it worked. thank you
  21. Hi, when I tired ; var.strx1 = "FullScaleMin_AI4" var.x22 = 5 var.strdeneme = var.strx1+"="+(var.x22) Execute(var.strdeneme) it is working. But when I tried minues value; var.strx1 = "FullScaleMin_AI4" var.x22 = -5 var.strdeneme = var.strx1+"="+(var.x22) Execute(var.strdeneme) it is giving error "C1066 Invalid operator". But I can set the channel like FullScaleMin_AI4=-5. where is the problem I can not find
  22. Hi, I am trying to run windows keyboard exe with shellExecute. But it is not opening. I tried different way to run. system.ShellExecute("C:\WINDOWS\system32\osk.exe","open","","","normal") system.ShellExecute("osk.exe","open","","","normal")
  23. Hi, I have one page with components which I write set channel, variables display. All variables looks like ABC01,02,03 I want to copy and paste these page to another and select all component and replace ABC to KLM. Is there any way to make that?
  24. Hi, I am using spectrum component for display 10 temperatures value with 0-100 C. But I want to change colour which temperature is bigger then 50 C with red color, otherwise with green color. Is there any way to do that?