From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

DIAdem Idea Exchange

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

I would like active hyperlinks to be allowed in REPORT layouts.  For example: http://www.ni.com/diadem/.  Clicking on this link (in the REPORT layout) would result in the user's default internet browser to open to the link.

In general, DIAdem does not handle single-value data well.  I think the argument would be “if a data channel only has one value this should be meta-data” and I agree, but DIAdem doesn’t 

have great options for viewing/plotting metadata. 

 

Suggested improvements:

  • allow dragging properties into a table
  • allow plotting property over multiple channels (without having to create channel containing property data)

Add "Wrap and truncate" text wrap functionality to REPORT axis labels (similar implementation as currently available in legends and tables).  

 

When channel names are very long, it would be helpful to have a  "wrap and truncate" feature like other areas in DIadem.

Rather than asking for a change to the "Repeat Marker" to plot all the points (we'd prefer "Repeat Marker" in DIAdem VIEW to be "Every N Points" where N = 1 rather than "Up to N Points" where N = 100), I think it would be great if we could have a configurable DIAdem default set of VIEW items that could be saved via usercommand, script, or a file configuration so we could conveniently spread it to our users.

This could include colors, points and/or lines, "Repeat Markers" configuration, line width/size/fill.

 

The "Repeat Markers" option is the most important to us because we have had users in the past who didn't realize that they were only seeing 100 points of their data, which can be a very bad thing (for example if you've turned off curve color and are looking for outliers in 150 points of data).  On the other hand, I can understand not wanting to plot 2 billion points on a graph, hence the ability for an administrative body (or individual users) to configure the graph defaults.

 

-Josh

It would be great to be able to make a link between different pages in a DIAdem report, and have those links carry over into a PDF version of the report. For example, if I had a very large report, it might be useful to be able to create a Table of Contents with links to the different sections of the report.


Currently, the PDF creation process will create bookmarks for the pages, but a link within the document might be easier to use when examining the report.

Errors occuring in Diadem user commands result in all running scripts aborting without any clear sign of the reason. The only means to find out is the log file in Diadem Script.

Support says this in a feature, as user commands are supposed to handle events and there should be no (frequent) error messages.

On the other side, user commands are the ideal place to have a user functions library as it is accessible from everywhere including dialogs. With ScriptInclude command such a library has to be included at every script start and possibly several times as dialogs have a separate script environment.

 

Therefore I would welcome an option to turn on error messages / beep when there is an error in user commands.

The current behaviour of silent abortion of any script is quite confusing, especially for people that are only applying scripts for evaluation.

In DIAdem 2011 we now have the ability to conveniently Copy REPORT sheets and Append VIEW sheets, now it'd be great if we could Copy VIEW sheets (with script accessibility, of course).

 

I know this has been mentioned before, but doesn't have an "Idea Post" so thought I'd add it so it doesn't get lost.

 

-Josh

When I drag and drop a channel property to REPORT it always puts it into a text box.  If I have an existing table in REPORT, it would be nice if I could drag the property there, and it would automatically populate an "expression".  Right now, I have to go into the text object, copy the code and paste into a table expression.

I was using an “assignment” channel as the “ChnEventTrueChn” for “ChnEventCreateFilteredTrueChn” and was really hoping the result channel would also be an assignment channel, but no, it’s not.  

 

My original assignment channel is matched up nicely with some text values, so it would be really helpful to have those values “carry” if I execute a function or calculation on the numeric channel.

 

FYI, Brad Turpin provided a workaround until this is implemented that works just fine for me:

Clone your assignment channel and use the clone for the ResultChannel channel in the “ChnEventCreateFilteredTrueChn”  function.

 

Set OldGroup = Data.Root.ChannelGroups(1)

Set NewGroup = Data.Root.ChannelGroups(2)

Set OldAssignChannel = OldGroup.Channels(1)

Set NewAssignChannel = NewGroup.Channels.AddChannel(OldAssignChannel)

Call ChnEventCreateFilteredTrueChn(NewAssignChannel, ChnEventList, OldAssignChannel, ChnEventFalseValue)

 

 

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

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)

 

 

 

I've noticed that the easiest way to relate a channel calculation back to the original channel is to append to the channel name:

iH_EngSpeed_rpm

iH_EngSpeed_rpm_RegX

iH_EngSpeed_rpm_RegY

iH_EngSpeed_rpm_1

iH_EngSpeed_rpm_2

iH_EngSpeed_rpm_Filtered

 

