Thanks, I tried looking at the example, but I don't have labview. I am using Labwindows/CVI, and I don't find an example for CVI.
On the other hand,
I was successfull in making a triggered measurment, but each time it triggers it reinitiates, which uses considerable time. It tried initating the meaurement with immediate, and using external trigger for sample trigger, but either that doesn't work or I am doing something wrong, because the measurement seems to return right aways without waiting for a trigger.