Bonjour,
Est-il possible de lire un fichier Excel ou txt à partir d’une carte SD?
Y a-t-il des exemples?
Merci
Christian
Lire un fichier Excel ou txt sur carte SD?
Moderator: Benj
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Lire un fichier Excel ou txt sur carte SD?
Bonjour Christian
Oui c'est certainement possible, il y a un exemple de fichier ici.
https://www.matrixtsl.com/wiki/index.ph ... _text_file
Hello Christian,
Yes this is certainly possible, there is an example file here.
https://www.matrixtsl.com/wiki/index.ph ... _text_file
Oui c'est certainement possible, il y a un exemple de fichier ici.
https://www.matrixtsl.com/wiki/index.ph ... _text_file
Hello Christian,
Yes this is certainly possible, there is an example file here.
https://www.matrixtsl.com/wiki/index.ph ... _text_file
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Re: Lire un fichier Excel ou txt sur carte SD?
Bonjour Benj,
Comment je fais si je veux lire et afficher les information sur le fichier text?
Comme par exemple si je veux seulement lire le premier data 29 B9 ED 23 et ensuite le deuxième data 52 58 8b 45.
Merci
Christian
Comment je fais si je veux lire et afficher les information sur le fichier text?
Comme par exemple si je veux seulement lire le premier data 29 B9 ED 23 et ensuite le deuxième data 52 58 8b 45.
Merci
Christian
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Lire un fichier Excel ou txt sur carte SD?
Salut christian
Avez-vous regardé l'exemple, cela devrait aider beaucoup et devrait presque faire tout ce dont vous avez besoin.
Essayez de poster où vous allez et nous pourrons vous aider et vous aider.
Hi Christian,
Have you looked at the example, It should help a lot and should almost do everything you need.
Have a go and post where you get to and we can chip in and help.
Avez-vous regardé l'exemple, cela devrait aider beaucoup et devrait presque faire tout ce dont vous avez besoin.
Essayez de poster où vous allez et nous pourrons vous aider et vous aider.
Hi Christian,
Have you looked at the example, It should help a lot and should almost do everything you need.
Have a go and post where you get to and we can chip in and help.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Re: Lire un fichier Excel ou txt sur carte SD?
Bonjour Benj,
Oui j'ai regardé l'exemple, mais je ne parviens pas à lire ligne par ligne exemple, je voudrais extraire seulement la valeur 3 de speed, la valeur 1500 du delay, la valeur 10 du offset et la valeur 041044905D du tag1.
J'ai essayé mais rien ne fonctionne, je pense qu'il me manque un peu d'informations. Merci de votre aide
Christian
Oui j'ai regardé l'exemple, mais je ne parviens pas à lire ligne par ligne exemple, je voudrais extraire seulement la valeur 3 de speed, la valeur 1500 du delay, la valeur 10 du offset et la valeur 041044905D du tag1.
J'ai essayé mais rien ne fonctionne, je pense qu'il me manque un peu d'informations. Merci de votre aide

Christian
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Lire un fichier Excel ou txt sur carte SD?
Hi Christian,
Here's a starting point for you, the example now reads a complete line into a string.
You should be able to find the spaces between the name and the value and pull the two into seperate strings.
Here's a starting point for you, the example now reads a complete line into a string.
You should be able to find the spaces between the name and the value and pull the two into seperate strings.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Re: Lire un fichier Excel ou txt sur carte SD?
Merci beaucoup pour les informations, je ne suis pas l'auteur originel du sujet, mais vos indications m'ont permis de lire des .xls via ma carte SD, chez moi, ça marche!
Re: Lire un fichier Excel ou txt sur carte SD?
Bonjour Hokum52,
Serait-il possible de m'envoyer en PM un exemple, car je ne parviens pas a lire mes fichier?
Merci de votre aide
Christian
Serait-il possible de m'envoyer en PM un exemple, car je ne parviens pas a lire mes fichier?

Merci de votre aide

Christian
Re: Lire un fichier Excel ou txt sur carte SD?
Bonjour Hokum52,
Je me demandais si il serait possible pour vous de me fournir un exemple de votre code?
Ca me permettrais de vois ou sont mes erreurs et ca m'aiderais a mieux comprendre le fonctionnement du component, car je ne parviens pas a lire un fichier text ou xls sur ma cart SD.
Votre aide serais grandement apprécier
Bien a vous
Christian
Je me demandais si il serait possible pour vous de me fournir un exemple de votre code?
Ca me permettrais de vois ou sont mes erreurs et ca m'aiderais a mieux comprendre le fonctionnement du component, car je ne parviens pas a lire un fichier text ou xls sur ma cart SD.
Votre aide serais grandement apprécier

Bien a vous
Christian
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Lire un fichier Excel ou txt sur carte SD?
French
Salut Christian,
Voulez-vous publier votre projet et expliquer où vous rencontrez des problèmes et nous pouvons enquêter pour vous.
Hi Christian,
Do you want to post your project and explain where you're having problems and we can investigate for you.
Salut Christian,
Voulez-vous publier votre projet et expliquer où vous rencontrez des problèmes et nous pouvons enquêter pour vous.
Hi Christian,
Do you want to post your project and explain where you're having problems and we can investigate for you.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel