Hi ESD and welcome to the NI forums,
The property you're trying to use is part of the legacy driver support and is now considered obsolete [1]. It remains part of the driver, though, for legacy hardware, but a 5105 is new enough that it doesn't use this older API.
The recommended way to configure horizontal timing is using the other properties you mentioned: minimum sample rate and minimum record length. The reason that you cannot specify an exact rate or length is because the board's clock cannot be set to any arbitrary frequency and so it will be rounded up to the nearest valid setting [2].
However, if you still prefer to set record length according to time, then I suggest doing what you have been doing: specify a sample rate and record duration and then calculate the minimum record length.
Please let me know if you'd like further clarification.
[1] niScope_ConfigureAcquisition :: NI High-Speed Digitizers Help » Programming » Reference » NI-SCOPE Function Reference Help » Functions » IVI Compliance/Obsolete Functions
[2] Coercions of Horizontal Parameters :: NI High-Speed Digitizers Help » Programming » Getting Started with NI-SCOPE » Coercions
Joe FriedchickenNI Configuration Based Software |
---|
Get with your fellow OS users [ Linux ] [ macOS ] | Principal Software Engineer :: Configuration Based Software Senior Software Engineer :: Multifunction Instruments Applications Group (until May 2018) Software Engineer :: Measurements RLP Group (until Mar 2014) Applications Engineer :: High Speed Product Group (until Sep 2008) |