Hello everybody,
We are thinking about improving our Scada Basic.
We request from you that you give us the 5 top Modes or Instructions that will change your life!
Please give 5 only. For each, write a short description of the mode/instruction scope.
Thanks,
Nico
Easy,
COMBOBOX mode ADDITEM
LISTBOX mode ADDITEM
TREEVIEW mode ADDCHILDNODE
OPTIONLIST mode ADDOPTION
CHECKLIST mode ADDITEM
^^
My 5 wishes
1. ADDSTRING(str1, str2[, str3[, str4...]])
Addstring using many arguments (like PRINT instruction) would be quite nice...
2. ALLOC_BUFFER
Extend the limit of 128Kb to .... (10Mb?)
128Kb is really a joke!
3. FOLDER
Folders management.
Several modes like (FOLDER_STATS, CREATE, DELETE, LIST_FILES, etc...)
4. LISTBOX & COMBOBOX (ADDITEM, REMOVEITEM, SHIFT_UP, SHIFT_DOWN)
Items management. Today the only way is to create a text file and load it. Pain in the Ass!
Could be done also for treeview but IMHO it's not so usual creating dynamically the tree.
5. WEBVUE (KICK)
Possibility to kick-out a specific WebVue user.
My wishes
1. ADDSTRING(str1, str2[, str3[, str4...]])
2. ALLOC_BUFFER
Extend the limit of 128Kb to .... (10Mb?)
3. WEBVUE (KICK)
4. WINDOW(LISTOPENWINDOW)
List open mimics with branches and regions
5. PROGRAM(UNLOAD_ALL)
1- Additem in Combo, list, optionlist, checklist. Additem will accept index to mange the order of item.
2- File/Folder management create, delete, move ....
3- AddString with more than two string.
4- Filter on alarm/log with specific alarm level not only a range of alarm, for example filter on alarm level 5 and 10.
5- Sendtime, to synchonise time of all station.
1/ User("Network_Broadcast", ...)
User("Network_Merge", ...)
User("Network_Update", ...)
no comment!
Is it Cyber secure?
2/ Select case ...
3/ InStr(str, pattern, [starting position, [...]])
I'll be back.
Edouard
1) To take the mouse position
Ireturn = System ("Mouse_Position","choice_coordonate")
choice_coordonate = X if we want to take the X mouse position or Y to take the Y mouse position
2) Resize the workspace
System("SET_SIZE_WORKSPACE", wide, height, dX, dY)
3) Create and manage version project in Central Project Management
4) Broadcast the time
5) Reused Delay, I know the workaround by cyclic. But I would like a new Delay.
I'm also agree with the two first point of Fabien.
+1 Hotline file for the system("SET_SIZE_WORKSPACE", wide, height, dX, dY)
1. USER("BROADCAST",...),USER("MERGE",...),USER("MERGE",...)
2. Select Case
3. Addstring(str1,str2,str3,str4,...)
4. MSGBOX (like in vba).
5. FILE(COPY/PASTE,...)
1-Addstring(str1,str2,str3,str4,...)
2-USER("BROADCAST",...),USER("MERGE",...)
3-Select Case
4-FILE(COPY/PASTE,...)
5-InStr(str, pattern, [starting position, [...]])
1st one for me
- VARIABLE("ENUM") to get the list of all variables present on the station
and after
- ADDSTRING(...) like PRINT(...)
- Handle = SPLIT(str or handle, separator)
- etc.
Ok guys,
Thank you for all feed backs. For those that didn't reply it's still time.
For your information Addstring(str1, str2[, str3[, ...[, str10]]]) has been implemented.
Also FCOPY(strExistingFileName, strNewFileName[, intAllowOverwrite=0])
and FMOVE(strExistingFileName, strNewFileName[, intAllowOverwrite=0])
It will be available on one V 11.1 update after testing.
Nico
Hi,
do you have some news about the new implementation ?
Hello,
3 new verbs have been integrated in 11.1 Update :
FCOPY, FMOVE and ADDSTRING
- FCOPY
[CHG][DOC] SCADA Basic verb: add a new verb FCOPY to copy an existing file to a new file:
* Syntax: intRet = FCOPY(strExistingFileName, strNewFileName[, intAllowOverwrite=0]);
where: intAllowOverwrite = 0/no (default); intAllowOverwrite = 1/yes.
intRet = 0/failure; intRet = 1/success.
- If a file name is not an absolute path, it's always in the project folder TP.
- When the file "strExistingFileName" not existed, warning.
- When the file "strNewFileName" already existed but intAllowOverwrite = 0/no, warning.
- Note: the folder and its subfolders (if any) for "strNewFileName" will be automatically created.
* Add the context-aware code completion.
- FMOVE
[CHG][DOC] SCADA Basic verb: add a new verb FMOVE to move an existing file to a new file:
* Syntax: intRet = FMOVE(strExistingFileName, strNewFileName[, intAllowOverwrite=0]);
where: intAllowOverwrite = 0/no (default); intAllowOverwrite = 1/yes.
intRet = 0/failure; intRet = 1/success.
- If a file name is not an absolute path, it's always in the project folder TP, e.g. "test.txt", "NewFolder\test.txt".
- When the file "strExistingFileName" not existed, warning.
- When the file "strExistingFileName" is opened, warning to close it first.
- When the file "strNewFileName" already existed but intAllowOverwrite = 0/no, warning.
- Note: the folder and its subfolders (if any) for "strNewFileName" will be automatically created.
the folder and its subfolders (if any) for "strExistingFileName" won't be deleted although it can be empty e.g. TP.
* Add the context-aware code completion.
- ADDSTRING
[CHG][#60679][DOC] SCADA Basic verb ADDSTRING: enable to concatenate up to 10 strings into a string.
* Syntax: strRet = ADDSTRING(str1, str2[, str3....[, str10]]);
Sylvie
- 1
- 2


