LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Load parameters from file to a cluster

Solved!
Go to solution

I can't load the save data, from xml to cluster. I did the save event just fine, but now i need to load the options into the cluster. Can someone please check my VI?

 

Thanks,

TN

TN
Currently using LV 8.5
logo
0 Kudos
Message 1 of 7
(3,508 Views)

Olá,

 

Can you post the xml file so I can test it?

  

0 Kudos
Message 2 of 7
(3,505 Views)

One problem may be that you are using "use defaults if unwired" on the output tunnel from the case structure to the shift register carrying the file path.  If any event other than Save or Load occurs before load, the shift register will have a default path, which is probably an empty path.

 

Because you never change the path inside the while loop, you do not need the shift register.  Just use a tunnel.

 

Lynn 

0 Kudos
Message 3 of 7
(3,504 Views)

Boa Tarde Paulo,

 

You can try save with your desire values, thats the part that is working.

 

Hi again Lynn,

 

I did what you told me, but still didn't work. Any other clue?

 

 

Thanks both for replying.

TN
Currently using LV 8.5
logo
0 Kudos
Message 4 of 7
(3,500 Views)
Solution
Accepted by topic author THN

Tens que ligar o cluster (uma local variable) à saída do unbundle from xml.

Message 5 of 7
(3,478 Views)

Óptimo, já funciona, muito obrigado Paulo.

 

Alguma hipótese de me disponibilizares o teu email? Estou a trabalhar com o LabView à relativamente pouco tempo, e como podes perceber, ainda tenho umas dúvidas. Embora este fórum tenha sido uma óptima ajuda para evoluir, ainda tenho muito para aprender.

 

 

Cumprimentos e muito obrigado mais uma vez.

TN

TN
Currently using LV 8.5
logo
0 Kudos
Message 6 of 7
(3,474 Views)

Manda um email para pam9brg@gmail.com que é o email pessoal.

Depois eu respondo-te do outro.

Não quero estar a postar aqui o email de trabalho.

 

Não tenhas problemas em colocar dúvidas, todos tivemos que começar algum dia.

cumprimentos,.

Paulo 

0 Kudos
Message 7 of 7
(3,440 Views)