Record The Measurements of NI-Switch & NI-DMM Handshaking

Updated Jun 20, 2023

Reported In


  • LabVIEW


  • NI-DMM

Issue Details

I'm using a NI DMM and NI-SWITCH device to take voltage/current on multiple channels, in particular I'm using the Example DMM - Handshaking (NI-SWITCH).vi example from Example Finder in LabVIEW.

How to record the measurement taken before the switch moves onto the next connection in the scan list is recorded as a measurement taken on Channel 0, or Channel 1. If I'm scanning through 10 channels, how do I know or set up my code such that the measurements being taken can be attributed to a specific connection? 


To correctly retrive the sample for each channel consider the parameters Samples to Fetch at a Time and the number of channels are you reading defined in the Scan List.

For instance, Samples to Fetch at a Time = 5 and the number of channels is 2 (CH1 and CH2) when using the  niDMM Fetch Multi Point, the first 5 samples correspond to CH1 and the next 5 samples correspond to CH2 considering so you can parse it out the measurements array.


Additional Information

For additional information refer to the Handshaking topic in the NI Switches Help
The example  is located in <Program Files<\National Instruments\<LabVIEW <\examples\instr\niSwitch\