06-20-2008 01:38 AM
06-20-2008 06:53 PM
06-23-2008 02:01 AM
06-24-2008 11:55 AM
06-25-2008 01:27 AM - edited 06-25-2008 01:36 AM
My 4145b uses address 17.
I checked switch setting on the backpanel of 4145b and CRT on the front panel says "HPIB(17, COMMA, EOI)". Also, when I change address to 16 and execute vi file, it gives me an error message of "HP 4145 Define Channel; HP 4145 Send Message"
When I change back to 17 and execute, error message disappears(and no more error message comes in when I send command to 4145b), but nothing happens on 4145b.
As I said eariler, LEDs on 4145b seems to be saying that 4145b understands basic command such as "change to listener" or "change to talker".
In addition, when I try to read from 4145b from "HP4145 example.vi", for example by clicking on "Display Graphics and Plot" and execute, I get error message "HP 4145 Take Measurement; Wait for Interrrupt (GPIB)". However, reading is not the problem to think right now because I don't even know how to read.
I have Newport 1830-C with me, and I checked this instrument with same GPIB-USB-HS and same PC I am using with HP4145b.
It works with 1830C. Therefore, it doesn't look like there is something wrong with my PC and GPIB-USB-HS.
Anyway, thank you for your attention.
07-17-2008 05:30 PM
09-10-2008 01:18 PM
Hi Rasheel
You mentioned in your reply that an example for how to drive HP 4145 can be found at "Help > Find Examples > Hardware Input and Output > Instrument Drivers > HP 4145". However, i can do find "instrument Drivers" under "hardware input and output". I am using Labview 7.1. Is this because the older version does not have it or something else?
Thank you very much!
Jin
09-10-2008 01:30 PM
02-13-2010 10:57 AM
Hi folks I am using MATLAB to control the HP4145 via GPIB interface
Now , i am able to successfully communicate with the instrument and get the data back when I have keeping VGS constant.
If I am setting Vgs as VAR2 , then I am getting problems in taking the readings and nothing given back to the PC from the output buffer of the instrument.
Has anyone encountered the same problem ?
02-15-2010 04:55 PM
Hi agentnikoli,
You may be better off asking the MATLAB folks if they've experienced this issue.
When you say "I am setting Vgs as VAR2", do you mean that instead of keeping it constant, you're changing the value? I wonder if you maybe added some wait functions to slow down the communication if it would help.