LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

In LabVIEW 2010 Flatten/UnFlatten to String Documentation/Functionality Disagree

In LabVIEW 2010, the Context Help for Flatten to String and UnFlatten from String functions just show all question marks. There is Detailed Help for these functions, but the connections shown on the Detailed Help does not agree with the connection on the functions that are placed in the Block Diagram. I can't find the input for Data Type on the UnFlatten from String function. I can't use UnFlatten from String because documentation disagrees with connections on function placed on Block Diagram.

 

I put a 1D array of strings into a Flatten to String and the UnFlatten wanted to give me a Cluster of 9 elements.

 

Where is the correct documentation for the Flatten to String and UnFlatten from String functions that agrees with the functions placed on the Block Diagram?

Where is the Type Input for the UnFlatten from String?

Why do the functions placed on the BD and the documentation for these functions disagree?

0 Kudos
Message 1 of 15
(4,334 Views)

You'll have to show us a screenshot of the functions and your context help.  The Flatten and Unflatten look just fine to me.

 

The datatype input for the Unflatten from string is at the top of the VI, just to the left of center.

0 Kudos
Message 2 of 15
(4,328 Views)

@Ravens Fan wrote:

You'll have to show us a screenshot of the functions and your context help.  The Flatten and Unflatten look just fine to me.

 

The datatype input for the Unflatten from string is at the top of the VI, just to the left of center.


Attached are screenshots. This shows the Unflatten from String function. The Flatten to String gives similar results. Notice Context Help is only question marks. Notice that Unflatten on BD only has 4 connections and that these connection do not agree with the detailed help. There is no connection at the top for the datatype.

 

 I did not make any VIs with names like these.

Download All
0 Kudos
Message 3 of 15
(4,316 Views)

That is very strange.  The presence of the question marks makes me think there is some kind of corruption in your LabVIEW installation.  Maybe someone from NI has some input into this.

 

Here is the corresponding image from my LV2010 showing all is okay.

 

For grins, try opening the attached LV2010 VI.  It is just the unflatten function shown.  See if the help for this instance of the function looks corrupted when you open it on your PC, or looks okay.

Download All
0 Kudos
Message 4 of 15
(4,275 Views)

@Ravens Fan wrote:

That is very strange.  The presence of the question marks makes me think there is some kind of corruption in your LabVIEW installation.  Maybe someone from NI has some input into this.

 

Here is the corresponding image from my LV2010 showing all is okay.

 

For grins, try opening the attached LV2010 VI.  It is just the unflatten function shown.  See if the help for this instance of the function looks corrupted when you open it on your PC, or looks okay.


Your attached  LV2010 VI looks OK when opened on my machine. Context Help looks good and connections to functions appear as documented.

 

I don't know why my functions look different. I don't play around in that part of LV. I have loaded some packages using the JKI package manager, but that's about it.

0 Kudos
Message 5 of 15
(4,267 Views)

Here's a vi with both of the functions in them.  Hopefully this will get you started, and you don't have any issues if you copy them into your VI.

 

I wonder if you have some sort of corruption in the palettes.

 

Go to the directory C:\Program Files (x86)\National Instruments\LabVIEW 2010\menus\Categories\Programming\_Numeric

 

There is a file called advdata.mnu.  My file has the file date of June 25, 2010 12:02 pm and a file size of 1,305 bytes.  Compare that to the same file on your PC.

Message 6 of 15
(4,254 Views)

@Ravens Fan wrote:

Here's a vi with both of the functions in them.  Hopefully this will get you started, and you don't have any issues if you copy them into your VI.

 

I wonder if you have some sort of corruption in the palettes.

 

Go to the directory C:\Program Files (x86)\National Instruments\LabVIEW 2010\menus\Categories\Programming\_Numeric

 

There is a file called advdata.mnu.  My file has the file date of June 25, 2010 12:02 pm and a file size of 1,305 bytes.  Compare that to the same file on your PC.


Both functions in the attached vi look good in my LV.

 

My advdata.mnu file has the same date and time as you mentioned. Size is exactly the same.

 

Thanks.

0 Kudos
Message 7 of 15
(4,241 Views)

That's strange. Are you dropping these from the Programming > Numeric > Data Manipulation palette? You may try repairing LV. Do you have multiple versions of LV installed in non-default folders?

Verne D. // Software R&D // National Instruments
Message 8 of 15
(4,189 Views)

@verne D wrote:

That's strange. Are you dropping these from the Programming > Numeric > Data Manipulation palette? You may try repairing LV. Do you have multiple versions of LV installed in non-default folders?


No, I am using the Search function and it is taking me to the 7.x functions.

Reoairing LV did not help.

I anly have LV 2010 installed in the default location.

 

Why does the Search function only show the 7.x Flatten/Unflatten to String?

0 Kudos
Message 9 of 15
(4,184 Views)

The 7.x functions are added by OpenG. It has nothing to do with a normal LabVIEW 2010 installation. The same behavior happens with 8.6 with the installation of the OpenG Toolkit. Load the functions from the correct location and the problem goes away.

0 Kudos
Message 10 of 15
(4,157 Views)