annuler
Affichage des résultats de 
Rechercher plutôt 
Vouliez-vous dire : 

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 Compliments
Message 1 sur 6
3 444 Visites

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 Compliments
Message 2 sur 6
3 432 Visites

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 Compliments
Message 3 sur 6
3 365 Visites
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 Compliments
Message 4 sur 6
3 330 Visites
0 Compliments
Message 5 sur 6
3 324 Visites
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 Compliments
Message 6 sur 6
3 303 Visites