0% found this document useful (0 votes)
49 views6 pages

ProView - HowTo - Create - Individual - Functions - With - Variable - Parameters

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
49 views6 pages

ProView - HowTo - Create - Individual - Functions - With - Variable - Parameters

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

ProView How 2

Create individual functions with variable parameters

Document version: 001


Edition date: 2014/05/22
Protection Class: Public
ProView How2 Create individual functions with variable parameters

Information
This How To explains how to configure and execute a ProView ‘Individual Function’ on the
ProAgent. The following example also passes a parameter to the ProAgent which is
executing the function.
All prerequisites and files required are described within this How To. If you are missing some
files, please contact the software support hotline by writing an e-mail to softwaresupport-
[email protected].

Create individual function in Console. The function has one parameter of type text. In this
case the parameter is named ‘directory’.

Copyright © Wincor Nixdorf International GmbH, 2014 1


ProView How2 Create individual functions with variable parameters

The function needs to be assigned to the ‘Device Profile’:

Copyright © Wincor Nixdorf International GmbH, 2014 2


ProView How2 Create individual functions with variable parameters

The function also has to be added to the user’s role:

Copyright © Wincor Nixdorf International GmbH, 2014 3


ProView How2 Create individual functions with variable parameters

The function (in this case 2601) needs to be configured on ProAgent. The Individual Function
simply calls cmd.exe /C:

After restart of the ProAgent the function can be executed using the Console. The parameter
is passed to the ProAgent. In this example the parameter describes the execution of the DIR
command, which output is redirected to a file:

Copyright © Wincor Nixdorf International GmbH, 2014 4


ProView How2 Create individual functions with variable parameters

The Console uploads the result of the function execution (file) and displays it’s result:

Copyright © Wincor Nixdorf International GmbH, 2014 5

You might also like