Menu

#11 Android read data from different datablocks

v1.0 (example)
open
nobody
9
2014-01-30
2014-01-30
Florian
No

Hey guys,
im trying to read 4 integers from 4 different datablocks at one time.
Currently i do this in a for-loop with 4 "read orders". But it takes about 2 seconds for it.
Is there a way to do those 4 reads in one "big read"?
this is what i have:

for (int i = 0; i < DBnums.length; i++) {
String inst_no = DataIsoTCP.ReadData(Nodave.DB, DBnums[i], 4, 2, 0);
System.out.println(inst_no + " " + DBnames[i]);
}

hope someone can help me

greetz Stuck

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.