Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQ Sampling: Setting dynamic data to single sample

Hello,
When I sample data, the system always spits out a dynamic data type.  I want to sample continuously, but is there any way to make the system spit out a single sample without having to convert from a dynamic data type to a 1D array and then pulling out values individually?
 
Thanks for your time!
Nick
0 Kudos
Message 1 of 2
(2,890 Views)

Hello Nick,

From what you described with dynamic data types, it sounds like you are using our LabVIEW DAQ Assistant. This express VI uses the dynamic data type to facilitate the various types of creatable tasks. Unfortunately this is the only data type which can be read from the assistant.

Fortunately, you can use the “Convert From Dynamic Data” VI to create single samples. This is done by double clicking on the “Convert From Dynamic Data” VI and choosing Single Scalar from the resulting data type options. I have included screenshots of an example program which uses the DAQ Assistant and displays a resulting single sample. Hopefully this will get you on the right track towards your application.

Regards,
Chris Behnke
Sr. RF Engineer
High Frequency Measurements
Download All
0 Kudos
Message 2 of 2
(2,866 Views)