Filtering for *engspeed, or *engspeed_rpm will return all of the above channels, but in my experience I rarely want to see all the additional channels...With enough channels, it can effectively obscure the channel you're looking for!

 

The simplest way I can think of to obscure these with the current functionality would be to have a stop character ("\"?) to prevent the filter from grabbing anything beyond that point:

*EngSpeed_rpm\ would return anything ending in *EngSpeed_rpm

 

Another way would be to get rid of the assumed * at the end of the filter, forcing people to put one on themselves when necessary (but that would be changing the current functionality and would likely confuse users at first):

*Engspeed_rpm would return anything ending in *EngSpeed_rpm

*EngSpeed_rpm* would return everything with EngSpeed_rpm inside it

 

This would also be nice for looking for channels that end in something, like anything ending in *nm\ rather than anything with nm in the name...

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.

 

 

When I right-click on a REPORT sheet, I have the option to "manage..." sheets.  There is a similar but less functional dialog available in VIEW.  I would like all of the functionality of REPORT "manage..." sheets in VIEW.

It would be very useful to be able to copy data directly from a View 2D axis chart/graph to the clip board.

This action is similar to using the channel table to copy a selection of data and being able to past that data to the next empty column of the table or pasting it directly into the portal to create a new channel.

 

Currently I can zoom into a small region of the data in the View graph.  Based on the  position of X-cursor1 and X-cursor2 I can find the data in the table and copy it to the clip board.  Then create new channels by pasting into empty columns or pasting into the portal.

But this is very time consuming and cumbersome.  

 

Some time ago I created a script that would copy the data to new channels automatically, but if I can copy the data to the clip board I can paste it into other programs like, please forgive me, Excel for customers who don't have Diadem.

 

Excel does have the TDM importer add-on, but then it is really hard to search for data.

 

 

 

I would like to request Ctrl+F "Find" capability for the List View in the Data Portal.

 

Unlike the Structure View's channel/group filter, this would be capable of searching any of the currently visible properties (Name, Description, Unit, custom items, etc.).

 

Should contain all standard "Find" search capabilities:

  • Search highlighted column(s) or all columns ("Find in Selection" checkbox)
  • Found items would select the found cell inside the row (this would allow multiple entries to be found for a single channel if multiple properties contain the desired text).  "Select All" would select entire channels.
  • Individual "Found" items would become visible (if outside of the existing display window), this wouldn't be possible for multiple "Found" items.
  • Previous/Next item search functionality ("Search Up" checkbox)
  • Left-Right then Top-Bottom search order

While it is possible through a custom script to do such a search (limited to selecting entire channels), it is much less desirable to do so than to have the functionality built into DIAdem (especially considering the properties are already present in the visible table so wouldn't need to be retrieved separately).

 

-Josh Rewerts

Engineering Technician
John Deere Power Systems

I would like to be able to copy a plot to the clipboard, either from View or Report.  At the moment I have to use a screen-capture tool like Snippy.

I am introducing DIAdem to our company at the moment and all my colleagues are surprised that DIAdem cannot do this.

When dragging and dropping a channel into a View or Report table from the Data Portal, no matter where you release the channel, it's always appended to the end.  This can be frustrating if you have a large number of channels in the table, forcing you to rearrange the table after each channel is added.

 

I would like to propose the ability to drop channels in-between columns of the table, OR append channels on the end.

I would think that the area you drag the channel into would decide where it inserts:

  Between 2 channel headers (anywhere in the "Selected Channels" section or above) = Insert

  Anywhere on the "Channel Contents" section, row numbers, or blank area without channels = Append to end

 

Thanks!

-Josh

Hi,

 

Still on the toppic "Making Diadem more user friendly", Diadem is really limitated when it goes on X offsets. Somebody who wants in a report to superimpose two curves who do not begin at the same X value have to calcute the offset and set up 2 time chanells to get the whished result. Being able to move the curves yith the öouse or have a dedicated function in report could be helpful.

 

The easiest (to use and, I suppose, to develop) would be something alike to the "offset korrektur"/"offest correction" but applied for 2 curves. One can either chose a minimal, a maximal or both on the 2 curves and make those 2 to 4 points superimpose. With the 4 points choice, one can imagine that the curves will auto-rescale.

In some cases, the visual interface becomes very confusing and mixed up. Is it possible to develop a function to form layers like in the dialog editor? 

It would simplify the work in complex dac plans very much.