10-16-2007 10:14 AM
10-17-2007 05:01 PM
Hi Ryan,
Thank you for contacting National Instruments.
From the situation you were describing in this post, I understand why you would want to do this. However, the features that are available that include chassis temperature are all listed, and there is nothing that has been inherently provided for reading this voltage. It does seem that you are aware that the other way to achieve these readings and behaviors would be to use a 24V analog input module and measure the batteries.
I hope this helps! I do agree that this might be a useful function to have. I would suggest filing a product suggestion here, and hopefully we can look to add something like this in the future. Thanks!
Jason W.
10-17-2007
05:10 PM
- last edited on
10-06-2025
01:02 PM
by
Content Cleaner
Hi Ryan,
Jason is correct that they is not a way to get an analog voltage value back from the Power Supply. However, you can get a digital value back that indicates which power supply is being used. From there you could set your system up to detect when it switchs inputs and close down appropriately. You can find a VI for the 900x controller here:
Programmatically Determine the Usage of Backup Power on a cRIO-900x Controllers [broken link removed]
Regards,
Bassett
10-18-2007 02:17 PM
10-19-2007 11:13 AM
Hey Ryan,
I understand the problem you are facing here. Unfortunately, this type of operation is not inherent to the system, and the only method that is evident to me is to try to use a module to achieve this behavior. The power source VI should be somewhat useful, but isn't going to provide this specific functionality. I apologize that we don't have any specific suggestions for the very short term.
Regards,
Jason W.
10-26-2007 10:24 AM
Ok, we build a voltage divider and now have the battery voltage down from 28V to a max of 7. We have connected the + and - wires coming out of the voltage divider to the COM pin and AI04 of a 9205 module. But... it doesn't seem to be reading the voltage at all. I even tried hooking up our DC power supply and changing the voltage manually... no response from the CompactRIO or the 9205.
Am I wiring it wrong? We have 2 pressure sensors hooked up to the same 9205 module, so I know that works.
Thanks!
Ryan
10-29-2007
06:25 PM
- last edited on
10-06-2025
01:02 PM
by
Content Cleaner
Hey Ryan,
It looks like you are going about this in the right way. In referencing the 9205 manual, are you connecting the known voltage '+' to pin 5 for AI4, and the '-' to pin 17 for COM? Have you tried any of the other channels, specifically the ones that were working with the pressure sensors to determine if the wiring is the problem? Are you testing this from within Measurement and Automation Explorer or LabVIEW? It is always a good idea to try testing at the lowest level and building from there. Hope this is helpful. Have a great day!
Jason W.