From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
12-04-2007 08:09 AM
12-05-2007 01:25 PM - edited 12-05-2007 01:25 PM
Hi suffyzull,
There are several ways you can “merge” two signals into a single signal to display or save. I’ve attached an example program that demonstrates how you can do this. The merging part of the VI is shown below. I used 1-D arrays of double precision for both data lines. In the top method, I merge the two arrays into a single, 2-D array using the Build Array VI and then write it to a spreadsheet file using the Write to Spreadsheet VI. In the second method, I convert the data into the dynamic data type using the Convert to DDT VI, merge them together using the Merge Signals Vi, and finally write them to a TDMS file using the Write to Measurement File Express VI. Indicators are wired to both versions of the merged data.
Please post back if you have any questions. Have a great day!
12-05-2007 06:37 PM
12-05-2007 06:49 PM
12-06-2007 01:44 PM - edited 12-06-2007 01:44 PM
Hi suffyzull,
I’ve attached both the VI I originally posted (now for 7.1) and a modified version of the VI you posted. Basically I made a couple changes (pictured below). Because the Write LabVIEW Measurement File Express VI accepts the dynamic data type I replaced the Bundle that you had your data wired to with a Merge Signals and wired your signals through a Convert to Dynamic Data Type Express VI. I configured the top “Convert to DDT” for an Array of Waveform and the bottom one for Single Scalar. This fixes the broken wires and is also one of the solutions that I provide in my example.
12-07-2007 02:32 AM