Jump to content

stembera

Members
  • Posts

    79
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by stembera

  1. Hello world, last week I moved to new laptop running Windows 7. From that moment I am not able to insert images in PNG format into HMI displays (enhanced OPLC models). I am a little bit confused because I have created nice library of icons, buttons, logos etc., everything in PNG format. Maybe I forgot something in installation of VisiLogic, maybe it is a W7 feature; I have no idea. Do somebody have similar experience? (Windows 7 Professional 32 bit, CZ edition, VisiLogic 8.6.0)
  2. I found something about your problem: 1. The dll you described (pelscrll.dll) is probably part of old Primax mouse driver. If you do not use that mouse, uninstall the driver. 2. The message box you saw is generated when you have the wrong version of dynamic library. Maybe the DLL was affected by virus. (Original file size is 151552 bytes). Run complete antivirus test of your computer. 3. Try to restore your computer to some restore point before the first time you observe that issue. (All Programs --> Accessories --> System tools --> System restore).
  3. Let me guess. Your timer is running 60000 milliseconds. In the last program cycle, let us say, 59998ms, is still not elapsed. The first scan which "sees" the timer elapsed, is the next cycle, e.g. 60004ms. Now you have lost 4ms and you will start next instance of the timer. In the second minute the situation will be similar and the error will accumulate. After many loops of the timer you can get gross inaccuracy. The better solution of your task is to use system real time clock: In the system integer SI30 you have actual second in minute. If your minute counter will be incremented if ((SI30 == 0) AND (SB13 == ON)), your task will be more accurate. (SB13 is on every second for one program cycle). Next possible solution is using of SI36, minute in hour. If you put (((SI36 mod 6) == 0) AND (SI30 == 0) AND (SB13 == ON)), you will get one pulse every six minutes, i.e. every one tenth of hour. ("Mod" stands for modulo, the remainder after integer division).
  4. Try to press "Alt+space", "Enter" and "arrow left" on keyboard. The window will move to the left to screen.
×
×
  • Create New...