05-13-2025 03:32 PM
Good afternoon,
I am currently developing an implementation in LabVIEW using the following hardware:
* cDAQ-9174
* NI-9208 (analog inputs)
* NI-9211 (thermocouples)
I have created a DAQ Assistant for the analog and temperature signals, and another DAQ Assistant for the digital signals. However, I am having problems with slowness in the system: reading data and updating the graph is taking too long.
I would be grateful if you could give me some guidance on how to optimize the speed of data acquisition and display. What recommendations are there to improve performance in this type of configuration?
Thank you very much for your help.
05-13-2025 03:29 PM
Buenas tardes,
Actualmente me encuentro desarrollando una implementación en LabVIEW utilizando el siguiente hardware:
cDAQ-9174
NI-9208 (entradas analógicas)
NI-9211 (termopares)
He creado un DAQ Assistant para las señales analógicas y de temperatura, y otro DAQ Assistant para las señales digitales. Sin embargo, estoy teniendo problemas de lentitud en el sistema: la lectura de datos y la actualización del gráfico están tardando demasiado.
Agradezco si me pueden orientar sobre cómo optimizar la velocidad de adquisición y visualización de los datos. ¿Qué recomendaciones existen para mejorar el rendimiento en este tipo de configuración?
Muchas gracias por su ayuda.
05-13-2025 04:08 PM
@cristianCR77 wrote:
Good afternoon,
I am currently developing an implementation in LabVIEW using the following hardware:
* cDAQ-9174
* NI-9208 (analog inputs)
* NI-9211 (thermocouples)
I have created a DAQ Assistant for the analog and temperature signals, and another DAQ Assistant for the digital signals. However, I am having problems with slowness in the system: reading data and updating the graph is taking too long.
I would be grateful if you could give me some guidance on how to optimize the speed of data acquisition and display. What recommendations are there to improve performance in this type of configuration?
Thank you very much for your help.
Without seeing your VI, some general advice
05-13-2025 04:17 PM
It would be helpful if you could share your code.
What happens if you take the 9211 out of the picture? That device can only sample at a max rate of 14 S/s. If you are recording data on 4 channels, that's about 300ms. If you have this DAQ assistant in the same loop as your analog inputs, everything will slow down to this rate.
05-13-2025 04:26 PM
Hello, thank you very much for your reply.
I share below the code I currently have developed, as well as the channels I have configured at the moment. I really appreciate your suggestions or observations to optimize the response speed of the system and improve the overall performance of the application.
05-13-2025 04:48 PM - edited 05-13-2025 04:49 PM
@cristianCR77 wrote:
Where's the rest of the program?
There is no top-level loop (are you using "continuous run" mode???)
We see a local variable but the terminal is nowhere to be seen.
All rows have the same size, no need to measure that over and over inside a tight loop.
We have no idea what's happening inside the blue SubVI.
How do you define and measure "response speed"?
05-13-2025 05:57 PM
Duplicated with Improve system response speed
05-14-2025 12:34 AM
Hi cristian,
@cristianCR77 wrote:
I share below the code I currently have developed,…
I really appreciate your suggestions or observations…
There's a difference between "code" and "image of parts of code" - we cannot edit/debug/run images with LabVIEW.
When you need help then YOU need to provide (real) code and explain the whole picture!