ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

String to PSP Variable?

Solved!
Go to solution

Hello,

 

I was hoping that I could programmatically buid up a shared variable path, and then use the Read Variable VI to read a value.

 

Unfortunately, while I can convert a PSP Variable into a string, I can't do the reverse. The output of the String to Shared Variable VI is not recognized by the Read Variable VI. I tried to convert it to a PSP Variable using To More Specific Class, but LabVIEW wouldn't allow it either.

 

var_cast.png

 

Is there a way to convert a string into a programmatically-readable shared variable?

 

Thanks!

Certified LabVIEW Developer
0 Kudos
Message 1 of 2
(3,709 Views)
Solution
Accepted by topic author JKSH

DUH... I can use the Seach Variable Container VI, like the start of my posted code... X_X *slinks away in embarassment*

Certified LabVIEW Developer
0 Kudos
Message 2 of 2
(3,704 Views)