Help with visualisation - text field input

shrimper

Member
Join Date
Jun 2015
Location
Warsaw
Posts
4
Hi,

I would like to put a text field in my visualisation, where user can put some data (string or int). Then, after clicking a button, this data would be saved into MAIN(PRG) variable.

It seems that "Text field" is capable of only displaying text and variables. After I login and run program, placeholder %s disappears and variable from "Text variable" is displayed - but user cannot modify it.

I would like to give the user opportunity to edit content of this Text field by clicking on it and typing data from the keyboard.

I use TwinCAT 3 in Visual Studio 2013 Shell. There appears to be no alternative to "Text field" - maybe I miss some libraries? How do I add them?

Please answer :)

Regards,
shrimper
 
You just have to set your input configuration. Just go to your element property and set your input configuration for example to "one mouse click", then choose "Write a variable" and so on...
 
Thank you, it worked like a charm. I thought "write variable" just saves some predefined value into a variable, and was so sure about it that I never checked it out :)

Another curious thing is that after I click any button, the text I wrote a moment ago just disappears, although nothing in my code is capable of reseting it...
 
assoon as you entered the text, you will need to save it, as the program will keep running, it will overwrite what you typed.
 

Similar Topics

Hello everyone. Could someone please assist me? I am using Citect version 7.2 service pack 5 and Windows 7. I have created a project...
Replies
0
Views
31
Hello, I'm not sure if anyone can help me. I made a big mistake by pulling out the battery to swap it with the machine turned off, and as a...
Replies
0
Views
23
I've adjusted the IP of the Panelview Plus as well as the DNS servers; the screen does not show up in the search when I go to the transfer utility...
Replies
3
Views
106
Hi Everyone, I own a GE Versamax controller that I purchased for a class at Long Beach City College a couple of years ago. I lost the use of my...
Replies
11
Views
190
I was wondering if anyone could help i am trying to use a SLC 500 with a 5/05 processor to set up an incremental encoder to a HSCE2 card? The card...
Replies
2
Views
165
Back
Top Bottom