Question: Are there any restrictions for the Graphic's names and tag's names?

Answer:

ADISRA SmartView blocks certain characters and keywords from being used as a name for a Graphic or tags. Please take a look at the rules below;

1) Graphics

Regex:  “^[_A-Za-z0-9]+$”;
Only latin unicode characters (a-z, A-Z and “_”)

Internal documents

Block: service names, object names and e SVFunctions

Other keywords:
“con”, “prn”, “aux”, “nul”, “com1”, “com2”, “com3”, “com4”, “com5”, “com6”, “com7”, “com8”, “com9”, “lpt1”, “lpt2”,
                “lpt3”, “lpt4”, “lpt5”, “lpt6”, “lpt7”, “lpt8”, “lpt9”

“abstract”, “as”, “base”, “bool”, “break”, “byte”, “case”, “catch”, “char”, “checked”, “class”, “const”, “continue”,
                “decimal”, “default”, “delegate”, “do”, “double”, “else”, “enum”, “event”, “explicit”, “extern”, “false”, “finally”,
                “fixed”, “float”, “for”, “foreach”, “goto”, “if”, “implicit”, “in”, “int”, “interface”, “internal”, “is”, “lock”,
                “long”, “namespace”, “new”, “null”, “object”, “operator”, “out”, “override”, “params”, “private”, “protected”,
                “public”, “readonly”, “ref”, “return”, “sbyte”, “sealed”, “short”, “sizeof”, “stackalloc”, “static”, “string”,
                “struct”, “switch”, “this”, “throw”, “true”, “try”, “typeof”, “uint”, “ulong”, “unchecked”, “unsafe”, “ushort”,
                “using”, “virtual”, “void”, “volatile”, “while”

“apploader”, “initinstance”, “preload”, “base”, “iopl”, “private”, “code”, “library”, “protmode”, “conforming”, “loadoncall”,
                “pure”, “data”, “longnames”, “readonly”, “description”, “movable”, “readwrite”, “dev386”, “moveable”, “realmode”, “discardable”,
                “multiple”, “resident”, “dynamic”, “name”, “residentname”, “execute-only”, “newfiles”, “sections”, “executeonly”, “nodata”,
                “segments”, “executeread”, “noiopl”, “shared”, “exetype”, “noname”, “single”, “exports”, “nonconforming”, “stacksize”, “fixed”,
                “nondiscardable”, “stub”, “functions”, “none”, “version”, “heapsize”, “nonshared”, “windowapi”, “imports”, “notwindowcompat”,
                “windowcompat”, “impure”, “objects”, “windows”, “include”, “old”

“window”, “title”, “width”, “height”, “width”, “top”, “left”

2) Tags
 

Regex: “^[_A-Za-z][_A-Za-z0-9]*$”

It is similar to the graphics, except it doesn’t allow numbers as the first character.

 
Other keywords:
Same as the Graphics above and it also blocks the following characters:
 

‘ ‘, ‘<‘, ‘>’, ‘?’, ‘/’, ‘\\’, ‘\”, ‘\”‘, ‘;’, ‘.’, ‘{‘, ‘}’, ‘(‘, ‘)’, ‘:’,
                                                     ‘+’, ‘=’, ‘*’, ‘

Question: Is ADISRA SmartView going to be compatible with Windows CE?​

Answer

Microsoft Windows Embedded CE 6.0 ended mainstream support on April 9th, 2013, ended extended support on April 10th, 2018, and will end product distribution through partners support on February 28th, 2022.  Please find below the Microsoft website on the lifecycle of Windows Embedded CE 6.0 below.  

https://docs.microsoft.com/en-us/lifecycle/products/windows-embedded-ce-60

Microsoft Windows Compact 7 mainstream support ended on April 12th, 2016 and the extended support ended on April 13th, 2021.  However, product distribution does not end until February 28th, 2026.  Please find below the Microsoft website on the lifecycle of Windows Embedded CE 7.0 below.   

https://docs.microsoft.com/en-us/lifecycle/products/windows-embedded-compact-7

Microsoft is also encouraging customers to move from Windows CE to their latest operating systems.  Please see below the link to their FAQ on migrating from Windows CE. 

https://docs.microsoft.com/en-us/windows/iot-core/windows-ce-migration-faq

Because of the short life cycle of the Windows CE platform, ADISRA SmartView has chosen not to support this platform. If there is a high demand from our customer, we will reevaluate support for this platform.  

Question: Is it possible to run an external executable from a button click in my application? I want to open a pdf file and I will have another requirement to executa an external software.

Answer: Yes, you can use the .net library to open a pdf file with the following code inside the button click event:

string path = SVApplications.ProjectPath() +”Reports\\ReportDemoPDF.pdf”
System.Diagnostics.Process.Start(path);

In this example, it will open the ReportDemoPDF.pdf file which is located under Reports folder inside the project folder.
(i.e.  C:\Users\admin\Documents\ADISRA SmartView\DemoApplication\Reports\ReportDemoPDF.pdf)

You can also use the same Process.Start() function to execute any external software. 

Please refer to the following link for further information: 
https://docs.microsoft.com/en-us/dotnet/api/system.diagnostics.process.start?view=net-5.0

Question: Is it possible to transform the value of a tag while displaying it on a label object? I want to convert it from 102 to 10.2 for example.

Answer: Yes, you can use an expression in the text property of a label as in the image below:

Question: In my list of requirements I will need to create several objects to represent different hydraulic press systems, what’s the best and fastest way to do it?​

Answer: You can use the template object, and reuse it as many times as you need. The template object will define internal object tags where you can display the variables that represent that system and you can also create any type of animation. As soon as you finish the template object, it is possible to add it as many times as you want and when configuring each one of them, you will be able to configure the tags that represent that specific system. With templates you can also export and reuse in a different project in case you need it in a future project.

Question: Is there a way to save all the value changes I am getting from my PLC in a database ?

Answer: Yes, after creating the driver’s communication and setting the tag that will receive the updates from the PLC, you can create a Tag’s History spreadsheet and add that tag to it. You can still choose from saving the information in the internal database (proprietary) or an external relational database. If you choose the external database, you just need to create a Database Connection first in the Top Ribbon under Settings:

Question:Is it possible to limit some user’s access to close the application, open task manager or exit the application in any way that the user will need to keep the application open?

Answer: Yes, just enable the runtime security and configure a profile removing the permissions as in the image below:

Scroll Up