08-14-2008 10:21 AM - edited 08-14-2008 10:26 AM
I've used waveform attributes before to rename plots on graph legends. Today I tried the same on a digital waveform graph, but it won't work. Can anyone tell me what I'm missing/doing wrong ? I'm using NIHSDIO VIs in this instance, when this worked for me before I was using DAQmx VIs. I have no attributes to edit, but have tried inserting them. The pictures should explain. i.e "Line 0" should be named "one"
08-14-2008 10:54 AM
08-14-2008 11:22 AM
Hello bmann2000,
This is a behavior that has been seen and reported as incorrect in the past. However, it has not been corrected yet. Even if the ChannelName is set correctly, the graph will not update the channel names for a digital graph. The solution, however, is a bit more complicated than with analog data since each channel can potentially have multiple lines, each with a different name. In any event, you can work around this naming issue by updating the plot names programatically. I have attached an example.
08-18-2008 07:29 AM
many thanks, just what i needed.
This fix provides the ability to rename existing plots only, if your plotting a varying number of plots, use a waveform graph local variable to update the waveform graph with the new plot(s) prior to renaming them.
10-16-2008 11:05 AM
I've run into more problems/bugs using the digital waveform graphs, see latest post at
http://forums.ni.com/ni/board/message?board.id=170&thread.id=362218