Ricky Ooi Posted December 20, 2022 Share Posted December 20, 2022 I want to confirm on this. If I would like to get the actual voltage measurement from a sensor, I have to use the following function to obtain the value in voltage right?Board.ToEngUnits32(Range.Bip5Volts, memData, out double engVal); Link to comment Share on other sites More sharing options...
1 DAQman Posted December 20, 2022 Share Posted December 20, 2022 Hello, ToEngUnits converts A/D raw counts to voltage. However, the UL Help indicates that engVal is a float type value (or Single in VB) not a double and the Range parameter must match what you used when you read memData. Board.ToEngUnits32(Range.Bip5Volts, memData, out float engVal). Here's a link to the online version of UL Help: https://www.mccdaq.com/pdfs/manuals/Mcculw_WebHelp/ULStart.htm Best regards, John Link to comment Share on other sites More sharing options...
Question
Ricky Ooi
I want to confirm on this. If I would like to get the actual voltage measurement from a sensor, I have to use the following function to obtain the value in voltage right?
Board.ToEngUnits32(Range.Bip5Volts, memData, out double engVal);
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now