Quantcast
Channel: Digital I/O topics
Viewing all articles
Browse latest Browse all 2182

data sent from dequeue function to measurement file incorrect

$
0
0

Hi,

I am running Labview Base 2013 and have a vi that is reading data from an RS232 port and a NI-USB6002 digital port.  I decided to split the loops into consumer/producer using queue functions, but have run into four snags with the data retrieval loop. 

1) The digital pulses are displayed correctly in the USB Signal loop, but the data retrieval loop does not show the RS232 data,

2) The data being combined in the data retrieval loop to the measurement file is writing but is not properly separated into their respective columns, i.e. a column is showing data from either of the loops

3) Stop button is throwing Error 1, incorrect path

4) the actual inches control when wired to the data retrieval loop and into the combine signals for the measurement file causes the vi not to run properly.  It runs but does not display data in the charts from either of the loops and no data is written to the measurement file.

 

I added an indicator in the RS2323 loop and it does display the data correctly on the front panel, but does not display in the chart.

I am able to run this vi without the enqueue functions and just write the data out to two separate measurement files, but this is requires me to sync the data set later on.  Not quite what I need.

 

Image of vi attached.

 

loggingtwosignals.PNG 

 

Thoughts?  Will streaming to TDMS work better to keep the data streams separated?

 

 


Viewing all articles
Browse latest Browse all 2182

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>