I'm using Labview to write some software for my PS5444A, using the PicoScope5000aExampleBlock as a starting point. I wanted to add the ability to change the resolution while the program is running. With a library node I use ps5000aSetDeviceResolution if the resolution value has changed since the last loop iteration (see attachment). Afterwards, I use the picostatus VI to check the status.
When I test this out, by changing the resolution value during operation, the library node returns the status: PICO_INVALID_HANDLE. I checked the ingoing and outgoing handle with a probe, but it shows the same value that works for all other functions in the settings and block VI's.
Can someone explain to me what I am doing wrong?