07-12-2023 10:54 AM
I am creating a python application to read, display, and save data from a machine prototype. The data is acquired and displayed continuously until the program is instructed to cease collecting data. Data is displayed in a dash application using a the plotly graphing library. I'm using an NI 9205 module to read data from load cell, pressure sensors, and proximity sensors. My problem is that upon running my program the device displays a value of 5.3701 for all channels.
The weird thing is that it doesn't do this if I run a test on the NI Measurement and Automation Explorer before running my code. If I run my code before using the NI Measurement and Automation Explorer, the device continuously returns a value of 5.3701 on both applications until I reset the DAQ device.
Any ideas on why this might be happening? The same code structure worked for a a thermocouple test, so I don't understand why it wouldn't be appropriate for voltage.
My application is attached below.
07-12-2023 03:24 PM
Please Disregard. Issue solved