DIAdem Idea Exchange

Community Browser
cancel
Showing results for 
Search instead for 
Did you mean: 
Post an idea

1) could be great to have a project. simply based on root folder

 

2) in project, could be some small windows like the Data Portal, where we could have a category-based tree with folders and files of current project, where we could double click and open the file to edit it

I’d like to be able to write a script that would tell me which columns a user has selected in a VIEW channel table (for example, the blue columns shown in the attached image). 

 

 

I'd like an option for the tabs on the SUD dialog control, TabPageCtrl, to allow vertical placement, so the tabs would be on the left (or right) side of the tab control.  

Since DIAdem 2018, the number of 5 worker objects has been restricted to 5. This is a difficult limitation for those who are enjoying the use of unlimited worker objects in earlier versions of DIAdem, and do not want to purchase the Analysis Server.  

Most dialog editors I've used have a "timer" function of sorts, and I would like the DIAdem SUD dialog editor to have a "timer" function.  This would allow an event to happen at a specified interval (example 1 second) 

 

The simplest case would be to simply display the current date/time on a user dialog, and this is not possible right now without using worker objects, and I feel silly using a worker object just as a time-keeper! I would use this function often.

 

 

Hi

DataBlDel comes with 4 parameters,

1. ChannelList

2. RowNr

3. ValNo.

4 ValDelOnly (optional).

 

Now I'd find it handy to have (at least) parameter #3 optional and default to 'all values to the end'. Looking at discussion posts in the forum, many people use some

        CL("[1]/[1]") - PfoundEndVariable

syntax.  An alternative could be the use of 'GlobChnLength'. 

Kind regards

Michael

 

Whether '1' would be a 'natural' default for parameter 2, I don't know. But for sure, all subsequent values for parameter 3 might make sense....

It would be helpful to be able to enable different key bindings, such as VIM, in DIAdem Script. 

Dears,

I want to propose a check button in settings which would say something like "Automatic CodeCompletion". If you check that, you will see the hint from CodeCompletion anytime you write code not only when you write and hit ctrl + spacebar.

 

When entering a bult-in DIAdem command you get a tooltip hint about which command input parameter you are at. It would be great to implement code completion especially for the several enumeration variables where you need to get the script term right.

E.g. ChnOffset - When entering the value for ChnOffsetMode you should be offered "free offset", "first value offset", etc. in a pick list.

 

 

Sometimes it is necessary to call a procedure with an optional argument. VB provides an opportunity to do so: https://msdn.microsoft.com/en-us/library/f25e2b6b.aspx. I created a little workaround which is not working in every case, for example not, when the optional parameter is at the last position of the argument list.

 

Call Example1(1,) 'throws an error message
Call Example1(1) 'throws an error message
Call Example2(1,,3) 'works

' Not working
Sub Example1(param1, param2)
    If VarType(param2) = 10 Then param2 = 0
End Sub

' Working
Sub Example2(param1, param2, param3)
    If VarType(param2) = 10 Then param2 = 0
End Sub

My idea is to introduce optional parameters for procedures in the argument list with the possibility to define a default value.

Sub Example1(param1, Optional ByVal param2 = 0)

 

In specification for MME files is defined that "Additional descriptors" are written with "." dot as first character of descriptors.

In Diadem the properties of channel cant begin with ".", so diadem replaces it with "_", but Diadem MME data plugin loads MME files without these properties.

Could you please implement it that it will load these descriptors as well?

 

------

Now when i export data by MME export plugin, its doesnt collect and save Additional descriptors and after calling the function 'DataFileSave("", "MMEExport")' i must manually open each file created, parse it and add Additional descriptors by checking each line of the file. I got problem there when i got files with lot of values, because using functions "TextfileWriteLn" or methods of Scripting.FileSystemObject takes really long time.

If the data plugin export all descriptors, it would solve the problem im facing.

For example channel with 500.000 values takes minutes to "recreate" the file with just few new lines added.

 

Hi,

