Hi everybody,
I'm actually trying to drive an UPL (R&S) using the labview drivers V7.3.1 found by the way of this site.
I've developped the module to apply the config (gene and analizer) but when I started to read measurements (read dual channel) I had a new issue.
In fact, the UPL is returning "1" in meas ch 1 and the correct result in the other one, sometimes it's the contrary, sometimes the two values are false, sometimes it returns an error (-1074003951 or 107367294). I didn't remarked this problem earlier because I've just integrated it in my application so it's quite embarrassing to me!
I've also tried different ways to get the correct measurements (see attached VIs) but I still have problems.
The person who have developped the driver (a few years ago) told me to use Flush to be sure to empty the buffer, but it returns an error and is sometimes really efficient and sometimes the contrary!
I tried to slow the program, send differents function, but finally when there is a "VISA read" in the VI it is susceptible to return a wrong value.
I think I miss a little something to control the process so I hope someone will be able to help me.
Thank you in advance.
Bim