07-27-2015 06:41 AM
So my application uses the IVIScope to command several oscilloscopes. Problem is that the min record length (max value) is different depending on the scope being used. I thought it would just use its max value if you specified one to high, but it throws an error instead. I do not see anyway to query what this max value can be. If i could do that I could select between what I want and that value if I am exceeding it. Does anyone know how to query this value?
07-28-2015 12:54 PM
Hello Muffin;
Can you tell the error code or description that you are getting ? Also what software version are you working with?
Regards,
Pablo
08-03-2015 12:07 PM
I am using Labview 2013. the error is just what I said, that the "min record length" parameter is invalid. I assume this is because I am requesting 100,000 samples and the scope can only handle 10,000.
08-03-2015 12:21 PM
I think you might want to use this property?
I'm not sure if your goal here is to always use the max length possible or if you just always want a value that works.
08-03-2015 12:22 PM - edited 08-03-2015 12:24 PM
Will this return the max the device can handle? it sounds like this will just return what it is currently set to.
08-03-2015 01:15 PM
I think if you take that number, then try to set it to that number +1, you'll either get an error or it will set it to the next higher allowable number. If it accepts it with no error, try increasing it again until it does give an error. When you get an error, the number you had before is the max, so leave it at that setting, clear the error, and proceed.