From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, 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: 

Waveform Names to Menu Ring String Property Node

Solved!
Go to solution

Hi,

 

I am extracting waveform data (names) to go into a menu ring as string data.

 

It seems to work, apart from when you actually click on the menu there is no text (though you can successfully change it).  I am wondering if it is to do with the odd symbol in front of the name but not sure how to get rid of it.

 

Hoping it is something simple but it is just knowing where to look with all the options available to you.

 

Please see attached.

 

Best Regards,

 

-

James

0 Kudos
Message 1 of 3
(2,421 Views)
Solution
Accepted by topic author James_AC

Hi James,

 

You were 99% of the way there all you needed to do was to pull that weird character from the string, I used the “match pattern” function to allow me to isolate that character and pass the resultant string into the text ring property node. A good bit of advice if you find a character in LabVIEW that you do not recognise or if you are unsure about spacing, right click the output string and select “ ‘\’ codes display “ this will show what the code representation of the string is and you can just feed that directly into the “match  pattern” function. I have attached my code (LabVIEW 2010 if you need in previous version please just ask) for you to have a look at. I have used a producer consumer template and selected multiple input channels from a simulated PCI 6220.

 

P.S. I’m not sure where that character comes from??

 

Pic.png

Regards

Andrew George @ NI UK
0 Kudos
Message 2 of 3
(2,391 Views)

Brilliant!

 

Ta.

 

-

James

0 Kudos
Message 3 of 3
(2,382 Views)