07-28-2016 12:33 AM
Hello.
I'am trying to control NI PXI-4110 DC Power supply in state machine based application.
Here is my separate VI for debug power supply behaviour (LabVIEW 2012, 32bit).
Why it works when Highlight execution enabled and not work when Highlight execution disabled?
Why Output enable function won't work?
How to control DC Power output in state machine properly?
It just have to switch on or switch off the power in different states.
07-29-2016 09:27 AM
Hello LVuser14
What do you mean when you say Why Output enable function won't work? I mean do you see an error code or something similar when you press the Enable?
Regards
08-01-2016 06:07 AM
Hello.
Thanks for reply!
Seems like Output enable function won't work because of "Commited" state. It works in "Running" state only.
I was confused that the Commit function switches on the status LED. Why is this happening? At first I thought that this function enables the output, but it only lights the LED. NI DC Power Supplies and SMUs Help says that green status indicator declares enabled output state in constant voltage mode. This is strange.
Why do we need the Commit function? Regardless of whether this function was used or not, the Initiate function will produce same effect. Initiate function still applies the settngs placed before (Voltage Level, etc) Maybe, the Commit function acts as a part of the Initiate function? Will Initiate run faster after using the Commit function?
Could you give an example of using the Commit function?
08-03-2016 10:07 AM
Hello LVuser14
I saw the LED of the DC power turn on because we are setting the Power Supply with the Current and Voltage level. I found one good explanation about the DCPower commit VI and I would like to share with you, please see below:
http://zone.ni.com/reference/en-XX/help/370736F-01/ni_dc_power_supplies_help/programmingstates/
At the same time if you go to Help(LabVIEW)>>Find Example>>Modular Instruments>>NI-DCPOWER>> here we have many examples you can use. I found some example that use commit VI, please see the list below.
• NI-DCPower Single Point Multi-Channel Synchronization
• NI-DCPower Sequence Multi-Channel Synchronization
• NI-DCPower Measure Step Response
• NI-DCPower Measure Record
If you are looking for an example which you can generate a constant DC output feel free to use the example -> NI-DCPower Source DC Voltage.vi
I hope this information will be useful
Regards