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…
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…
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…
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<
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…
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",…
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 { …
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 …
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 …
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:
SKU:
r2d222
  • 11
  • 3
0
votes
2 answers

read aligned data in c++

I want to read data from a file with a quite strange structure. The file looks like this below: some lines with text.... 10 1000 10 1 1 1 1 100 100 . . . some lines with text... again data like above.. some lines with…
0
votes
0 answers

I want to get information about how to read data from textView

i am building an android app in this I want to get information how to read data from textView and to send an http request i was not able to figure out what is to be done to make it work. Following is the code that i have used in intent section which…
Moulick
  • 45
  • 4
0
votes
1 answer

Compare data from 3 dat files

I am trying to write a code in Fortran 90 that reads the data from 3 different files (called "data1.dat", "data2.dat", data3.dat"). All the files are made by 3 columns and N lines (the lines depend on another code), and then do the following…
Xoca
  • 23
  • 4
0
votes
1 answer

How to get .adoc pages size with Java

I had a task to read page size of documents like: .doc, .docx, pdf, xls and now i need to count a page size of .adoc document. I googled a lot but didn't find anything familiar for this problem. For .doc, .docx im using Apache POI Java libraries.…
Null
  • 448
  • 5
  • 12
0
votes
3 answers

Read in data from excel file in C

I need to write a program that can read the relevant information from a file and output the maintenance needs as shown in the sample output on the following slides. I have completed the code to read from the .txt file as seen in this screen…
user4142890