07-10-2014 09:31 AM
I am trying to query back the voltage and current settings on the power modules in my N7600 chassis. I am using this routine. I get the following error. This works fine with my E363x power supplies
Solved! Go to Solution.
07-10-2014 09:32 AM
07-10-2014 10:03 AM
07-10-2014 10:05 AM
You have the wrong driver. The N6700 series power supplies have extra data that goes into the command string to state which supply it is to command. This is because the N6700 holds 4 power supplies. The E363x supplies are just a single supply, so it doesn't have the addressing that the N6700 does.
07-10-2014 10:10 AM
I would go with this VISA driven driver instead of the IVI driver: http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=6EEA8B6A8FEC4F05E04400144FB7D2...
07-10-2014 11:10 AM
Yes, this is with the correct driver... same module.
07-10-2014 11:12 AM
I need the IVI driver because I am not sure what power supply will be used.
07-10-2014 12:13 PM
07-10-2014 12:29 PM
@Muffin wrote:
I need the IVI driver because I am not sure what power supply will be used.
Which means you need a Hardware Abstraction Layer. IVI is supposed to be one. So something is messed up when you initialize your driver then. There should be a setting or something to state which supply you are trying to talk to.
I have an interesting OOP solution that worked pretty well with the N6700 (mainframe) and N5700 (single how power) series supplies. So it is possible, but you need to make sure your initialization is correct.
07-10-2014 01:13 PM
It is working now. I had to add the "active channel" to the node with the voltage and current requests. I had it this way originally so I am not sure why it didn't work. Perhaps I still had the old broken driver.. thought I had the new one already when I tried that. Anyways, it is all working fine now. I can swap what physical supply is used in MAX without the code ever knowing the difference.