Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Hp3458a storing samples

Solved!
Go to solution

hi.

I'm sampling input voltage using hp3458a.

i see those samples on hp3458a displey with .vi attached.

my question is:how can i store them in spredsheet or otherwise?

 

0 Kudos
Message 1 of 9
(5,014 Views)

Sorry can't open your vi... still on 8.6.1.

 

If you have an array of values, you can feed them into the file vis. Seen the examples provided in Fundamentals - File Input and Output ?


Don't know if you did, but there are ready made driver vi's for the 3458 here at the ni-site, browse the driver network.

 

Greetings from Germany
Henrik

LV since v3.1

“ground” is a convenient fantasy

'˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'


0 Kudos
Message 2 of 9
(4,995 Views)

Hello,

       Here is the Model Page for the 3458A, where you can see that you have a couple of different instrument drivers to choose from.  If you are using a supported version of LabVIEW, I recommend that you use the LabVIEW Plug and Play (project-style) instrument driver that is both NI-Certified and NI-supported.

 

Cheers,

 

NathanT

0 Kudos
Message 3 of 9
(4,990 Views)
And to save the data, you can use any number of file functions. Anything from 'Write to Text File' to the 'Express Write to Measurement File' can be used and all have examples for you to look at. Have you tried anything at all?
0 Kudos
Message 4 of 9
(4,980 Views)

Hi.

Well, it's not so easy to implement as file input and output.

I've attached 3 pictures of previously attached .vi.

First picture shows triggering of hp3458a. He's taking samples now. These samples I see on instrument displey. I want to store them before I take statistic (mean and standard deviation) shown in 3th picture.

Second picture I've inserted, beacuse I want to wait exact time while sampling. This part, I think, is not necessary.

 

Download All
0 Kudos
Message 5 of 9
(4,974 Views)
Solution
Accepted by topic author Tina2
The only measurement you have in your program is the standard deviation and the mean. If you want to get different or additional data, you have to modify the current query or add a new one. Have you tried the driver mentioned earlier?
0 Kudos
Message 6 of 9
(4,964 Views)
If you want exact timing use the 3458 internal timer.
Greetings from Germany
Henrik

LV since v3.1

“ground” is a convenient fantasy

'˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'


0 Kudos
Message 7 of 9
(4,932 Views)

Hi Dennis.

Can you help me with modifying query?

I tried, but with no success,

Can you explain in steps what should I do?

 

Thanx in advance.

0 Kudos
Message 8 of 9
(4,918 Views)
What you should do is download one of the drivers mentioned above. If you use the project style driver, you will have a couple of examples (Help>Find Examples>Hardware Input and Output>Instrument Drivers>LabVIEW Plug and Play). One of the functions in the driver is Read Measurement. This can be used for single or multiple point reads.
0 Kudos
Message 9 of 9
(4,898 Views)