How can I create a drop down list in a interface for a PLC using Codesys v2. 3 - visualization

I'm doing an interface for a WAGO PLC and I'm using codesys v2. 3 software. But I'm needing to create a drop down list to choose some variables depending of the process I want to realize with the system. But I haven't found how to do it. Also, I have though to do a text box to type the data and then get the data from it but I should have to validate that the data is correct. More complicated.
Could you help me. Ill be granted.
Best regards

I would create another window with list of elements of supposed dropdown and a buton on the main screen to call that window as dialog.

Related

Accessing 'Details' component of ADF activity run instead of 'Output'

ADFv2 seems to be allowing accessing Output of an activity using #('activityname').output but in the monitor we also see a 'Details' component for certain activity types (e.g. HDInsightHive, SQL etc), so is there any way we can access it? It contains very valuable information and it would be great if there is a way to access it somehow. The ADF drop down (adding dynamic values) obviously doesn't show it. This internally available information if exposed via UI would be a great plus.
The following screenshot shows how the detail window appears, basically one has to click on this yellow highlighted icon:-
Now maybe i know your concern.You just wonder whether information could be accessed in the Details window. For example,my test copy activity:
Actually,based on my observation, the information listed in above window are exactly information in the error output.No more additional monitor information,just more readable and clear.
Besides,we can't find any more object of Activity Run Response from REST API.
So,if you are interested in the details info,please refer the output object.

Form content in multiple languages: View behaviour and model handling

Currently I work an an app where the user can create products for a catalog. The status is, he can do this in one language, data gets send to the backend and saved. The next step would be to make this creation process ready for multiple languages e.g. english or french. The behaviour should be the following, he choses the language inside a drop down field and gets a form in the selected language.
The problems I encountered and my solution process till now:
1) How should the view handling be? Should I create a new fragment for every language and exchange the content? If Im correct that would mean I would need to destroy and create fragements for the languages, right? And then create them with a binded model again.
2) How should I handle the model/models? Should I create one model with the data they share e.g. creation date and create a model with language related attributes? That would be my solution right now.
Maybe you already did something similiar or have some thoughts about this, thanks for any help!
You should do neither of those things. There are mechanisms in place, generally referred to as i18n that help you with this process. UI5 help available here:
https://ui5.sap.com/sdk#/topic/df86bfbeab0645e5b764ffa488ed57dc
and
https://ui5.sap.com/sdk#/topic/5424938fc60244c5b708d71b50a0eee4
In summary, translations should be done using the i18n mechanisms and the oData logon language.
Logging into the application, assuming it's hosted on an SAP gateway or SCP / Launchpad, the user's current logon language will drive at least all standard SAP translatable texts like the labels returned from data elements in your oData services. The appropriate url parameter is sap-language=EN, but it's set automatically from the current browser settings. Generally, you don't have to worry about this.
The same browser settings drive which particular i18n file is loaded. This could be specific like en_US for American English, or fr for French.
If you code your app without any hard coded translations but always follow the rules in the links above, adding a language should be trivial.
These translations could probably be triggered programmatically via a dropdown as well but I have never tried that since it's extra steps for my users.

Is it possible to add a combobox as column in a listbox in VBA?

Using a VBA form, is it possible to add a Listbox control that has columns which contain Combo box controls?
No not possible with Standard VBA; Standard VBA will not allow this! You may be able to create a custom ActivX control or load another 3rd party control as suggested elsewhere but a standard ListBox cannot hold a ComboBox.
Other Workarounds may be usable if you can provide more details...
If you insist in doing that using User Forms, the only way is that when you click a list item, it should pop a different form containing the combo box, it will be too much work to create and difficult to maintain.
I am sure with spreadsheet itself you can come up with better solutions. I am still not sure what ultimately you want to achieve, but to me this is just a dependent list so you can use sth like this in the spreadsheet itself:
http://www.contextures.com/xlDataVal02.html

Auto form filling

I have a requirement like I need to fill an online form automatically. (Auto form filling).
Means I need to create an application in which clicking on the "Auto fill” button it will open the form in browser (form is another website page) and fill the data automatically.
The data (which may change each time) I will supply from my application. So first I thought of implementing the functionality using iMacro.
But later I realized I can’t call this imacro from an application if it is free version. So please suggest me some idea to achieve this functionality.
Thanks.
as far as i under stand your problem i would say try sikuli ..it just a simple you can say a compiler and a language which uses image recognition and you can make autobot through this and a very easy to learn ..

Dynamic Pop-up Menu (Select box) in Dashcode

I'm trying to use Dashcode to create a drop-down list for an iPhone Web app. I want the list to be set dynamically based on a data source, and for the selected item to be set by a separate data source.
I've figured-out how to set the parameters on the data source to get it to alter the contents, and have the data in valid JSON, but can't figure-out how to connect up the data source to make anything but a blank pop-up appear. I've tried connecting arrays and associative arrays to each of the bindings and still can't get anything (except an error when I try and connect it to the content)
So... Anyone out there done this?
Thanks in advance.
Have you tried using the code out of Dashcode library? There are a number of prewritten snippets in there and often with a bit more detail on the Dashcode docs on the apple site.
The other way is to download some widgets and then disassemble them to see how someone else has done it.