07-10-2018 03:06 AM
I am using labview to control hp4155b, and i downloaded its driver so i thought things would get easier. But I dont know how to disable some units, I dont know which function I should use and there are no explanations to those functions or what kind of a sequence I should put together. Does anyone know the solution to this?
Solved! Go to Solution.
07-10-2018 03:19 AM
07-10-2018 04:02 AM - edited 07-10-2018 04:03 AM
initialize--config chan smu sweep--config chan smu sweep--config sweep primary sour--config sweep const sour--op download trace--close
Im trying to do a voltage sweep and measure current for a basic diode
07-10-2018 05:20 AM
As far as I can see the units are the channels of the 415x modules in the chassis.
e.g. if you look in the example ( I could not load your eaxmple I still have lv2017)
Examples\Agilent 415X Series Dual Source Sweep Display.vi you see a lot of units displayed.
So it depends on the configuration of your agilent device
07-10-2018 10:30 AM
So what errors do you get? Units in this case refer the SMUs (source measure units) and are required to identify which channels the device is connected to.
I would bet that the names you've assigned don't conform to the format allowed by the Hp4155. They need to start with a letter and be less than 8 characters, with no special chars allowed. Very restictive early DOS format. Don't forget these instruments date back to 1994 and were designed for 3' floppies!
I would avoid the double to dynamic to build graph and just wire your arrays to a bundle then into the graph.
Here's some old messy code for you to try... At least I refreshed the interface last year!
07-11-2018 03:57 AM
Which instrument driver have you used? I have AG415x and HP415x(which is waaay too old) but your subVIs seem to be none of these. However, I will try to replace them but there are no subVIs in these drivers such as display on-off and disable-all, so I will get rid of those. There are also another subVIs which are not related to the instrument driver and which are called "filename_formatter" and "remove_XY_flyback" that I dont have in my library, what do they do actually?
My code simply doesnt recognize SMUs and does nothing and I had named the traces according to the format. So I don't know exactly, does the order of the sequence matter except for download trace,initialize and close? If so, maybe I'm douing something wrong there.
Thank you very much for the help!
07-11-2018 09:30 AM
Not at work this am, but will supply those missing VIs later today. I believe its the AG415x driver...but I must have added VIs that were needed to control other parts of the 4155C I have.
Have you made sure the 4155 is set to GPIB and SCPI? Use the menus System Config I think.
Craig
07-11-2018 10:31 AM
I have succeeded with the old driver, which is something like the following, i still dont understand why the previous code didnt work though...THANK YOU VERY MUCH FOR THE HELP 🙂