LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Keeping Digital Waveform Graph Channel Name constant

Hello All,

I have currently run into a problem where LabView decides to change all of the channel names in my waveform graph to some type of default setting, e.g. Line 1, Line 2 etc.  I was wondering is there a possible way to keep the channel names on the digital wave form constant even if I change some of the digital waveform parameters, or pass a null digital waveform constant through one of the channels?  Any help on this would be much appreciated.

Example:

Problem

Digital Channel Name Before:                                 Change Parameter:                              Digital Channel Name After:

Valve 1                                                                     Only Channel 1&2 used                            Line 1
Valve 2                                                                                                                                       Line 2
Valve 3

0 Kudos
Message 1 of 7
(3,682 Views)

Make sure "ignore attributes" is checked for the graph.

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 2 of 7
(3,677 Views)
You can also rename the plots after you load the data into the graph with the Active Plot and Plot Name properties.
 
 
Message 3 of 7
(3,671 Views)

Hi people,

                 Can someone please explain how this is done ( in the .png file)

                 I cannot seem to add elements (as I choose) to the property node. I wish to assign unique names to each plot 0,1,2........ I guess I can do it in a loop but this looks much neater

         Using LV 8.5

            Thanks,

0 Kudos
Message 4 of 7
(3,424 Views)

Hi di_1,

Are you trying to add more elements to a property node?  Just grab the bottom and drag it down...check out the pictures.

Stephen S.
National Instruments
1 Test is worth 1000 expert opinions
0 Kudos
Message 5 of 7
(3,392 Views)

Hi,

      Thanks for reply. I have no problem adding elements to a property node. The png there though shows the same elements repeated, and Active Plot  property is wired to "0" and its plots named, then "1" selected and named all on the same property node.

     I was looking to set up names for data "lines" in a single go. I've used a loop to do it but was curious as to add the same elements as I haven't seen it before.

     Ds

0 Kudos
Message 6 of 7
(3,379 Views)

DS,

 

Somewhere along the line I discovered that you can access properties multiple times in a property node.  The property node will get and set values sequentially from top to bottom as it processes the node.  Using this feature, you can set an active plot, get and set its properties, activate another plot and set its values, and so on.  There are other LabVIEW components that can be used this way as well, like the TreeControl which has an Active Item property.  I find a lot of this stuff through trial and error!

 

-cb

0 Kudos
Message 7 of 7
(3,358 Views)