LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

path display cmd

Hello,

 

i would like to know if there is a way with path command to only display the file concerned although the path is memorised

 

can we format the display ?

 

if not is there a way to create such a command ?

 

Best regards

 

Tinnitus

CLAD / Labview 2011, Win Xp
------------------------------------------------------
Mission d'une semaine- à plusieurs mois laissez moi un MP...
RP et Midi-pyrénées .Km+++ si possibilité de télétravail

Kudos always accepted / Les petits clicks jaunes sont toujours appréciés
Don't forget to valid a good answer / pensez à valider une réponse correcte
0 Kudos
Message 1 of 3
(2,584 Views)

Bonjour,

 

Si je comprends bien vous souhaitez entrer juste le nom du fichier au niveau de la commande sur la face-avant, "MonFichier.txt" par exemple, mais vous souhaitez que ce soit le chemin complet qui soit envoyé au code LV, "c:/MonRepertoire/MonFichier.txt" par exemple.

 

A ma connaissance, il n'existe pas de propriété permettant à la commande chemin de se comporter de cette manière.

 

Je vous propose de remplacer la commande chemin par une commande chaîne, puis de faire une concaténation (fonction "concaténer des chaînes") pour construire le chemin à partir du nom du fichier. Vous pourrez ensuite utiliser la fonction "chaîne en chemin".

 

Cordialement,

Thomas B. | CLAD
National Instruments France

0 Kudos
Message 2 of 3
(2,552 Views)

Since the original question was in English, why did you provide the answer in French?

 

Rough English translation:

 


Hello,

If I understand you want to enter just the filename at the command on the front panel, "myfile.txt" for example, but you want to be the full path that is sent to the code LV, "c: / mydir / myfile.txt "for example.

To my knowledge there is no property to control the way to behave in this way.

I propose to replace the control path with a command string, then to a concatenation (function "concatenate strings") to construct the path from the filename. You can then use the "string path.


 

0 Kudos
Message 3 of 3
(2,543 Views)