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!
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.
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:
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))