LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Low Sampling Rate Issue with PN2271 Pressure Sensor and NI 9203 in LabVIEW

I'm currently working on a project where I'm interfacing a PN2271 pressure sensor, which outputs a 4–20 mA current signal, with an NI 9203 current input module. I'm using LabVIEW for data acquisition and processing.

However, I'm encountering an issue where I'm only able to achieve a sampling rate of approximately 30–45 readings per second. This is significantly lower than the expected performance of the NI 9203 module, which supports up to 200 kS/s.

System Details:

  • Sensor: PN2271 pressure sensor (4–20 mA output)

  • DAQ Module: NI 9203 current input module

  • Software: LabVIEW

Issue:
Despite the NI 9203's high sampling capabilities, I'm limited to 30–45 samples per second. I suspect that the current LabVIEW configuration might be the bottleneck.

Request:
Could someone provide guidance on how to optimize my LabVIEW setup to achieve higher sampling rates? Specifically:

  1. Should I transition from using the DAQ Assistant to DAQmx VIs for better performance?

  2. Would implementing a Producer/Consumer architecture help in this scenario?

  3. Are there any example VIs or tutorials that demonstrate high-speed current data acquisition with the NI 9203?

0 Kudos
Message 1 of 3
(74 Views)

#1 - yes, ditch the DAQ Assitant and use DAQmx APIs to achieve the highest possible sampling

#2 - mostly yes, producer/consumer helps if you got a lot of processing or logging, you can skip producer/consumer if using DAQmx's inbuilt TDMS logging

#3 - checkout datalogging example that ships with DAQmx, those are generic and works with almost all models.

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
Message 2 of 3
(57 Views)

If you post your code we can give more specific advice to improve the code.

Tim
GHSP
0 Kudos
Message 3 of 3
(15 Views)