Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

The data from the read visa is not being displayed properly in my waveform graph

I am reading data with the VISA read VI and displaying that string.  The data is correct.  I take that string and use the string to byte array vi to convert it to an array of bytes.  When I take the array of bytes into my waveform graph, I am not seeing any lines graphed.  However, I know that the data is properly working in the graph for several reasons.  When I set it to autoscale, the y axis is autoscaling to account for the data.  If I turn off autoscale and set a peak dot on the plot, that dot moves up and down the graph according to the data that is streaming to the waveform graph.  One thing I notice is that the dot is always in the middle of the x axis on the 0 mark.  Is there something I have to do with the y axis perhaps?  Anyone who has any knowledge fo my problem please respond. Thanky you.
0 Kudos
Message 1 of 2
(3,193 Views)
It kind of seems that what is getting written to the graph is a single element of the array. This would account for the Y axis change and a single point is often hard to see on the graph. Could you post your VI (or a small section that demonstrates the problem)? Since no one else has your hardware, it would help if you created an indicator on the output of the VISA read, run the VI, do a set current values to default, and save the VI before posting it. That way, someone can run the VI with typical data but no hardware.
0 Kudos
Message 2 of 2
(3,180 Views)