LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQmx Waveform StripChart outside of Vi

I can't show a running waveform from data that I am collecting unless I am directly wired to the output from the DAQmx read vi. I have a global that is wired to the data, but the graph of the data coming from the global only shows one vector length at a time and doesn't connect the data with the previous vector. And I do have a loop to update the information to the chart.

 

Thanks.

0 Kudos
Message 1 of 2
(2,265 Views)

Solution Found. I had to connect a refnum from a waveform chart on the main vi and wire it to the subvi. Inside of the subvi I used a property node for the waveform chart and used "value" so that my chart on the main vi was receiving the values from the subvi. I still don't know why the waveform charts reset after receiving new data unless it is attached to the wire from the DAQmx read vi. But this works. I would recommend someone that has this issue look at http://zone.ni.com/devzone/cda/epd/p/id/3769. I am also using multiple channels and I wanted to see them individually so I separated out the array from the DAQmx into individual waveform data. I had to take off the strict setting, otherwise I was missing data.

Message 2 of 2
(2,247 Views)