I'm been developing with Diadem for a year in a large company. We develop applications for our client trying to solve their issues and improving the data analysis and productivity. 

Now, we have 4 applications already released and one more is incoming and every time a new update comes, and especially when a big new version is, we find the same problem... Why Diadem doesn't have any standalone-like option?

 

In order to be able to run our app, our clients have to buy a Diadem license, at least the smallest one, and of course, our license. If we could make a runnable standalone application, installing previously some kind of runtime for Diadem, we will be able to make more attractive our application for our clients...

 

In addition, LABview have this option, you can make a Vi project and export it as standalone, library or exe application, making it independent to any license. (You have to install the runtime before to run the app). 

 

I will appreciate some answer,

I got a trigger script, which includes files with class definitions.

when i debug this code, diadem not jumps into the included file, but stays in the main file, and by triggering F8 (step into) it doesnt step into the included file. Its king of useless function when its not working like it should be. I am solving this by killing the code by "autoquit", so you can imagine its not pleasent to debug in Diadem, but more like pain in the... 🙂

Changing the order of opened scripts (tabs) manually would be awesome feature. Now its a bit frustrating when u got scripts in different folders and you would like to change the order when you work on more than one script.

There is obviously a problem converting time Strings like 1.5.2015 correctly to time data and back. Everything works well as long as Day and Month have really both two digits. As long as this is not fullfilled, the conversion is wrong when the TTR is then used like this:

 

D2AXISXBEGIN=TTR(ZeitMin_,"#DD.MM.YYYY")

 

Then 2000 years missing and the date arriving the report is 1.5.0015 what is in fact slightly different. I off course programmed a workaround filling up the "0" in front of a one digit day and month, but that shout be done by the TTR correctly.

Hello everybody,
My suggestion concern the SCRIPT tab. I think that it is necessary to implement a real automatic indentation function as you can find in most of Integrated Development Environment.
Indeed, when you write a VBS code, you have to structure your code manually while DIAdem could structure it automatically.
For instance, after an "if" and until "end if" DIAdem could insert a tabulation.


 

Thomas77, 

It would be fantastic if you would develop your own, or put a wrapper around one of the existing public domain, statistics packages and greatly expand on the statistics currently offered in the product.  Evaluating the statistical significance of data seems a natural and powerful feature that should be included as part of data analysis.

Hello

When developing scripts, I frequently add channel groups for analysis results, using

 

call data.root.channelgroups.add("analysis")

 

However, when re-running the scripts, successive groups "analysis1", "analysis2" etc. are created. This is a handy feature that I should not want to miss at some times, BUT

at other times I want to skip the creation of new channel groups. As a work-around I litter my code with 'exist'-statements such as

 

If not call data.root.channelgroups.exists("analysis") then

       call data.root.channelgroups.add("analysis")

end if

Set oResGrp = data.root.channelgroups("analysis")

 

Now, my suggestion is to add a command such as "AddOrReplace" or "Use", which would use the existing group if it exists and creates a new group if not. Pretty much the same behaviour as with the calculator, where

CH("NewChannel")= CH("oldChannel") will create a new channel or overwrite an existing one.

 

So

call data.root.channelgroups.add("analysis")

would work as we know it and

call data.root.channelgroups.Use("analysis")

would create a new object or use the existing one.

Alternatively one could supply an optional paramter to the .Add-method like

call data.root.channelgroups.add("analysis",0)

 as default using the well-known behaviour whereas

call data.root.channelgroups.add("analysis",1)

would change to create or replace.

 

Obviously the same would come in handy for channels or other objects that use an .add-method.

 

Thank you

 

Michael

This idea is another idea borrowed from programmers editors, the idea being to show a search history window that will show all matches for a specific term. If the particluar line is double-clicked then Diadem will jump to that specific file and line showing the search term. Search History

 

This idea is borrowed from other programmers editors where you can select a sub-routine name or function name and then right click on this name to jump to where it is defined. The path to search for could be based on the currently open scripts within Diadem Script editor or it could be extended to all user commands currently loaded.

Goto Defined