DIAdem Idea Exchange

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

My idea is to add the capability of word highlighting in scripts, much like most other programmers editors, this facilitates easy searching throughout a script and is an alternate way of finding a search match other than repeated F3 presses.

 

Word Highlight

When working in DIAdem SCRIPT, it is often necessary to work on more than one file at once. The way this is implemented at the moment is with tabs:

 

script before.png

 

However, it can be quite tedious to switch back and forth between 2 scripts for things like copy/pasting, comparing code or simply editing code on 2 files concurrently.

My suggestion would be for a SCRIPT editor with split screen functionality, roughly like this:

 

script after.png

 

With many users working with widescreens today, this would better make use of screen real-estate.

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

I've been spoiled by using other scripting environments lately, and thought I'd suggest a few features that I feel would make scripting in DIAdem a little more convenient:

  • Check for un-dimmed variables when Option Explicit is turned on
  • Check for unused dimmed variables (very helpful for cleanup)
  • Check for variables that are used, but never initialized to a value

I feel these would be really useful for identifying and fixing bugs (especially for inexperienced script writers) and cleaning up old scripts, while not requiring major changes to the interface (although they could get really annoying if implemented incorrectly, may be difficult to implement in the back end, and may even require manual compilation to detect?).

 

Thanks!

-Josh

Knee, Thigh, Hip (KTH) is a newer injury requirment for the IIHS small overlap test.  I would like to see it added to future versions of the crash analysis tool kit.

 

Thank you,

 

David

We've suggested this in person, but thought I'd finally post it to the site.

Despite it being called the Data Portal, we'd like to have the capability of docking DIAlogs of any purpose into the data portal as new tabs alongside 'Structure' and 'List' views.

 

Non Modal DIAlogs tend to cover some portion of the active window, so tend to get in the way and end up being closed and re-opened by the user despite our resizing and overlapping of the Data Portal.  Allowing docking into the Data Portal would allow for convenient sizing (REPORT/VIEW tabs are already re-sized around the data portal) and movement with the application from one screen to another.

 

The primary example of functionality advancement for us would be our 'Page Browser', which is much like the View/Report 'manage' function, but works for both, allows filtering on both, allows for convenient rearranging of sheets to any other position, and can remain up at all times so users can simply jump to or flip to sheets without re-opening the 'manage' function or slowly tabbing/scanning through all sheets.

 

Obviously, it's up to you to decide the implementation...having some sort of tab manager at the very top or bottom that switches the 'Data Portal' out entirely for a 'Sheet Portal' and other custom DIAlog options & names could also work, or some other implementation entirely, but as the other tab manager already exists (but only ever contains 2 tabs), I feel would likely be less of a massive UI overhaul.

 

-Josh

global Variables do not have the "Auto Complete" Funktion when you write them in script.

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

 

 

 

if i only want to shut down the error Management for 1 line i have to use 2 commands  (On Error Resume Next  &  On Error Goto 0)

 

 

may be you can include a new Command where the Error-Handling is switch off ONLY for the Next line

 

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

 

it is not possible to see which values are in an array.

on normal variables i can follow what happend while debuging the script.

 

it yould be great to show whats going on with my array.

display like an excel, or in first step like (22.5; 21; 99; ...) when you turn you mouse over the variable

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

 

Please include this Funktion into the Script Editor

i would like to have more possibilitys to work with breakpoints like you can do with CVI

 

jump over the step

repeat

go back to breakpoint

 

 

 

 

Notepad++ has much more comfort to edit the scripts because you can also

 

open / close the If / While / ....

 

 

2013-07-01_093134.png

 

 

It was nice to have a conditional breakpoint, so only if a variable reaches a value

the executions stops and i can continue with debugging.

 

Unbenannt.PNG

 

Thanks a lot.

I would like to be able to generate text tables within my report generated form LabVIEW using the Express vi DIAdem report...currently the only way to do this is create a script.  This seems to be an overcomplicated way of doing a relatively benign operation and makes the tool very cumbersome.

 

Whilst you're at it, labeling the y-axis of a graph also seems to be over complicated from within LabVIEW.  Maybe I'm just too used to easy programming with LabVIEW!  But programming isn't my main activity...

When editing a Script. The path for the saving files  defaults to the last opened file, instead of remembering the path for each file being editted.  This causes files to be saved in the directory of the last file opened, which many times results in the wrong saving location. This is especially an issue when have large number of script files in different directories.

 

I would prefer that each script file that was being edited would keep it path separate and stored so that it always saves the files to the location that it was opened from.

 

It should be possible to use the code completion functionality for classes one has written, even when the class is in another VBS file and included by “ScriptInclude”. Now that competion feature works only if the class is defined within the same VBS file as one writes the code which uses this class. That would make the developers live much easier, I am sure I am not the only one who writes code which is distributed over several files Smiley Wink

Para los que nos dedicamos a distribuir scripts a clientes creo que se podria estudiar que se pudieran crear ejecutables de un conjunto de macros. Para el usuario final en caso de que estén encriptadas siempre es más facil ejecutar un .exe. También a nivel de desarollo se tienen más posiblidades para proteger un numero de licencias con soluciones como los dongles que se requiere un .exe o programar a partir de la API.

 

Un saludo

Hi,

  It would be great to be able to use CurveSnippets taken from a chart on one report sheet and use them on another report sheet.  The most obvious use would be when showing chart legend on another sheet.  This cannot be done currently and is essential for making legends on different sheets than their charts.

 

Thanks