Subscribe: DIAdem
Added By: Feedage Forager Feedage Grade B rated
Language: German
channels  data set  data  diadem  error  file  filter  include  ofso  problem  properties  script  server  set  user  waveform 
Rate this Feed
Rate this feedRate this feedRate this feedRate this feedRate this feed
Rate this feed 1 starRate this feed 2 starRate this feed 3 starRate this feed 4 starRate this feed 5 star

Comments (0)

Feed Details and Statistics Feed Statistics
Preview: DIAdem

DIAdem topics

DIAdem topics

Published: Fri, 23 Mar 2018 19:27:56 GMT2018-03-23T19:27:56Z


VLM 3.1 Restrict Number of Seats a User Can Have

Thu, 22 Mar 2018 16:43:15 GMT2018-03-22T16:43:15Z

Does anyone know how to restrict the number of DIAdem seats a user can simulataneously access through VLM3.1?  We have a couple of users who forget that they are already running DIAdem on their computer, so they open it a second (and sometimes a third) time.  This pulls an additional license for each instance that is running.  Instead of opening additional seats, I would like to have VLM3.1 throw an error message "Sorry, you already have the maximum number of licenses checked out to a single user."

VLM 3.1 Not Applying Changes

Thu, 22 Mar 2018 15:37:50 GMT2018-03-22T15:37:50Z

Has anyone else experienced VLM 3.1 hanging up after accepting permissions from a new user and clicking "Apply Changes"?(image)

Contour plot (X,Y,Z) when Z is a Matrix in Diadem

Wed, 21 Mar 2018 19:05:39 GMT2018-03-21T19:05:39Z

I am trying to write a Script to Plot a contour graph x,y,z when every component is a column of a Table except Z, is a matrix ( several Columns)

anyone help me with the script. I tried recording it but it does Not give me enough information. And there is no infos about contour matrix in the Manuel.

Thanks in Advance

Possible to generate from a Touchtone s2p file a Smith Chart Diagram in Diadem 17 ?

Wed, 21 Mar 2018 09:41:06 GMT2018-03-21T09:41:06Z

Hi Community,


we have here the Diadem 17 Evaluation Software in our Company.

We are thinking to use Diadem 17 for our lab documentation from our RF work in the future.

Are anybody using Diadem for RF datas too ?

For the ampifiers we get example ASCII s2p file (Touchtone), is this possible to Generate Smith Charts out of the data ?

I use the Touchtone Plug In filters from the NI page.

But I find no way to display the S11 or S22 data of the S2p file (with Log and Phase information) in the Smith chart form, is this possible to do this ?







Counting specific Values

Wed, 21 Mar 2018 06:34:43 GMT2018-03-21T06:34:43Z

Hi guys,


I was hoping if I could get some help on the following subject.

I want to count the occurrence of a specific value.

For example, If I have a data set of 3, 4, 1, 2, 3, 5, 1, 2, 3, I want to make another data set looking something like this:


