Jump to content

Finding out the voltage range of an input card at runtime


MartinMcD

Recommended Posts

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

post-13935-0-22686900-1317245696_thumb.p

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.