Solution
You can use a DAQmx Read Property Node to detect overcurrent or an open channel in your device using the properties below.
Shorted Channels
Open Channel
The snippet below shows the implementation in an IEPE Accelerometer Task.
Note: This image is a LabVIEW snippet, which includes LabVIEW code that you can reuse in your project. To use a snippet, right-click the image, save it to your computer, and drag the file onto your LabVIEW diagram.