DIAdem Idea Exchange

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

Please include commands to handle INI Files (like CVI)

 

at the moment we have to handle and search for goups completle manual

 

it would be much more easier to get 1 command to geht the Value from "test"

 

[exam]

test = 3

 

Diadem currently has a copy function for curves within the user interface, as shown below: 

 

 

true.png

 

However, there is no copy function within the scripting api. This means to duplicate a curve programmatically multiple functions. one for each of the properties in the curve, need to be called as shown below: 

 

Dim oMyReportObj, oMyNew2DCurve,

Set oMyReportObj = Report.ActiveSheet.Objects.Item(1)

Set oMyNew2DCurve = oMyReportObj.Curves2D.Add(e2DShapeLine, oMyReportObj.Curves2D.Item(oMyReportObj.Curves2D.Count).Name &"_copy")
oMyNew2DCurve.Shape.XChannel.Reference = oMyReportObj.Curves2D.Item(oMyReportObj.Curves2D.Count-1).Shape.XChannel.Reference
oMyNew2DCurve.Shape.YChannel.Reference = oMyReportObj.Curves2D.Item(oMyReportObj.Curves2D.Count-1).Shape.YChannel.Reference
oMyNew2DCurve.Shape.Settings.Line.Width = eLineWidth0100

...

 

It would be far easier if there were a call to copy a curve directly: 

 

Dim oMyReportObj, oMyNew2DCurve,

Set oMyReportObj = Report.ActiveSheet.Objects.Item(1)

Set oMyNew2DCurve = oMyReportObj.Curves2D.Copy(1)

 

 

 

Simplify how to create a DataPlugin. I should be able to define a binary layout like a telemetry stream and directly assign channels.

 

For example, A new GUI would be created. I define the telemetry stream which has three floating point numbers then an integer, repeat. Assign channel names Volts, Amps, Power Out, and Setting. Perhaps set the built-in properties. Press a button the plug in is automatically created.

I would like a feature where you can add extra paths in DIAdem's Python implementation for user-specific Python library directories.

 

In Visual Studio Code you can edit the settings.json to add paths to:

  • python.analysis.extraPaths (for importing)
  • python.autoComplete.extraPaths (for autocompletion)

JoshRew_0-1642107684799.png

 

So stuff imported from "C:\Repositories\Python\MyLibraryOther\__init__.py" is directly visible on import alongside stuff in SitePackages:

JoshRew_1-1642107684803.png

 

I've been able to add further locations to the active DIAdem Python Path via to use programmatically:

import site
site.addsitedir('C:/Repositories/Python/')

 

With that, I can "use" the script contents from both "Other" and "Site-Packages" items:

JoshRew_2-1642107685010.png

 

But currently I can only "see" items located within the Site-Packages folder:

JoshRew_4-1642107684831.png

 

-Josh Rewerts

Using Calculate for basic mathematical functions is like taking a sledgehammer to crack a nut. Cause Calculate takes ages compared to e.g. ChnAdd, ChnMul, ChnDiv etc. But on the other hand it lets you script formulas in an easy-to-read format.

The idea is to have a pre-processor analyzer for scripts that identifies Calculate commands and checks if these commands could be translated into a series of these basic mathematical functions. If yes, then the script engine should be able to do so in the background in order to speed up the calculation.

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.  

it is not possible to search the Diadem Help with

 

 

File*Open

or    *Chn*

or    Fi*Dlg

 

 

 

you always have to know the right word you search.

 

 

the possibility to search with * makes it much more easier to findes command when you only have an idea how they could be named

 

 

 

when i want to compare 2 Script Files i always have to use Notepad++

 

Please include this Funktion into the Script Editor

Create SQL interface for the datafinder.

Some Python plotting modules have an HTML output for Python graphs (Bokeh and Plotly, for example), and Plotly specifically has some really cool interactive HTML plots.  It would be great to have a simple HTML Display Type in VIEW to be able to view these plot outputs!

I'd like to have the "color palette" object in a DIAdem SUD dialog?

 

It's a great way to choose colors!

It would be a nice featre to do much more comfortable programming. Nearly each Editor suppurt the described feature.

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.

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,

 

1)

work would be much easier for me if direct debugging of Dialogs would be possible. It should be like debugging of scripts.

You set a breakpoint, let the script run and when it is paused you can look for the values of variables and continue in single steps.

Debugging with the Microsoft Script debugger is not really a comfortable solution.

 

2) The data type "variant" is great. But sometimes a type definition would help much (I'm used to define the type of variables, even from Visual Basic).

I would have the need for a "type" definition to combine several values to "one variable". With this construction a function could give some values in one result (e.g. a vector) and it would save some calculation time or global variables.

Example:

 

type rgbcolor

   dim r

   dim g

   dim b

end type

 

dim color as long

dim a as rgbcolor

 

a = conv_rgb(color)

 

msgbox a.r & "  " & a.g & "   " & a.b

 

function conv_rgb(col_long as long) as rgbcolor

    ...

end function

In tabbed environments (web browsers, dev environments, etc.) reordering my tabs helps me keep things organized and improves my workflow.  I'd like to have the ability to reorder the tabs in the script editor.

In the DIAdem interface, there are menubar buttons available that allow the user to "Save ___ As...", whether it's a script, SUD, layout, etc.  In the script editor, there is also a "Save All" button that saves all of the opened scripts.  However, 9 times out of 10 I just want to save the current layout/script/whatever.  It would be great to have a standard "Save" button either in addition to or in place of the "Save As..." button in the menubar.

 

(Yes, I know I can use the keyboard shortcut "Ctrl+S" or click "File --> Save" but these options are not as readily apparent as the "Save As..." or "Save All" icons, so I find myself clicking one of those and then having to click several more times just to get out of it...when all I wanted was a one-click save.)

 

An added benefit would be (like in the Script editor), if the file has not changed then the "Save" icon could be grayed out.  That way the user would know that the current state of the current script/layout/etc was saved to disk.

It should be possible to save .SUD dialogs for previous version so you could open Diadem 2010 Dialogs in Diadem 11.1

I often create custom reports that have a box drawn "FreeFrame" with a text box "FreeText" inside. In some cases, I put too many characters in the text box and it breaks the bounds of the box. It is difficult to predict the size of the text box unless you use a font like courier. I would like the property of size added to the report text box.

 

  • The use case is update the text box with the text.
  •  Check the rendered text box size.
  • Adjust font size if the box exceeds the size of the surrounding box.