Questions tagged [data-acquisition]

Data acquisition deals with accessing, collecting, configuring and controlling external hardware such as sensors, computer ports, various instruments and measurement devices for the purpose of data synchronization, storage or further analysis.

Data acquisition (DAQ) deals with accessing, collecting, configuring and controlling external hardware such as sensors, computer ports, various electronic instruments and measurement devices for the purpose of synchronization, storage or further analysis.

Though there ere are several platforms specializing in DAQ such as Labview, and Matlab's DAQ toolbox, practically any programming language have access to the hardware level from which data can be gathered.

113 questions
3
votes
2 answers

How can I use the Python io module to build a memory-resident data structure?

I'm trying to write data collected from a data acquisition system to locations in memory, and then asynchronously perform further processing on the data, or write it out to file for offline processing. I'm trying to do this architecture this way to…
Red Spanner
  • 149
  • 10
2
votes
1 answer

MES system for manufacturing plant

I am working on creating an app that access PLC to gather data and then display it on the screen with the option of viewing the data as an interactive graph. There has been some work done in python that collects data, store them in excel and at the…
kumar
  • 21
  • 2
2
votes
0 answers

Ending the FuncAnimation Loop to Manipulate Serial Communication Data

Hello stackoverflow members, I have built a script in Python that gathers temperature data from three thermocouples with an arduino and plots the data in real-time using FuncAnimation. However, I am having trouble saving the data to a csv file. It…
2
votes
2 answers

Continuously acquire data in MATLAB using callbacks and persistent variables

I have just recently started to use MATLAB to acquire data off of a data acquisition board and was in need of a function to acquire data continuously (i.e. until I ctrl^C out of the function). To do this I am using the data acquisition toolbox on a…
St-Ste-Ste-Stephen
  • 1,076
  • 10
  • 19
2
votes
3 answers

java drivers for data acquisition hardware?

I need to do some data acquisition & would like to use Java to program my data acquisition application. Right now I am using a LabJack which has a Java wrapper for its driver & it's working ok for simple stuff but I need to upgrade to something…
Jason S
  • 184,598
  • 164
  • 608
  • 970
2
votes
0 answers

DAQ connection best practice

What are the best practices for configuring and communicating with a DAQ? Is it better to configure the DAQ once and then leave the line open and communicate when needed or is it better to open, configure and close the connection every time I need…
j.do
  • 21
  • 4
2
votes
2 answers

Read data from .hpf file

I'm using Quickdaq to receive data from my sensor; the output is an .hpf file I want to read data from this file in python & matplotlib to apply some signal analysis. How can I read (or convert to .csv) an .hpf file with python (or any other…
B.Cox
  • 23
  • 5
2
votes
1 answer

Use Python to get state of combustion engine based on spark plug actuation

Working to create a data acquisition system for a custom off-road vehicle. Using Raspberry Pi and a custom tachometer (tested and confirmed working) to measure RPM. Using interrupts in the following code to get RPM value. def get_rpm(): …
2
votes
2 answers

Python: Get device "model" using pyvisa or pyserial

I wrote a data acquisition program/script that works with a device developed by our collaboration. The problem is that I can only read from this device. No writing is possible, so it's not possible to use a serial "?IDN*" command to know what device…
The Quantum Physicist
  • 24,987
  • 19
  • 103
  • 189
2
votes
1 answer

matlab crash during acquisition of pointgrey images

I have a pointgrey USB3 camera, which I interfaced with Matlab R2015a. Everything works fine, except that I get random Matlab crashes - typically every 10000 images. Below is the crash message. the typical program I run looks like that: vidobj =…
2
votes
1 answer

Estimate gaussian height from its area

We (I and my colleague) were given a device, which sends to us each second a large amount of discrete integer data (intensities) that tend to have gaussian distribution. These pseudo gaussians flows one by one and we are supposed to pick the largest…
Michal
  • 1,955
  • 5
  • 33
  • 56
2
votes
0 answers

Matlab Data Acquisition Toolbox test data

I'm using Matlab's Data Acquisition Toolbox for interfacing with a National Instruments ADC. Unfortunately, I only have access to the hardware in my lab for limited parts of the day, but I'd like to be able to develop and test my code when I don't…
Jordan
  • 3,998
  • 9
  • 45
  • 81
2
votes
1 answer

Reading data from data acquisition unit (measurement computing)

I have a data acquisition unit (USB-2408 from Measurement Computing) and am trying to write Python code to display that data in as close to real-time as I can, but obviously that's limited, so I'll take what I can get. I ran across a man that has…
Sflemdog
  • 23
  • 5
2
votes
1 answer

Is ADC in STM32F103 can sample up to 3Msps?

I'm new to stm32 micro controllers. I read in STM32F103 data sheet that it has 3 ADC converters capable to perform up to 1Msps each. Is it possible to utilize these 3 converters to sample 1 channel up to 3 Msps ? I'm guessing it is possible if I…
night_coder
  • 305
  • 6
  • 8
1
vote
1 answer

How to speed up between the frames in acquiring multi-frame SI by DM scripting

During acquiring multi frame Signal Imaging by STEM-EELS in DigitalMicrograph, the process time from the frame-end to the next frame is bottle-neck in the view point of fast acquisition. Though I think it is the process-time to make a new 3D box, is…