Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
This Document is not yet Rated  Rate this Document

Reading Array Data from a Citadel Database

Primary Software: LabVIEW Modules>>DSC Module
Primary Software Version: 8.6
Primary Software Fixed Version: N/A
Secondary Software: N/A

Problem:
I have been datalogging a 1D Array shared variable to a Citadel database. I now want to read it back in LabVIEW using the Read Trace VI; however, the VI only returns a 1D Array of values. How can I have it return all of my array information?


Solution:
The Read Trace is a polymorphic VI; however, there is no selection for an array. As a result, if you want to read array information you must select the Variant polymorphic mode of the VI. Then you must use the Variant to Data function to convert it into a meaningful array of 1D array entries as shown the picture below.



Related Links:
Developer Zone Tutorial: Logging Data with National Instruments Citadel

Attachments:





Report Date: 04/02/2009
Last Updated: 04/03/2009
Document ID: 4W1DSDKG

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit