In my previous article on using the FactoryTalk ViewSE “Command Line,” I showed how simple that feature was to use. In today's article I'll cover how to use the Client Keys feature which is also easy to use, but many people just don't know this feature exists.
What is the client key?
As the name implies, client is related to a client of the Factory Talk View application and the key means ways to access client using the keys of a keyboard.
In short, client keys provides you with “shortcuts” or an easy way to access some of the features within the FTV SE application.
To start off, first open Factory Talk View Studio and select any Site Edition application type.
Here, I will open an existing project of parameter passing from my previous article in a network distributed.
I will show you how to close an FTV client with the help of the client key. You can choose a key to open a client, log in, log out, etc.
You can find “Client Keys” under the “Logic and Control” section as shown in the below window.
There are multiple sections under Logic and Control, which we will cover in upcoming articles:
Now double-click on Client Keys to open its properties. The following window will open up.
As shown in the above window, click on “Add”. This will open the following window.
Here, we have to choose a key from a key dropdown. We can also select “Control” and “Shift” modifiers.
I have added a key in the key section. I also have added a label where you can provide a suitable name to match your key functionality. Here, I chose “CloseClient” because I am using this key to close my FTV client.
Now we need to add an action to provide a command to perform an operation based on a key.
You can choose press, release, or repeat action. Here, I will go with press action. To add a command, double-click on the white blank space or click on the three dots (…) on the right side of the action.
Clicking on that will open the following window:
Choose “DisplayClientClose” and hit “Next”. Here, you can see a bunch of lists from which you can choose commands to perform an action based on keys.
The following window will open. Here, choose “current display”.
Click on “Finish” to complete the setup:
We have successfully added the close client command as you can see in the below window.
Click “Ok” and we are done with adding the client key.
Now we will open the client file. Here, I will show you an option that is compulsory to choose in order to execute the key. If you don’t select this, then it won’t work:
In the above-mentioned window, you have to choose “Initial Client Key”. You will find your client’s key in that dropdown. Choose the client key which you created earlier.
You can run your client and test it.
Hope everyone who reads this article finds it helpful! If you have any comments or questions, then post them in the below comment section.
Written by Suhel Patel
Automation Engineer and Freelance Writer
Sponsor and Advertise: Get your product or service in front of our 75K followers while also supporting independent automation journalism by sponsoring or advertising with us! Learn more in our Media Guide here, or contact us using this form.
- FactoryTalk ViewSE Client Keys - October 21, 2022
- FactoryTalk ViewSE Parameter Passing - September 20, 2022
- Export, Edit, and Import FactoryTalk ViewSE Alarms and Events - August 9, 2022