Quantcast
Channel: DIAdem topics
Viewing all 3196 articles
Browse latest View live

PicPDFExport not working when script called by LabVIEW - working otherwise?

$
0
0

Morning all,

 

We've got a DIAdem script that we're calling from LabVIEW using the "DIAdem Run Script.vi". The script executes beautifully, except for the very last step - exporting the report to PDF.

 

When the script is run manually inside DIAdem, it works. When the script is called from LabVIEW, it does everything fine up until that point, and then just... doesn't do it. No error messages or anything, just no PDF appears.

 

Call PicPDFExport(datareadpath & data.Root.Name & ".pdf",0)

Any guesses? 

 

We're using LabVIEW 2016 and DIAdem 2015.


Channel Events possibly

$
0
0

Hi,

 

I am trying to calculate the time intervals between when a curve goes above and below a certain threshold value. That is to say, on an XY-plot with X representing time in milliseconds and Y the curve in question, I would like to calculate the time interval X1-X0 where X0 is the time when the Y curve goes above a certain value Yv (30 in my case)  and X1 is the time when it goes below it again. All calculated interval times then have to be stored in a channel called IntervalTimes.

 

I imagine it to be a ChnEvent problem but I am struggling since the update to Diadem 2017 as I still haven't gotten used to the news calculator, its functions and scripts.

 

Help would be most appreciated.

 

Thanks,

Tim

Automatically updating Report name and saving Report each time running the Programm

$
0
0

Hi,

 

https://forums.ni.com/t5/Example-Programs/Automating-Report-Generation-with-LabVIEW-and-DIAdem/ta-p/3518669

 

With this  above link I learnt about Automating Report Generation with Labview and Diadem.

Problem is, it overwrits the file each time I run the program with the same sheet Name provide in the Report template.

I also tried Setting the Load file Option Overwrite to APPEND, but ist not plotting any values on the Report.

Please fing the attached vi and related files. Any help in sloving this Problem is greatly appreciated.

 

Thanks in advance

 

2D Tabelle Zellen verbinden

$
0
0

Hallo Forum,

Gibt es eine möglichkeit in einer 2DTabelle im Report z.B. 2 Zellen zu verbinden, also per Script?

(Wie in excel 2 nebeneiandner liegende Zeilen verbinden zu einer)

mfg

Does Diadem/DataFinder supports encrypted databases?

$
0
0

Hi,

 

We are trying to find out if Datafinder Server supports storing the indexed data into an encrypted database? Is it possible?

 

The database server that we are thinking of using is MSSQL.

 

 

Thanks.

TDMS Chanel Display Format Numeric Time

$
0
0

Hello,

 

is it possible to change the display format attribut from numeric to time per chanel in LV Code?

Best regards

Alex

Low pass filtering process function.

$
0
0

I would like to ask whether the Diadem software have the data filter function.

 

You know that if the filtering is not done correctly it could have a small impact on the data reduction and cause a deviation. for formas software we can use the butterworth filter function to process the data. I searched the Diadem, it also have the filter function,click up the analysis, we can see "digital

filter", click up the"digital filter" button we can see that there are two method of filter.(IIR filter and FIR filter), under IIR filter we can see the butterworth filter type. I'm not sure whether is the same funcation with famos software. I also would like to know how to set the "filter order" and what's mean of "limit frequency" details pls check my attached picture, If somebody knows, please guide me. Thank you in advance.

12321.PNG11112.PNG

LabVIEW DataFinder Toolkit: Query options not the same as in DIAdem?

$
0
0

I've been setting up a DataFinder Server to index a bunch of TDMS and MDF files and have gotten it to play nicely with DIAdem.

 

As a LabVIEW-guy, I've quickly moved on to playing with the LabVIEW DataFinder Toolkit, to see what I can do with it.

 

I've noticed that within DIAdem, it is much faster to get advanced search results using the setting "Search Results as PreDefined Data Columns" rather than the "Search Results as Elements"... especially when expecting a long list of results.

 

However, it seems like you don't have that option in the LabVIEW toolkit?  Why not?  Seems like a simple enough option to add.


64-bit version of MyDatafinder? LabVIEW DataFinder Toolkit?

Flags:Copy Data Points - NOVALUE

$
0
0

In View, I'm setting flags along a curve, for this case lets say 3 flags. I then use the Flags: Copy Data Points feature. That outputs a total of 5 data points, however points 2 and 4 show as NOVALUE. What is going on here?

 

My intention is to use this feature to tag locations on a curve to extract the x axis value (time).

 

One more thing, what is the difference in using the "Set Flags" and "Set Data Point and Flag"?

Error Concatenating TDMS Files

$
0
0

Hi everyone,

 

I have trouble using the provided script ChnConcatenation_Libr.vbs for appending time channels to one another. It has been working without any problems for a while now, but an error is occuring with the attached TDMS-files.

 

I have no idea what to make of it and would be happy, if someone could help me.

 

Best regards,

Jakob

PDF Export Not working

$
0
0

Using Diadem 2014 (still...), I can no longer export to PDF.  Diadem acts like it prints something (there is a delay after selecting the folder), but then nothing shows up in the destination folder I selected. 

 

