I am specially interested in the return codes. I am currently working with a ps5204 scope and try to get it working in streaming og blok mode using LabVIEW. Hence I have looked at the examples and can see that the "IsReady" function from the wrapper is used. It is done with in a while-loop, where "IsReady" is waiting for a return greater than 0. But in the ps5000.dll the 0-return is "Pico_ok". Why is the scope sending "pico_ok" while waiting for data? Besides when only looking for greater then 0, might one not get e.g. code 18 "PICO_DATA_NOT_AVAILABLE" and then have the program proceed with "old" bufferdata?
Hence I would like make the function wait for a more specific return, like "Data_ready" or something similar.
I have a slightly differing question as well, but I risk asking it here.
When working with triggers I have the problem, that when the trigger is set to rising edge, it sometimes fires on a slow falling edge due the fluctuations/small variations where one bit goes up. Is i possible to chance the sencitivity and how is it done?
I am looking at the hysteresis under the SetTriggerChannelProperties, but no matter the settings I can't se any changes.
I am now testing the trigger on a 5Hz sine, 7V peak to peak in the +/- 5V range. Hence I though 10-300 bit migth be the range for the hysteresis.