LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

HELP TO DEBUG THE PROGRAM OF AGILENT6600X

Hello,
          First let me simply introduce this program.
          The horizental toggle switch is used to set the default value to the power supply.
          The vertical slide switch is used to read the value from the power supply(after board boot up).
          The phenomenon is when i run the vi, always pop up the indicate message"the 9v PS ID can not be recognized". The problem is why always the problem happens on the 9v PS.
          I have to say this program is not so good, if anyone can give me some guidence, I'll be very appreciate. Thanks.
         
0 Kudos
Message 1 of 3
(2,620 Views)

Good morning,

Without the Agilent drivers (vi's), I could not see much about the code.   Do you only get this message with the 9V PS?

Have you tried communicating with the instrument using MAX (Measurement & Automation Explorer)?  That should be the first step to make sure that communication can be achieved.  You could try a basic query like " *IDN? " and see what it returns.  It's under "Communicate With Instrument", when you look at the "Devices" list.

Also try opening the actual Agilent VI's and monitor what is being sent over the GPIB. Compare it with the others that work.  You can copy the faulty command to MAX and communicate with the instrument using the command. 

Hope this helps,

RayR

0 Kudos
Message 2 of 3
(2,616 Views)
I just saw your other post...  Here are additional comments.
 
Wire the error clusters between your VI's.
 
You most likely have a race condition.  It may be running the "Data Read" VI, before executing the "Start".
Wiring the error cluster between the VI's will establish a data flow.
 
RayR
0 Kudos
Message 3 of 3
(2,613 Views)