Simple .csv could not be found

Hi ya all.....

i tried searching for a solution , which may solve my problem , but to be honest : i didn't find any :frowning:

Here are the blocks :frowning:

for the begining i simply want to scan a barcode , the app look for an match , if there is a match , the Screen turns green , thats all

I uploaded my .csv via media (called data.csv)

When starting the App , it say's the data.csv couldnt be found.
Am i doing anything wrong ?

Cheers and have a nice weekend

Try this:

image

also

Thank you very much , this now works

i also removed the .afterscan block

It seems , that i have to learn so much more :frowning:

After scanning nothing happens at all (the Barcode number is in the csv , double checked it :frowning:

Can you share your aia project ?

Sure :wink:
Geraete.aia (58.0 KB)

as I previously suggested:

(Can't test, nothing to scan that matches...:wink: )

Hi Community !

Being back after a long break..........
Well , i tried the suggested , but to be honest , nothing happens :frowning:

What i tried , was , to scan the IMEI from my mobil (*#06# on the "Target Phone") , and compare the Number with the numbers within a csv.

The screen should light up green , if the number was found.
I'll send you my sample .csv

Maybe someone finds the error ??

Cheers and have a nice week
GAL2.csv (84 Bytes)

1;I am, Testing;00000196882;Twillight;02.02.2021;Iphone X;IMEI goes here;;;;;;;;;;

this is not a csv format.
And show us your blocks.

Issue could be the format of your csv, which is not complaint with AI2.

You need to separate fields with a comma , not a semi-colon ;, and any fields that are strings may need to be quoted, especially those which have commas in them.

e.g.

Your csv:

1;I am, Testing;00000196882;Twillight;02.02.2021;Iphone X;IMEI goes here;;;;;;;;;;

how it needs to be:

1,"I am, Testing","00000196882","Twillight","02.02.2021","Iphone X","IMEI goes here",,,,,,,,,,

Blocks are shown a lil bit higher in this thread

I'll try this later , cheers

image

Yes, my mistake, switch item and barcodescanner1.result

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.