LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

labview board

Hello

The type of source is 1D array of cluster of 2 elements and the type of sink is dyanamic data. Can any one guide me how to connect these 2 elements together. Any response would be highly appreciated. Snap of the code is attached below

Thanks 

0 Kudos
Message 1 of 6
(3,032 Views)

Hi Yousaf,

 

the "quick and dirty" way is to make your data compatible with DynamicDataType (DDT):

check.png

 

The better way is to save the data using "standard" file functions instead of relying on ExpressVIs…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 6
(3,020 Views)

YousafAli wrote:

The type of source is 1D array of cluster of 2 elements and the type of sink is dyanamic data. Can any one guide me how to connect these 2 elements together. Any response would be highly appreciated. Snap of the code is attached below


Can you show us the rest of your code? It seems all you are keeping is the data of the last iteration, so why is there a FOR loop?

How do you want the data arranged in the output file?

0 Kudos
Message 3 of 6
(2,953 Views)
Thanks for your reply. I just want to get specific number of iterations thats why I am using for loop. the snap of the complete code is attached herewith.
0 Kudos
Message 4 of 6
(2,918 Views)
0 Kudos
Message 5 of 6
(2,912 Views)
The first thing I see is that there are way too many big blue boxes (express VIs). Getting rid of the express VIs will (as Gerd said) give you control over you data and how it is written.

There is also no error handling. Remember, the only way you can tell you data is good is if the software can tell you when it's bad.

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 6 of 6
(2,891 Views)