10-07-2014 08:41 AM
Hello fellow users...
I'm trying to program a power supply test that is controlled with a temp/humidity chamber, a PDU (power dist. unit) and load, but also gets information from the power supplies themselves through the PMBus. The program will support test profiles and data gathering profiles. The program, if successful, may go out to our vendors and using different equipment. Because of this I am trying to incorporate a hardware abstraction layer.
Because of the different equipment, some controls or some data channels will likely be different between hardware setups. I need some way to advertise to the users which controls and channels are available, and to let them choose which ones to use at runtime. Additionally, I need to check saved control and data gathering programs against the current hardware set to make sure they can be run. This can be done when a user attempts to load one. I don't care about the program if it is just sitting on disk.
Does anyone know of a good way to do this, or what terms I should be using to search for this kind of solution?
Thank you,
Simon
10-07-2014 09:57 AM
10-07-2014 10:53 AM
Check out the Abstraction Distraction community as well. There isn't much there, but there are a few of us who are really trying to figure this all out. Norm has an excellent presentation on the subject matter in there. But ask questions and you will get something.
10-07-2014 11:21 AM
Thanks for the replies.
jcarmondy,
I've looked at a lot of the available hardware abstraction layer stuff, and I haven't seen discussed what I am trying to do. I need a way to pass a list (or something) of available data collection channels and control channels from the child classes to the parent classes and have the user be able to select them for use (if data collection) or control the channel (if a control). I've seen how it can be done for static functions, but there doesn't appear to be a documented way for dynamic hardware setups.
crossrulz,
Thanks for the group. I'll give it a shot.
Regards,
Simon
10-07-2014 09:36 PM
10-07-2014 10:23 PM