Questions tagged [read-data]
101 questions
0
votes
1 answer
How to detect Timeout while receiving data through bluetooth in Android
In my Android application i send and receive data through Bluetooth to/from an Embedded Hardware device. I use a background Service to achieve this. To read bluetooth data, i use my below code,
public void run() {
Log.d("DEBUG BT", "IN…
![](../../users/profiles/2257455.webp)
Annie
- 101
- 1
- 2
- 14
0
votes
2 answers
Android App crashes when trying to store 3 strings from a child on a Firebase database when trying to read strings. No Authentication yet
I've already set up Firebase with the app using Tools -> Firebase and added the internet access to manifest.
I'm trying to just get the strings from the child to be saved on the app so I can use them later on when I develop it further. I dont care…
![](../../users/profiles/7903173.webp)
Kevin Soggy
- 9
- 4
0
votes
1 answer
Python - load unknown data as n-dim matrix
I have a data file including the "snapshots" of an unknown boardgame, such as tictactoe/dama/chess/go..etc. But i don't know the parameters of the game, such as dimension of the board, type of pieces..etc
The easiest case is the tictactoe so lets…
![](../../users/profiles/8495458.webp)
Kregnach
- 45
- 10
0
votes
0 answers
Reading Data from file using read function in c++
void fileRead()
{
student s22;
fstream out;
out.open("ABC.txt",ios::in);
while(!out.eof())
{
out.read((char *)&s22,sizeof(s22));
cout<
![](../../users/profiles/8265553.webp)
Rohit Chugh
- 51
- 1
- 6
0
votes
1 answer
How to read a structured text file and create a structure for it in Matlab?
I have a text file which contains results for many time steps. for each time step, some basic info was saved in the first line, followed by a matrix that contains other data for this step. The matrix size can differ at every time step and it is not…
![](../../users/profiles/1584859.webp)
open0121
- 105
- 1
- 12
0
votes
0 answers
Read data from file without blocking the system
I am new in Python, and I hope that someone can help me.
I have the main loop. IN this loop I want to use data from a file. The main problem, that I need to do this without blocking all the system in between.
Example:
f=open("./filename.txt",…
![](../../users/profiles/7528244.webp)
user23441
- 33
- 8
0
votes
2 answers
C Quicksort (linked list) segmentation fault
I have to create a quicksort on a linked list (in C).
I have my first and last pointer an the pivot (in this code it's the first element of the list).
The structs I have to use:
typedef struct list_element list_element;
struct list_element {
…
![](../../users/profiles/7465472.webp)
karthey
- 9
- 2
0
votes
1 answer
Read measurement data from a text file and put them in an array in Fortran
I would like to read my measurement data from a text file. The data have e.g. following form:
0 0.0531139
0.000157095 0.306123
0.000314191 0.133868
0.000471286 0.29799
0.000628381 0.0182098 …
![](../../users/profiles/7091399.webp)
ingenium
- 15
- 1
- 4
0
votes
1 answer
Inputting data in SAS, reading multiple lines
I get an error when I try reading the following data lines in SAS. Can you help pinpoint my error? Thank you.
DATA VOA;
INPUT #1 Address 1-37 $ #2 City $ State $ Zip #3 Latitude Longitude;
datalines;
1675 C Street , Suite 201
…
![](../../users/profiles/4821737.webp)
ABCD
- 43
- 5
0
votes
1 answer
How do I read a text file by putting its data in a table using CGI in Perl?
The CGI to read the data from merch.txt works but how can I put this in a table?
HTML File: