MartinMcD Posted September 28, 2011 Report Share Posted September 28, 2011 Hello there, I have a large data acquisition application. When I create a voltage input channel to add to a task I use custom scales. Now, this means that the possible Min & Max value (in scaled units) will depend on the custom scale and on the input range of the card. I need to work out what I can set these two values to at runtime. I can call the AI.Min property once the task timing has been set up, which is no use as by then I have potentially already generated an error. Does any body know if there is a quick way of just checking what the input range of a device/channel is at run time, so I can work out what my scaled unit min & max values need to be? Thank you, Martin Quote Link to comment
asbo Posted September 29, 2011 Report Share Posted September 29, 2011 Sure, use a DAQmx Device Property Node: Quote Link to comment
MartinMcD Posted September 29, 2011 Author Report Share Posted September 29, 2011 Ahh great, thank you. I was being silly and trying to find the property in a channel node. Thanks very much, that's saved me loads of time. Quote Link to comment
asbo Posted September 29, 2011 Report Share Posted September 29, 2011 I noticed it passes an array of ranges, but I didn't have a chance to make the correlation to channels. Did you figure it out? 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.