jgcode Posted February 20, 2009 Report Share Posted February 20, 2009 [cross posted to ni.com] Problem: LabVIEW seems to be overriding a value of 1 to a value of 2 for the Sample Quantity.Sample Per Channel DAQmx Property Node for a Continuous acquisition mode. Information: I have a task set up in MAX (version 4.4.0f1). When I set Samples To Read to 1 the task runs correctly in MAX. When I read the task in LabVIEW (8.5) the Sample Quantity.Sample Per Channel property node (which is the Samples to Read) is coerced to a value of 2. If the value is greater or equal to 2 in MAX then the Sample Quantity.Sample Per Channel property node in LabVIEW returns the correct value. I get the same problem with a real device or a simulated device. Question: Is this desired behavior? Side note: If N Samples (finite buffer acquisition) is selected Samples To Read cannot be 1 as it causes an error 200077 - it must greater or equal to 2. But no error occurs when the task is saved as Continuous (continuous buffer acquisition). I don't know if this is related. The error generated is: Error -200077 occurred at DAQ Assistant Possible Reason(s): Measurements: Requested value is not a supported value for this property. Property: SampQuant.SampPerChan You Have Requested: 1 Valid Values Begin with: 2 Valid Values End with: 8589934590 Device: cDAQ3 Not Expected Expected Quote Link to comment
jgcode Posted February 25, 2009 Author Report Share Posted February 25, 2009 answer in cross post to ni.com Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.