05-04-2015 08:36 AM - edited 05-04-2015 08:38 AM
Hi everyone,
I developped a program with Labview 2014 to control a precision source/measure unit, the Agilent B2902A. Basicaly, it just gets intensity values from the source itself and messages from serial port from another instrument and save them in excel files. Everything worked great but I since I updated the B2902A firmware, my program doesn't work anymore.
It keeps being blocked trying to initialize the connexion between the pc and the instrument. The instrument is still recognize by the pc. I tried many other "example programs" but none works.
Has someone already got this problem? Do you have any idea about where could this problem come from?
Thank you for your help !
05-04-2015 08:43 AM
Hi Oxydroid,
Would you please grab the communication between PC and device via NI IO Trace?
Thanks,
Charles.
05-04-2015 09:07 AM - edited 05-04-2015 09:11 AM
Here we go !
I hope this is enough, it is the first time I use this tool. Then my VI crashed and nothing happened on my instrument.
[EDIT: I added another picture. I thouhgt it was over, but it wasn't]
05-04-2015 09:10 AM
According to the specs the Agilent B2902A supports "both conventional and default SCPI commands" . It might be that the firmware update did switch the type of SCPI commands to be used and you have to switch it back now.
05-04-2015 09:47 AM
05-05-2015 04:14 AM
@mkossmann I checked SCPI language type and it is the good one
05-05-2015 04:34 AM
@Dennis_Knutson,
I attached to my message the release note of the firmware update.
I didn't understand your question about vid and pid. I am quite a beginner with all of this.
My labview program is doing 2 things:
1) Get and store messages from a serial port from a device into a text file.
2) Measure current consumption through the Agilent B2902A: In a while loop, the current measure is done and every 2 seconds, the last measure is stored in an excel file.
No, I didn't hardcode the VISA Resource Name, I let the ones proposed by labview. I just chose it in the listview updated by labview (the only one that start by USB0::
What's a "MAX screenshot"?
05-05-2015 05:29 AM
05-05-2015 06:51 AM
Dennis_Knutson,
Please find the screenshot attached. I am not sure if it is what you expected.
05-05-2015 07:07 AM