Przemek

MrPLC Member
  • Content count

    5
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Przemek

  • Rank
    Newbie

Profile Information

  • Country Poland
  1. Thank you ! Sorry for delayed answer, I was in delegation. You are great! That's exactly what I was looking for !!! I must admit I gave up, and started doing a lot of pages and genies with different alarm notifications. Things going do simplify now Just one common genie ! Thank you for the work and time spend on drawing that walkthrough. Thing worked as you described. I owe you Tank you again - Przemek
  2. Yes, That may work. I was also thinking about using some workarounds but including this all seems to by pretty complicated As a citect newbie I thought that maybe there is some ready mechanism which I just don't know. If I figure out something I will describe what i figure out here If not, that will mean I created as many pages as there are alarm types (one for each type of alarm), just using common template. This solution is less “evolutionary“ and less flexible :( Anyway thank you for your interest and quick help !
  3. Yes it it possible, but i would like to avoid using additional tags because: In next step I wanted to do alarm popups using one Supergenie. I wanted do display alarm contents as string variables from cicode. Handling this by using string Tags would be very difficult because on screen there can be several instances of called Supergenie at the same time, each with different text to be displayed.
  4. Thank you for the prompt reply ! Sorry , the forum egine converted my As_s()to Booty(). I'm using As_s() (without "_", for string associations (not booty() ) FUNCTION DeviceInfo(INT iDeviceIndex) As_s(-2,1,”sDeviceName”+IntToStr(iDeviceIndex)); ... WinNewAt(“!PopUpName”,x,y,8+64); WinTitle(“Device “+IntToStr(iDeviceIndex)); END A think this is the same as using mentioned by you: AsVarTags(-2,0,”sDeviceName”+IntToStr(iDeviceIndex)); But that works fine – displaying associated tags value is not the problem. I would like to display iDeviceIndex value, from that this example, in SuperGenie (like in WinTitle) Display cicode variable value, not a tag value. Is it at all possiblel?
  5. First, since this is my first entry, of all I would like to say hello to everyone here ! ( and apologize for my poor English). I'm writing my first Citect project, and I wonder is there a way to pass variable value from cicode function to Super Genie displayed from that function. For example: - I have one function for number of same devices, the input parameter is device number. - Function opens Super Genie and display device info (using WinNewAt()) - It displays tag values for particular device Associated with booty() - no problem here. - I just don't know how to display device number itself which is INT variable in Cicode ! I only manage to display it in window title with WinTitle(“device”+IntToStr(iDeviceNo)). Does anyone know how to display it in Super Genie like tag value ? (without using additional tags) I also wanted to pass some strings for alarm messages using one Super Genie (or one Page) to all alarm messages. It would be hard using additional tags, because there are few messages possible at the same time, and different tags would be needed for each message. I know, I can also achieve this with Forms, but they look a bit rough ;) I will appreciate any of your help. - Przemek