LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to implement cluster datatype inside the case structure in LabVIEW

Hii 

i have uploaded custom Device in that through RT Driver > Engine> read case > TRUE( RT Read ) > false( sub VI) > Write Variable > writedatatoGlobalvar.VI 

 

IN WritedatatoGlobalVar.vi that Present globalVar(Element)  , Datatype(ELEMENT) & Values to Write (DBL)

 

so i need  to convert those element from array to Cluster in this VI   Hope You Understand  

 

siddhu01_0-1718088972473.png

 

Thanks 

Siddhu

 

0 Kudos
Message 11 of 15
(404 Views)

Hi siddhu,

 

I guess you are the same person as here: https://forums.ni.com/t5/LabVIEW/how-to-implement-cluster-datatype-inside-the-case-structure-in/m-p/...

 

Creating a new thread from a duplicate account for exactly the same problem will not help you more.

You still don't state clearly what you want to do and why.

 


@siddhu01  wrote:

IN WritedatatoGlobalVar.vi that Present globalVar(Element)  , Datatype(ELEMENT) & Values to Write (DBL)

 

so i need to convert those element from array to Cluster in this VI   Hope You Understand  

 

siddhu01_0-1718088972473.png


 

You must clarify these:

 - "I need to convert those element" -> Which element(s) ?

 - "from array" -> which array? I don't see any relevant array in your code.

 - "to cluster" -> why to a cluster? Where will this cluster be used afterwards?

 

Also, you may explain it in your native language if that is simpler for you.

 

Regards,

Raphaël.

0 Kudos
Message 12 of 15
(354 Views)

Hi rapshcul 

thank you for the Response 

i have answered the question which u have defined 

 

You must clarify these:

 - "I need to convert those element" -> Which element(s) ?

Datatype  , Global Var & value these elements need to convert into cluster by using as array 

 - "from array" -> which array? I don't see any relevant array in your code.

need to implement those element into cluster and using as array cluster 

 - "to cluster" -> why to a cluster? Where will this cluster be used afterwards?

i need those cluster array to defined those variables datatype in given case structure < Struct unnamed>

 

Hope U Understand 

0 Kudos
Message 13 of 15
(282 Views)

@siddhu01  wrote:

i have answered the question which u have defined 

 

You must clarify these:

 - "I need to convert those element" -> Which element(s) ?

Datatype  , Global Var & value these elements need to convert into cluster by using as array 

 - "from array" -> which array? I don't see any relevant array in your code.

need to implement those element into cluster and using as array cluster 

 - "to cluster" -> why to a cluster? Where will this cluster be used afterwards?

i need those cluster array to defined those variables datatype in given case structure < Struct unnamed>

 

Hope U Understand 


We are going in circles. I will not continue to respond unless you:

 - Make intelligible english sentences.

 - Explain why you want to do this (without talking about elements, arrays and clusters, be more general).

 - Give more info about where you are stuck exactly in your code (I guess you are stuck somewhere, you don't simply want me to do the job for you, right?)

 

Regards,

Raphaël.

0 Kudos
Message 14 of 15
(264 Views)

In your Init-VI, do something like this?

Yamaeda_0-1718208457946.png

 

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 15 of 15
(253 Views)