LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

iviscope min record length error

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?

 

 

0 Kudos
Message 1 of 6
(3,143 Views)

Hello Muffin;

 

Can you tell the error code or description that you are getting ? Also what software version are you working with?

 

Regards,

Pablo

 

 

0 Kudos
Message 2 of 6
(3,079 Views)

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.

0 Kudos
Message 3 of 6
(3,016 Views)

I think you might want to use this property?

 

Horizontal record length.png

 

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.

0 Kudos
Message 4 of 6
(3,012 Views)

Will this return the max the device can handle?  it sounds like this will just return what it is currently set to.

0 Kudos
Message 5 of 6
(3,009 Views)

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.

Message 6 of 6
(2,976 Views)