03-14-2010 02:43 PM
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
03-15-2010 08:59 AM
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,
03-15-2010 09:39 AM
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.