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
0
votes
1 answer

NIDAQmx Counter input Edge Source change

I'm a little bit confused with my code. I want to read the position of a counter input (edge counter). I can get the Device and the channel but I want to change the Edge Source or the Terminal. If I add the channel the Edge Source is automatically…
0
votes
1 answer

How to separate UI thread and process thread, in Windows Forms

I develop Forms Application using C# to collect data from a spectrometer device. When I set continuous acquisition, I am not able to perform other operations with UI during the acquisition happens. I am thinking to use multithreading. I am from…
0
votes
1 answer

LabVIEW data writing in a TDMS file

I want to acquire pressure data from a pressure sensor. When I write the data using the "write to measurement file", only one part of the data is saved and others are missed. I also try exporting data to excel from the waveform chart. But I receive…
Mass
  • 1
0
votes
1 answer

Not Implemented for this I/O Control Type

When I right-click on the "DAQ Assistant" in my VI and select "Generate NI-DAQmx Code", I get the error: Not implemented for this I/O control type. I am using an NI-9237. Am I doing something wrong?
adam.hendry
  • 4,458
  • 5
  • 24
  • 51
0
votes
1 answer

Controlling number of samples in LabVIEW VI

I was able to measure properly the airflow and sound parameters separately using two different LabVIEW VIs. One of the program is responsible for measuring the respiratory airflow through a USB device connected to the computer at sampling rate of…
0
votes
1 answer

Retrieve real world time from time saved using "Clock" → "To Workspace" in Simulink

I have made some measurements with an NI6024 acquisition card using Simulink, with the following model: I have run the simulation with simulation time = "inf" and a fixed time step of 0.2, in order to collect real time data from the card. But I…
Haris Gušić
  • 197
  • 2
  • 12
0
votes
1 answer

How use the function "getdata" (imaqtool) to transfer data directly on GPU

I am currently using the function "getdata" from the imaqtool library to get my camera data, and make some postprocessing on my GPU. Hence, I would like to get the data directly transfer from the buffer CPU memory to my GPU memory. It is my…
Tual
  • 3
  • 4
0
votes
0 answers

Exchanging data between python processes through a database

I have a raspberry pi with a MCC118 daqhat. The goal is threefold: Acquire and record data to a database Stream data over a private LAN to a browser as close to real-time as possible (network GET/POST speed limited) Analyze this data and actuate…
0
votes
1 answer

Setting up multiple DACs on an STM32F4-Nucleo

I am working on a project that requires me to use 5 TLC7524 DACs. They will all be receiving data from an 8 bit bus. For data transfer, the process is CS pin, WR pin, send Data. I was wondering if I could get away with grounding the CS pin on all of…
J.Clam
  • 7
  • 3
0
votes
1 answer

Data Acquisition

I need to acquire some analog signals and read a digital signal at fixed sampling frequency. What is the correct way for do this? Note that this is not trivial because during the acquisition process, at given sampling time, the digital signal can…
Luca80
  • 1
0
votes
1 answer

C p_thread: segmentation fault

I am trying to implement a circular buffer to acquire data from an accelerometer and exporting the information to a csv. The readings from the accelerometer must have a constant period. I used the p_thread to run both reading and exporting functions…
0
votes
1 answer

DeepLearning4J - Acquiring Data and Train Model

I try to create the easiest of a NeuralNetwork and training it with some data: Therefore I created a test.csv with a the following pattern: number,number+1; number2,number2+1 ... I try to make a linear regression with the network... But I do not…
0
votes
1 answer

Opencv - video duration changes with room illumination or frame rate

I'm trying to record videos usin OpenCV in Python on Ubuntu 16.4. I'm using a Logitec 920 camera. My issue is that when I change the room illumination (from white to red light) or change the frame rate, the duration of the recorded video is altered…
0
votes
1 answer

Failed to import ul from mcculw

Here's how I tried to import MCC Universal Library Python API for Windows: import ctypes from mcculw import ul from mcculw.enums import InterfaceType As a reward, here's the error that Python tossed at me: File "yadayada.py", line 12, in…
Sussch
  • 1,117
  • 1
  • 9
  • 15
0
votes
1 answer

How can I acquire data from social media to analyze it using machine learning?

I have a project where I'm required to predict future user location so that we can provide him with location specific services as well as collect data from his device that would be used to provide a service for another user etc... I have already…