1: 2 (there were two 1's in the data set)

2: 2 (there were two 2's in the data set)

3: 3 (there were three 3's in the data set)

4: 1 (there were one 4's in the data set)

5: 1 (there were one 5's in the data set)


I know there is an event search function, but I don't want to know where it happened, I want to know how many times it occurred...

Is there a build in function for this, or is this a script job?


Any advice is welcomed, and thanks will be in kudos of course! (image)

Plugin Script for DAT File with Multiple Channel Rows

Tue, 20 Mar 2018 04:04:47 GMT2018-03-20T04:04:47Z

So, I'll attempt to explain this the best that I can.  I have a *.dat file that we have written a data plugin to handle importing our particular data file type and identify header properties, channel descriptions, channel units, channel names, and then associated data.  However, certain files that I would like to read in will have a block of data with a set of channel names/units and then if our data user added a channel later we get another block of data with a new set of channel names/units.  I've attached a sample of the data which I've removed most of the columns and actual data but still provided the format that it's in.  I've changed the data file format from *.dat to *.txt to upload.


What I want to do is have DIAdem create a single channel name/unit/description row that concatenates all of the channels from multiple rows and delete the rows with extra channel names in them prior to loading in the data portal.


I currently have an Excel Macro that will match the channel names and create this format for me, but I would really like to get away from using excel as an interface for my team. If DIAdem has to call Excel in the background to export/import data, I suppose that would be okay but would prefer not if at all possible.


Any thoughts on how to do this effectively?

Thanks in advance!


Filtering out unwanted peaks in a graph using DIAdem

Fri, 16 Mar 2018 17:54:10 GMT2018-03-16T17:54:10Z

How can I remove/filter out the unwanted peaks shown below.  These are from using a tachometer and the unit under test moves or the tachometer moves.  


Diadem 2017 not loading waveform channel properties into the data portal.

Fri, 16 Mar 2018 14:42:58 GMT2018-03-16T14:42:58Z



I've recently upgraded from diadem 2015 to 2017. In the Diadem Navigation window, when loading waveform channels from TDMS files, the channels are converted to numeric channels in the data portal. All the waveform properties are missing.


An example is shown below. On the left (external data), the channel includes waveform properties under the "extended properties" grouping. On the right, the data portal contains the same channel (after right clicking and slecting "Load Channel"). However, the data portal is missing the waveform properties and displays the channel as a numeric type (icon has "123" instead of the sinewave). The data finder appears to recognise the original TDMS file's channel is a valid waveform channel.

I've notices the "Group Properties" is a new feature in Diadem 2017:

Is there a setting I'm missing somewhere that restore the abiltiy to load waveform channels as waveforms? I've tried the "Property Inheritence" setting, but this doesn't fix the problem.


The work around is that I have to manually copy out the waveform properties from the external data window, then use it to manually generate a time channel.


For reference, the data was created in LabVIEW.






TDX size increasing due to CFC Filter?

Wed, 14 Mar 2018 17:47:59 GMT2018-03-14T17:47:59Z

I have a script that runs through different processes on a dataset. Part of it is a user selected CFC filter.


The data is collected at 400kHz, there are 143 channels. When I select no filter the data saves to approximately 278KB/54MB for the TDM/TDX. When I do select a filter for the data the data saves to 282KB/188MB. While 188MB isn't out of control, it is 3.5 times larger than the unfiltered set. I noticed the filtered dataset carried a few more decimal places, so I truncated, but that didn't seem to make the filesize any smaller.


Any input on this? The only difference between the two datasets is these lines of code:


If FilterClass = 0 Then
   Call Data.Root.ChannelGroups(GroupNo).Channels(iLoopC).Properties.Add("Filter","Unfiltered",23)			
        Call ChnCFCFiltCalc("["&GroupNo&"]/[1]","["&GroupNo&"]/["&iLoopC&"]","["&GroupNo&"]/["&iLoopC&"]","CFC_Free",0,"EndPoints",FilterClass) '-- Filter
	Call Data.Root.ChannelGroups(GroupNo).Channels(iLoopC).Properties.Add("Filter","CFC " & FilterClass,23)
      End If

DIAdem Dialog Editor freeze

Wed, 14 Mar 2018 13:25:32 GMT2018-03-14T13:25:32Z

Hi there,

currently we are facing a strange phenomenom with the DIAdem Dialog Editor.


The problem is that the Dialog Editor Window freezes for a few seconds when you scroll around in your code. It happens either using the mouse wheel or the keyboard. The problem is not occuring only on my machine. My colleague has the same problem. It is surely no hardware problem. DIAdem Script does not show this behaviour. It happens only with the Dialog Editor. It might be helpfull to you guys to know that we updated our DIAdem Versions from 2012 to 2017. The updates happened quite clean though. We uninstalled DIAdem 2012 clean before we reinstalled Version 2017.


Here are some details on my setup:

OS: Windows 10 64-Bit

CPU: i7-6820HQ @ 2.7GHz

RAM: 8.00 GB

DIAdem: 17.0.0f6657 (64-Bit)

Dialog Editor: 17.0.0f6657 (64-Bit)


Maybe you guys have an idea what could cause this weird behaviour. It is kinda annoying when you want to write code but you are forced to wait every 1 to 2 minutes for a couple of seconds.



Thanks and kind regards

Daniel (image)


DataFinder Server busy or cannot meet your request

Wed, 14 Mar 2018 13:21:54 GMT2018-03-14T13:21:54Z

We have been experiencing this problem since installing the DataFinder Server Edition 2017 for the first time.  I believe it is related to a licensing issue probably either in the way we have configured things or the license we are using.  The DataFinder Server is running on a remote WIndows Server 2012 machine along with the 3.1 NIVLM.  We have setup 2 explicit computer based license for the computer attempting to access the DataFinder Server remotely.  


The client 4.0 license manager does have a green dot showing on the instance running on the remote client machine trying to access the DataFInder Server remotely.  However,  the number in use remains 0 of 9.  We never see any license get used on the Server machine either or in the TDM Server Manager quickinfo.  


Any help or guidance would be appreciated at this point.  We setup the client connection using the urf as directed by the documentation.  

Working with AoFiles in ASAM ODS databases

Mon, 12 Mar 2018 19:46:41 GMT2018-03-12T19:46:41Z

Hello, is there any documentation on working with external references (AoFiles) within the ASAM ODS?  Specifically, I'm wondering how to use Diadem to download external references both in the Navigator interface, and in the scripting interface. 



Data bind from a user array

Mon, 12 Mar 2018 16:05:33 GMT2018-03-12T16:05:33Z

Is there a way to bind an user array (instead of SQL_BindChannel) to the data channels?

Report - y axis names with 'n systems' plots

Thu, 08 Mar 2018 16:39:42 GMT2018-03-08T16:39:42Z


Using NSystemsMode set at e2DAxisNSystems I can create a plot in Report like below.  However, I am not able to change the y axis titles in a good way.  It appears that all plots take the same name (example: 'Plot name' in the picture) .  I would like that each plot has the y channel name of the curve as the axis title.  How can do this using script? I have not found a way to access each axis separately...


Any help is appreciated.




Multiple Plots Cursor

Thu, 08 Mar 2018 00:04:00 GMT2018-03-08T00:04:00Z


I am trying to use Diadem for the first time. I am used to LabVIEW XY Graph and the possibility to view multiple plots at once and scan Y scale values with multiple plots cursors. How to do something like this in Diadem? How to display Y values of all plots for one particular X value (see Cursor 4 from the attachment)?

Problem with Pulse Detection DIAdem 2017

Wed, 28 Feb 2018 17:35:07 GMT2018-02-28T17:35:07Z

We have just upgraded to DIAdem 2017. I was using 2014 and created a function using the "Pulse Detection" module and now the same script crashes out using 2017? 


I use this function to find my rising and falling points in a ramp. Any Ideas?


DIAdem 2017 / DIAdem 2012 Include class Error

Wed, 28 Feb 2018 16:18:25 GMT2018-02-28T16:18:25Z

Dear NI AE,


currently I am facing a problem when I am trying to include a class file in DIAdem 2017. The procedure am using to include the class-file is the following:


Sub Include(sInstFile)
    Dim f, s, oFSO
    Set oFSO = CreateObject("Scripting.FileSystemObject")
    On Error Resume Next
    If oFSO.FileExists(sInstFile) Then
        Set f = oFSO.OpenTextFile(sInstFile)
        s = f.ReadAll
        ExecuteGlobal s
    End If
End Sub

When I Include the class file that had ben saved in DIAdem 2012 the inclusion works just fine. Using the exact same file saved in DIAdem 2017 causes an Error.


I have attached an perfect example for you to reproduce the Error (Variable is undefined: 'Condition'). Defining the Variable (Dim Condition) does not help. The Sub Include(...) simply has problems with the class-file saved in DIAdem 2017.


Looking at the saved file one can easily see the difference. The filesize of the saved file is smaller when I save it in DIAdem 2012 (DIAdem 2012 = 2KB; DIAdem 2017 = 4KB). I guess the additonal data causes the problem.


Can you find out where the difference in the filesize is coming from? And what additional data does DIAdem 2017 store in the files?!




Thank you and kind regards


Class Import Error when importing class created/saved in DIAdem 2017

Wed, 28 Feb 2018 15:53:40 GMT2018-02-28T15:53:40Z

Dear NI-AE,


currently I am facing a problem in DIAdem 2017 when I am using a particular way to import a class. I try to import a class with the following code:


Sub Include(sInstFile)
    Dim f, s, oFSO
    Set oFSO = CreateObject("Scripting.FileSystemObject")
    On Error Resume Next
    If oFSO.FileExists(sInstFile) Then
        Set f = oFSO.OpenTextFile(sInstFile)
        s = f.ReadAll
        ExecuteGlobal s
    End If
End Sub


In Diadem 2012 this method worked very well. The fun fact is that this method still works if I import a file (class.vbs) that had been saved in DIAdem 2012. As soon as I copy the text of this file (class_old.vbs) to a new file (class_new.vbs) and save it in the exact same way in DIAdem 2017 the filesize is bigger than in the 2012 version. I guess this additional information makes it impossible to use the above mentioned method to include classes into an existing script.


I have attached an example so you can see it yourself.


It would be very nice to know what additional information DIAdem 2017 is saving in the file and of course why the old method to include the class does not work anymore.




Thank you and kind regards,

Dani (image)



Automating Diadem Scripts from LabVIEW

Wed, 28 Feb 2018 15:07:48 GMT2018-02-28T15:07:48Z

Hi all,


I have to specify a LabVIEW application with analyses.


The current application generate tdms files.

Long time after the tests ends, qualification engineers in my enterprise perform Diadem scripts on the tdms files.


So, my idea was to build Diadem scripts once, then automate Diadem from the LV application (Diadem as a client), execute the scripts into Diadem "on the fly", get the results from Diadem and display stuffs like alarms, etc...


Then, later the qualification enginners could use the exact same scripts than the application on the tdms files, without the need to have the LabVIEW application on their computer.


Since the "LabVIEW Diadem Connectivity VIs" are not supported, NI says to use the Diadem ActiveX instead.


However, I find very little informations about this.


My question is : is my idea a wrong idea, and how would you perform the tasks described above ?


Best regards,

Blank Errors in Logfile

Tue, 27 Feb 2018 21:34:16 GMT2018-02-27T21:34:16Z



I've got an interesting issue.  I'm working in a SUD where most of the scripting works correctly.  A button click programatically executes an Excel Export and then fills a table within the dialog box.  A few seconds after the export and table fill is complete (both of which work correctly), my computer plays an audible ding at me, as if there is an error.  I go over to the logfile and see the following:





There are upwards of two hundred empty errors, all occurring at the same exact time.  It doesn't affect the execution of the script at all and I haven't been able to find a cause for this.


Does anybody have thoughts about this?