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.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Digital Waveform Graph refuses to edit Bus names

Solved!
Go to solution

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

0 Kudos
Message 1 of 6
(3,522 Views)

So Young Daniel, do you mean like this?

 

Busses.PNG

 

All I did was select where is said Bus 0,1 or 2 and typed in a new value.

 

Mike...


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 2 of 6
(3,507 Views)
Yes, but shouldn't it work by setting the attribute? I was hoping to be a bit more dynamic.

Thanks Mr. Un-tamed Lion!
0 Kudos
Message 3 of 6
(3,490 Views)
Oh, I see what you mean. I'll take another look at it tomorrow.

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 4 of 6
(3,484 Views)
Solution
Accepted by topic author Photon_Dan

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

0 Kudos
Message 5 of 6
(3,458 Views)

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...


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 6 of 6
(3,454 Views)