07-15-2011 05:48 PM
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?
07-18-2011 08:27 AM
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.
07-18-2011 08:42 AM
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?
07-19-2011 11:37 PM
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.
07-20-2011 06:52 AM
07-20-2011 07:50 AM - edited 07-20-2011 07:57 AM
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
07-20-2011 07:54 AM - edited 07-20-2011 07:58 AM
gauthampo - forgot to say that I do appreciate your response and effort in investigating this issue!