From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
08-26-2011 11:10 AM
A very basic troubleshooting step would be to run NI-Spy and capture both the LabVIEW and VB series of commands. Have you done that?
08-29-2011 09:24 AM
Nicolas,
Were you been able to run a data capture on the GPIB issue?
If you are not familiar with NI-Spy you can have a look over this link for step by step assistance: http://ae.natinst.com/public.nsf/webPreview/8D890EC09B15C05A86256E6F007E3E86?OpenDocument
If you are running the latest version of Measurement & Automation Explorer, then you will have I/O Trace as opposed to NI-Spy. They are technically the same thing but the usability differs just a bit. If you do have this utility reference the link here: http://digital.ni.com/public.nsf/allkb/282C5D41E2BA04F2862574BA007803B9
Let me know it goes when you have the chance.
08-29-2011 11:46 AM
08-30-2011 03:52 PM
Just got back to work, was kept away because of Hurricane Irene.
Attached are the NI-SPY capture, with the VI.
08-30-2011 05:15 PM
That says you are getting code 6 - NI-488: I/O operation aborted. Where's the capture form the VB code? Have you single stepped through the code or add some delay after the sens:corr:coll:guid:acq STAN1 command?
08-30-2011 05:45 PM
Nicolas -
There was a timeout error on the device as seen on the I/O Trace. The GPIB write was fine on the LabVIEW side of things..as Dennis pointed out, can you run the same capture on the VBscript so we can see what is different between these to Reads?
08-30-2011 06:40 PM
The VBscript is saved on the PNA directly.
When I start recording with NI SPY and launch the macro, nothing shows on the capture log...
08-30-2011 07:07 PM
And yes I did single stepped through the commands. After waiting for sens:corr:coll:guid:acq STAN1 to complete, the next command returns an error.
Same results when adding a delay :/...
08-31-2011 09:41 AM
Nicolas -
It's apparent that the issue is on the Agilent instrument side from your capture. I'm not sure if you have spoke with Agilent about this, but with it being a third party instrument there isn't much I can do to help if we know that LabVIEW and the GPIB Write is working correctly. Let me know if there's any progress made on your end or if I can be of assistance from my side of things.
08-31-2011 11:04 AM
Ben,
I actually first went to Agilent and talked to their engineers, I exposed the problem I'm having.
They redirected me to the LabVIEW forum...
You can see the post here: https://forums.tm.agilent.com/community/viewtopic.php?f=10&t=27317&p=75802#p75802
"...this is starting to look a lot like a LabView problem and you might want to start posting to the NI forum as well (you know, spread the pain a little ) There are a few LabView users/experts that poke around here once in a while and maybe one of them can provide some guidance and it might be helpful for them if you upload your calibration vi"
How can I get the capture log for a vbscript that is saved on the pna itself?