Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

application windows form C++ get datas from oscilloscope

I'm working on Visual Studio 2005. I have created a Windows form application in C++ that's using the .Net Framework 2.0 with the Windows form. I want to get datas from an oscilloscope Tektronix TDS3014B by TCPIP communication.

I don't find that I have to use in order to send commands to the oscillo and receive datas to the PC.

 

I have found the NI-Scope 3.5.1 drivers and the NI-Scope .Net Class Library 1.1.1 but I don't know if it's good for that I want to do and how I need to use it in my application Windows form?

 

Would you like to help me! Thanks!

Best regards.

0 Kudos
Message 1 of 5
(4,672 Views)

Rodrigo,

 

Thank you for posting to the NI Forums. The NI-Scope driver is not for third party scopes, but just the driver for our oscilloscopes. You will want to use our instrument drivers from the National Instruments Instrument Driver Network. We do have a specific driver for that Tektronix Scope for use with Measurement Studio and Visual Studio, this driver can be found here, Tektronix TDS 3014B. Hope this helps.

Aaron W.
National Instruments
CLA, CTA and CPI
0 Kudos
Message 2 of 5
(4,653 Views)

-- Hi,

 

Thanks you for replying to my question! But between the time when I asked my question and the time when you answere, I find the solution to do this, I use two files that they include prototypes functions to dialog with the oscilloscope.

 

Now I have an other problem, I present to you my problem but I cannot think that you can solve that.

 

I want to do a hardcopy of the screen of my Tektronix TDS3014B.

I send this group of command :

 

"HARDCOPY:PORT ETHERNET"

"HARDCOPY:FORMAT BMP"

"HARDCOPY:INKSAVER OFF"

"HARDCOPY:FILENAME \"C:/test.bmp\""

"HARDCOPY START"

 

But I don’t know where the file is? I don’t know if I need to send commands to import the file or if I need to read to the oscilloscope or if the oscilloscope sends directly the picture file to the PC.

 

0 Kudos
Message 3 of 5
(4,640 Views)

Rodrigo,

 

My only experience with the Tektronix scopes is using the instrument drives that we supply with them. I have not had any experience with the Tektronix scope prototype functions, and I am not aware of where those specific files are. You might try and get in contact with the makes of the scope as they might have had some experience with making similar calls to the device. Sorry for not being able to help out more. 

Aaron W.
National Instruments
CLA, CTA and CPI
0 Kudos
Message 4 of 5
(4,631 Views)
Do not worry! I will myself to find but I try to have a contact at Tektronix to find my solution soon what is not obvious! Because it's not difficult, the problem comes just in the organization of the functions.
 
Thanks you! Good day!
0 Kudos
Message 5 of 5
(4,621 Views)