10-22-2020 12:08 AM
Hello! I want to make a measurement to see if software trigger is working and I want to acquire multiple sample for 1 software trigger. When I am using only one sample for number to fetch everything is working fine.
The problem is when I want to acquire multiple samples, at least 2, my program is not working anymore and it freeze on fetch vi. Can you help me with this problem? Thanks in advanced!
10-23-2020 09:02 AM
You need to configure the DMM to perform two measurements, as by default it performs one.
The reason Fetch.vi freezes is because you are telling it to fetch 2 measurements and to never time out (by passing -1), but the DMM will never perform the second measurement as configured.
Please look at the examples included by launching the LabVIEW Example Finder.
10-26-2020 12:32 AM
Thank your for your response, but I do not get it, except timeout(-1). Fetch.vi can perform multiple measurements?
10-26-2020 10:38 AM
niDMM Fetch.vi does not perform any measurements. What it does is allow you to grab the measurements that were previously acquired by the DMM and are sitting in a FIFO waiting for you to retrieve them.
In the screenshot of your program you posted:
03-09-2021 05:53 AM
Your DMM does not measure 2 samples , but only 1 sample. So firstly you have to set the Trigger Count and Sample Count parameters of niDMM Configure Multi Point VI that you already have in your block diagram. Check out these links, and hope you'll get it right))
niDMM Fetch Multi Point - NI Digital Multimeters Help (NI-DMM 18.1) - National Instruments
niDMM Configure Multi Point - NI Digital Multimeters Help (NI-DMM 18.1) - National Instruments