LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to write waveform data to Citadel in LabVIEW

Citadel 5 supports the waveform data type but there does not seem to be anyway to write a waveform to Citadel in LV. 

Is there a solution for this?

0 Kudos
Message 1 of 7
(3,487 Views)

Hi Sir,

 

You can write waveform data to Citadel by opening a trace in LabVIEW using the DSC Module. You can find it at
http://zone.ni.com/reference/en-XX/help/371618F-01/lvdschelp/opentrac_citadel/

 

You can read more on Logging Data with NI Citadel at
http://zone.ni.com/devzone/cda/tut/p/id/6579#_Toc142830794

 

Furthermore, depending upon your application you can probably export the data from LabVIEW in either a tab-limited ASCII format or as a TDMS file which can then be accessed using Citadel 5. If you could describe your application more, we can help you better.

Message 2 of 7
(3,460 Views)

The DSC Open Trace vi only supports the following data types:

Numeric

Logical

String

Bit Array

Variant

 

Are you suggesting that I use the Variant data type for the waveform?

0 Kudos
Message 3 of 7
(3,457 Views)

You can either use the Numeric datatype or the variant datatype to write the waveform data.

 

If you want to write as a numeric datatype, you need to read absolute times stamps and then create pairs to write to the database. You can find an example at : \\labview\examples\lvdsc\Database\Direct Writing

 

If you use the variant datatype, you need to use the To variant function to convert the waveform into a variant in order to write to the database. If you need to read the data back into labview, convert the variant back into the waveform datatype by using the Variant to Data function and use the waveform constant as the type as shown in the screenshot below.

 

varianttowaveform.png

Message 4 of 7
(3,434 Views)
The techniques you describe do not constitute a waveform datatype which is what is mentioned in NI documentation. A native waveform datatype should allow traces to be viewed in MAX or the DSM Hypertrend.
0 Kudos
Message 5 of 7
(3,424 Views)

It think this statement is misleading, since it implies that Citadel actually does have a native waveform datatype,

only LabVIEW does not support it.

 

http://zone.ni.com/devzone/cda/tut/p/id/6579

 

Citadel Data Types

0 Kudos
Message 6 of 7
(3,419 Views)

gauthampo - forgot to say that I do appreciate your response and effort in investigating this issue!

0 Kudos
Message 7 of 7
(3,418 Views)