Any ideas? 

Script to autosave TDMS file to same folder as csv file

$
0
0

Would someone please help me with a script that will autosave the TDMS file to the same folder path that the csv file was opened in? I currently use the script below to select a folder however I would rather have it automatically store the TDMS with the csv and not ask for user input. The folder path to the csv will always vary so I can't set a specific path.

 

Call MsgboxDisp ("Please define a file location for the 'TDMS' file. The file name will be the same as the 'csv' file name.")
If "IDOk" = PathDlgShow ("Select folder to save TDMS output files", "C:\") Then
Call DataFileSave(OutPutPath&Data.Root.Name&".tdms","CSV")
End If

 

Thank you!

Error using CFC 600 filter class

$
0
0

Hello,

 

I'm trying to filter some data using the CFC 600 filter in the Crash Analysis Toolkit. When I try to use the filter, I get the attached error message.

 

I know my sampling frequency is 10 kHz, so why does Diadem say it's only 10 Hz?

 

Am I using the filter wrong?

Report Sheet Copy

$
0
0

Hi guys,

I've got a problem with Diadem 2014. I'm running a windows scheduled task which starts Diadem with a given script. That works fine (for years now). But lately I changed the report generation to be more flexible, ie creating/copying sheets from within the script.

 

The problem now occurs after using

Set shUser = Report.Sheets.Copy("sheet1", "user_sheet", 1)

, the new sheet is created, but it is empty. I've tried some solutions discussed in this topic Report Copy - Objects Missing

but none of them are working when running the script via Microsoft Windows Task Scheduling (Diadem not visible). Running the script myself with visible Diadem window works just fine. Hence, I guess the culprit here is the non-visible Diadem window?

 

I also tried

GraphSheetCopy "sheet1", "user_sheet", Report.Sheets.Count + 1
Set shUser = Report.Sheets("user_sheet")

And also

Report.Sheets("sheet1").Activate

Set shUser = Report.Sheets.Copy("sheet1", "user_sheet", 1)

Does anyone have a solution for that problem? besides upgrading to a newer Diadem Version, as this is not possible due to clients restrictions.

Help is greatly appreciated.

 

Thanks for the help,

Mateusz


Viscous Criterion - THOR / WorldSID - IR-TRACC

$
0
0

The Viscous Criterion function in DIAdem (ChnVCCalc) specifies the input data channel to be unfiltered deformation signal in meters. For THOR / WorldSID that uses IR-TRACC, the unfiltered voltage deflections are converted after processing with the respective equations to CFC filtered deflections in mm. In this case can the input to "ChnVCCalc" be the filtered deflection in mm (of course converted to meters).

 

Hyperlink in Dialog box

$
0
0

Hello there,

 

is it possible to add a hyperlink to a dialog box ? and if so, how. Thanks a lot Roman

DIAdem DAC serial/COM port access

$
0
0

Hello all

 

I am trying to read some data from a sensor that outputs via serial link. I have a generic USB to RS458 device (FTDI) and it appears as COM10. As far as I can see, this works with PuTTY just fine and just like any regular old serial interface.

 

I note Diadem 2017 DAC has a interface monitor. First I will see if my data appears there. But on-wards, there is not a straight forward way to get that data into the DAC system. I have read that you need to create a Script Driver for this. I have gone through generating the template, but I have to say, not being familiar with the scripting language, I haven't the first clue about how I actually get it to work.

 

Are there any examples I can look at? I just need it to read a data stream from serial. The device is popping out messages in this form at a rate of 10Hz:

 

$WI,WVP=007.5,195,0*7F

 

I am only interested in the middle numbers (007.5,195). I am building a DAC system that will sample that stream at whatever rate I choose. 

 

Is there not a way you can build something in LabView and have DIAdem DAC use it?

TDM Server 2018 Beta

$
0
0

Hi,

 

I have installed the TDM Server 2018 Beta version under Evaluation. When I create an Analysis procedure/Data Finder in the server the process is created but am unable to start them or proceed any further as I get the below warning.

 

Some components on the server are not running correctly or are reporting an error. See details...
Details 
  • The number of configured compute node instances exceeds the number of available licenses. Please open the TDM Server Control Panel, go to Servers - Parallelization, and adjust the number of compute node instances to the number of available licenses. You can look up the number of available licenses in the NI License Manager.

 

 

I tried changing the Parallelization but still it does not work. Kindly help me resolve this issue.

 

Thanks,

Priya

Hexadecimal to Decimal conversion without 2's complement

$
0
0

Hello,

 

I'm brand new to DIAdem and attempting to use the calculator to convert a channel from hexadecimal values to multiple individual binary bit channels. 

 

I have a formula that works and formats everything the way I want, but the step going from Hex to Dec seems to be defaulting to 2's complement.  However, I need an unsigned decimal.  The formula I'm using for this step in the conversion is below:

 

ch("[1]/decarr")=CLng("&h" & ch("[1]/hexarr"))

 

So for example, I have a hex string of 88288900

When I apply the above formula I get -2010609408

However, I'm looking for 2284357888

 

Is there a simple way to achieve this?

 

Thank you in advance!

Jeff

Viewing all 3196 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>