07-03-2007 12:06 AM
07-03-2007 05:14 PM
Hello BillM,
I see that you are using a PXI-4110 in an application where you are trying to
open and close a reference to the device. I believe I have talked to you over
the phone with regards to this issue. If I am mistaken please correct me.
Firstly, I'd like to address the comparison with the VISA driver. The VISA
driver often deals with reading/writing to various instruments and does not necessary
require device specific state information. You can not compare VISA with the
NI-DCPower driver. The NI-DCPower driver is specific to the NI-4110. May of the
drivers do exhibit the similar behavior that you are experiencing with the
PXI-4110.
I agree the documentation on this issue is unclear. I have been working on
correcting this with the assistance of our R&D team.
Thank you for your feedback. It helps improve our support and products. If you
are the customer I talked with yesterday. I will also personally follow up with
you.
In addition, National Instruments will be closed July 4th and July 5th for Holidays,
and resuming normal business hours Friday July 6.
Have a great day!
Regards,
Sandra T.
Applications Engineer | National Instruments
07-27-2007 09:46 PM
11-05-2007 10:58 AM
Sandra or Bill
I am using the PXI 4110 for the first time and not familiar with IVI. I have been trying to change the settings on a single channel without changing the others and not having much success. It soundslike you may have resolved this issue. Can I ask how this should be done or if there is an example?
Michael
11-06-2007 09:10 AM
11-06-2007 07:07 PM
02-09-2011 10:29 AM
I have the same problems as Bill@NGC.
I was always told that in a stae machine program all states such that, it can run by itself: open, read/right, close
In one state I set the voltages I need on my PXI-4110 and turn it on. In another stage I want to read the current draw on one or more of the channels. When I open the driver for reading the current it shuts off the power output. This is contrary to Any instrument driver I have ever worked with.
This behavior already wasted a lot of my time. I had to research this matter etc...
Is there a solution to this problem by now? There was plenty of time for that since 2007..
02-10-2011 10:27 AM
Magyar,
The reason behind the power supply turning off when you create a new task is inherent in the "niDCPower Initialize with Channels" VI. When you create the first task you set the output to be a constant voltage on the DC Power supply. Then you close the task and the VI is still set at that specific power based on the last known state. The niDCPower Initialize VI changes the settings on the PXI-4110 to load the power supply to a fresh known state, in which there is no supplied power on the device. In order to read the current draw on the supplied power, you need to have the current reading inherent in the first task, or in your new task continue to have the DC power supply output the same voltage along with the reading. Feel free to reply at any time if you experience any more issues or need more clarification. I will be happy to help solve this issue for you. Thanks
02-10-2011 11:00 AM
I do undestand tha this behavior is inherent in the driver. I am sad though. I think, most ouf our fellow devlopers would prefer if it would not forgot everything just because "niDCPower Initialize with Channels" VI is called. This behaviour for a powersupply is contrary to what we have bacome acustumed to. Therefore it results in wasted time during development.
I think, the "niDCPower Initialize with Channels" VI should be renamed: CForget everything and Initialize with Channels".
There should be an "niDCPower dont Re-Initialize just keep existing state"
My sourcecode will be even larger this way, but, at least, the PXI-4110 responds fast to commands.
Thank you for your time and attention.
02-10-2011 12:09 PM
Why do you close the reference if you still need the power supply.
As far as I can see you still are using the powersupply only not communicating with it.
So Open the power supply in a functional global and keep it open until you decide you are really done with the powersupply.