From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
07-14-2014 03:02 PM
I am trying to display digital waveforms on graph whose lines are grouped. It looks like the functionality exists to group the lines into "Buses". There appears to be a way to rename each Bus from its default "Bus 0, Bus 1, etc." since there is an Express VI called "Group Digital Signals" that does it. It looks like the express VI is editing the attributes on the waveforms in order to rename the Buses. The attributes are NI_ChannelName for the Bus and NI_LineNames for the lines that make up the bus.
When I code it, the Line Names are renamed according to what I want, but the Bus names remain default Bus 0, Bus 1, etc. Is there something I must do to rename the Buses?
(see attached VI)
Thanks,
Dan
Solved! Go to Solution.
07-14-2014 05:13 PM - edited 07-14-2014 05:15 PM
So Young Daniel, do you mean like this?
All I did was select where is said Bus 0,1 or 2 and typed in a new value.
Mike...
07-14-2014 08:12 PM
07-14-2014 08:19 PM
07-15-2014 09:39 AM
So, it works with the good old Property Node. Just set Active Bus and then write Bus.Name.
I was lead to believe that the attributes would work based on the example here.
- Dan
07-15-2014 10:05 AM
Actually, I was about to post code using property nodes...
However, the example only shows setting the names of lines. The distinction of a bus desn't exist in that example.
Mike...