LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Agilent 53230A exporting readings to computer

Currently I have my program set up to return readings using READ? command. However, this just flashes the readings on the instrument (Agilent 53230A) itself (so if I selected 10 samples then it would flash 10 readings on the display). Is there a way to export to a file directly to the computer the instrument is connected to? From the manual I've also tried using MMEM:STOR:DATA RDG_STORE command, but nothing happens with it. Appreciate any help, thanks!
0 Kudos
Message 1 of 16
(3,958 Views)
There are numerous file I/O functions. What have you tried?
0 Kudos
Message 2 of 16
(3,939 Views)

Are you reading the values using VISA Read?  You could easily just take the readings and build up an array and then save that data to a file.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 3 of 16
(3,934 Views)
I've only used these functions, MMEM: MDIR “USB:\dut_1” MMEM: CDIR “USB:\dut_1” MMEM: STOR: DATA RDG_STORE I actually didn't try using VISA read. Sorry could you expand on that? I've never made an array in Labview before. Thanks!
0 Kudos
Message 4 of 16
(3,928 Views)
Those are SCPI functions. You aren't using the instrument driver? You didn't use Help> Find Instrument Drivers?

Download the driver and use one of the LabVIEW file I/O functions to save to file. Silly to try to write your own code when there is everything you need already. Silly not to know about VISA Read as well. You should not be using the low level GPIB functions.

p.s. You should also take a LabVIEW tutorial if you don't understand something as basic as an array.
0 Kudos
Message 5 of 16
(3,924 Views)
Can't use the drivers as they're not compatible with the version of Labview I'm using, which is why I'm forced to use the SCPI functions.
0 Kudos
Message 6 of 16
(3,918 Views)

What version are you using?  I see a driver for back to LabVIEW 8.2.1.

Agilent 532XX Series Counter/Timer


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 7 of 16
(3,914 Views)
That does not make much sense. What version are you using? You haven't requested a down conversion.
0 Kudos
Message 8 of 16
(3,911 Views)
I'm using Labview 7 now
0 Kudos
Message 9 of 16
(3,904 Views)

I highly recommend upgrading to a newer version.

 

Here's a very quick example of how to perform a querry for an instrument.  You have to write the querry command and then read the response.  You may have to add a delay in there to allow the instrument to respond.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 10 of 16
(3,900 Views)