03-15-2019 02:35 PM
I am trying to use one of my cDAQ-9139’s with an NI 9361 and 2012 LabVIEW to measure 4 things: the (1) period and (2) pulse width of a signal from a 3-wire PNP proximity switch and the (3) period and (4) pulse width of a signal from another identical proximity switch. I am using the DAQ Assistant to do this.
When I configure the DAQ Assistant to measure either (1) and (2) or to measure (3) and (4), everything works: therefore I can measure the period and pulse width coming from one sensor. However, when I try to configure the block to measure all 4, I get erratic behaviors in the measurements. Is there some limitation on using a cDAQ-9139 + NI9361 + 2012 LabVIEW to measure two periods and/or two pulse widths simultaneously?
03-18-2019 12:01 PM - edited 03-18-2019 12:08 PM
According to the following link:
The NI 9361 only supports a single task. If you need to use multiple counters from the NI 9361, you need to add all the required counters to the same task.
If this is not the cause it would be helpful to get more specific information on the kind of erratic behavior are you experiencing, and how is your LabVIEW code configured (screenshots would help).