Hi all,

Can somebody show me an example how to embed SCPI and GPIB type commands in C sharp for instrument control? It is for controlling a spectrum analyzer through Ethernet interface.

Thanks and regards,


George

Recommended Answers

Hi all,

Can somebody show me an example how to embed SCPI and GPIB type commands in C sharp for instrument control? It is for controlling a spectrum analyzer through Ethernet interface.

Thanks and regards,


George

GEorge you can refer these links...........

ftp://ftp.testequity.com/pdf/PMPS_Brochure.pdf

Jump to Post

Hope it will help you...........:)

Jump to Post

All 5 Replies

Hope it will help you...........:)

Hope it will help you...........:)

Thanks for the reply...But it will be helpful for me if i get an example showing instrument control using C sharp..
The above mentioned document is using Agilent VISA I/O for instrument control.

Thanks,

George

Oh, i will see for this.........

This thread has not been marked solved so let me offer a suggestion...

I have been writing VB6 code to use the NI VISA32.dll for a while and it is not that hard to talk SCPI to the newer instruments.

The older HP Instruments, like the 8902, 8903 and 3458A require a little more finese.

If you are willing to convert some VB6 code. I am willing to try to help.

Note: You *really* need to look at a VISA interface. Doing direct control of GPIB, USB, Serial, VXI, PXI, MXI or AXIe without that interface is going to be ridiculously difficult.

I haven't used them, yet. But, the IVI drivers look interesting.

But, for just poking the SCPI out to an Instrument, VISA is the way to go.

And, if you have any NI product I believe the NI VISA32 license is free in that case.

Mike Sr.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.