DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Replaying of Data in Diadem

Is it possible to Replay a datafile in Diadem like we can do in LabVIEW Environment?

And while creating a Dataplugin using VB Script, if my datafile contains data of Double data type then how to make declaration for that?

0 Kudos
Message 1 of 8
(4,653 Views)

Hello

Ofcourse it is possible.

You can get Repeat Play option in just besides of play button in VIEW tab of DIAdem.

And I am not well sure about your second query but if you convert your data in .TDM format, you can surely access it in DIAdem.

0 Kudos
Message 2 of 8
(4,639 Views)

To create a DataPlugin using VBScript, please have a look at the DataPlugin programmer's reference guide

There's an example for an ASCII and a binary DataPlugin.

If you can use a StringBlock (for ASCII) or BinaryBlock (for binary) you can define the channels contained in that block using 'Set channel = Block.channel.Add(<name>,<datatype>)'. For double channels use 'eR64' as <datatype>. To assign such a channel to a channel group you can use 'ChannelGroup.Channels.AddDirectAccessChannel(Channel)'

Message 3 of 8
(4,632 Views)

Hi Millie.Barik,

 

Note that you can also create a DataPlugin with LabVIEW, so if you happen to already have a VI which reads that data file with the DBL values in it, this might be the simplest approach.  You can find the LabVIEW DataPlugin API at the www.ni.com/dataplugins web page.

 

Brad Turpin

DIAdem Product Support Engineer
National Instruments

0 Kudos
Message 4 of 8
(4,620 Views)

That Replay button is for the cursor right???

By replaying I meant that, able to view the signal as it was logged i.e. view each data point successively w.r.t the timestamp.

For ex like we plot waveform data in a graph in LabVIEW.

Is that possible in Diadem?

0 Kudos
Message 5 of 8
(4,533 Views)

Hi Millie.Barik,

 

It depends what you mean.  If you mean the very first window of a LV chart or waveform graph where you see points appear at the end of the curve on the right, lengthening the curve on the right until it fills the whole window, then "no" this is not a feature of DIAdem.  If you mean the behavior of the LV chart or waveform graph after the curve has filled the first window, where the window scrolls to keep the latest data point in view, then "yes" we can do this.  The trick there is to use the band cursors in VIEW to select a time range of the correct size and click on the "Scroll in Cursor Range" icon at the top of the graph.  Then you can hit the "Go to start" and "Play" icons to view the data like it appeared on the LV front panel.

 

Brad Turpin

DIAdem Product Support Engineer
National Instruments

0 Kudos
Message 6 of 8
(4,517 Views)

Hi Millie.Barik,

 

please try the attached 'waveform viewer' to be used in DIAdem. Unzip the attached archive and run te wf_display.VBS script. It will add three additional buttons to your VIEW toolbar.

wf_toolbar.jpg

Use the button in the middle to create a new waveform viewer in VIEW, drag&drop one or more waveforms into the upper waveform graph. Use the left and right arrow keys to see the samples of a single shot in the lower waveform graph.

0 Kudos
Message 7 of 8
(4,487 Views)

.... sorry, forgot some files in the archive ....

0 Kudos
Message 8 of 8
(4,477 Views)