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: 

String in Probewindow of a Variant Wire

Hello forum and NI,

I want to get the string of the probewindow of a Variant wire in my VI.
I have expected this from the function "Variant to Flatten String" but... NO WAY...

If I am wiring "Get Variant Attribute" to my Variant I am getting an 2 empty arrays with values and names (!!!) - it seems that this VI simply doesn't work ??!!


I am getting a little angry now... Every possible solution to my problem is blocked by the inqonsequent way Labview behaves. 😠
0 Kudos
Message 1 of 3
(2,313 Views)
Hello FMode,

not everything that doesn't work is a LabVIEW problem...

Look at here:

http://digital.ni.com/public.nsf/websearch/2dd0ebdb2eb766b086256605007a51db?OpenDocument

Perhaps it helps.
0 Kudos
Message 2 of 3
(2,300 Views)
okay...
but which routines/operations run if i put a Probe on a Variant Wire ? I want to have this routines accessible by my vi.
I can not convert a Variant to String like this probe does it !

I have solved this problem now with the OpenG LVData Toolkit I am recursivly "cracking" down what is on the Variant (no matter if it is simple data like a string or numeric or a cluster or array (containing Array's and Clusters!)) into a String...
0 Kudos
Message 3 of 3
(2,294 Views)