07-26-2014 07:25 AM
hi I am very new to labview, as a part of an experiment i need to control an agilent N6700B mainframe voltage controller using labview. I had established all the comm using GPIB . At the moment I am able to control the output voltage by using the attached labview program (this is a modified version of the example program i got from agilent). Whenever i give a voltage input in labview (marked as red in block diagram) I am getting the same voltage at hardware output.
Following are my questions
1) how I can change this manual voltage entry to an automatic mode . For example when i click run output should change to 5 V then without pressing anything it should change to 15 V after some seconds,later change to another Voltage.
2) when I press stop ,labview is stop working.but the hardware is stillgiving an output voltage, how can i reset my hardware (change voltage to zero) by pressing stop button
3) this program iscontrolling only one channel of my hardware. my hardware has multiple channel outputs. How I can controll all simoultaneaosly . I tries to copy and paste the block s to create another branch. But allchannels not working when I did so.
My quistions might be silly as I am really new in labview. But it will be really helpful if you can give a hand
07-27-2014 02:15 PM
Ok, time to step away from the example.
You need to initialize your connection ONCE. Do no do that inside of the loop. Same for closing the connection.
There should be an input to those VIs for which module you are talking to (the N6700 can hold 4 modules).
If you step away from the example some and think about what you need to do and when, it will become obvious what you need to do. Think about how you would do it manually. Then think about each step you took and concider what code you have to do that step.
07-27-2014 08:29 PM
07-28-2014 11:30 AM
07-28-2014 11:16 PM
Thank you so much for your reply. I had posted in another discussion page as I thought it is not relative to counter/timer thats why. i didnt know that can not post in another page. Thanks and sorry for the inconvenience
07-28-2014 11:17 PM - edited 07-28-2014 11:18 PM
07-29-2014 01:15 AM
07-29-2014 01:38 AM