02-19-2014 12:34 PM
Hi i have an agilent 53220A frequency counter and i am trying to clear to count to recount again after but i keep getting some type of error if i try resetting becasue i have to reinitialize.
Thanks in advance
02-20-2014 04:48 PM
What kind of error do you get?
Can you include a picture or error number?
02-26-2014 12:11 PM
depending on where i put the reset it acts differently. If its put after the read visa the counter doesnt count at all. If its placed after the loop but before close in the main loop it only counts once then not at all.
02-27-2014 05:23 PM
Just real quick looking at your code, you probably shouldn't open and close the VISA reference inside the loop. Try moving the VISA Configure Serial Port and the VISA close outside of the while loop.
02-28-2014 12:03 PM
for the frequency counter the open and close are outside of the loop.. the other ones have to be where they are in order for them to work and have the variabel control i need.
03-03-2014 02:56 PM
Have you gotten this function to work at all on this device? I would start with trying to get it to work without anything else going on.
Without further information it's really hard to diagnose exactly what is going on, but it sounds like the either the instrument or LabVIEW does not like reconfiguring the DMM so often. (Maybe it's still configuring when LabVIEW tries to configure it again, or something like that) Try putting a delay in your inner loops to see if that helps.
Also, have you tried to use the "Device Clear.vi" VI for that instrument. It's description sounds promising.
03-05-2014 12:01 PM
where is the device clear vi for the instrument i have not seen it?
03-07-2014 08:13 AM
It's under the Agilent 34401 driver -> Utility -> Device Clear
03-14-2014 12:54 PM
the 34410 driver?
im using an agilent 53220A
03-14-2014 04:03 PM