Tektronix Technical Forums are maintained by community involvement. Feel free to post questions or respond to questions by other members. Should you require a time-sensitive answer, please contact your local Tektronix support center here.

Search found 23 matches

by dag99
July 17th, 2014, 3:09 am
Forum: Other or Discontinued Oscilloscopes
Topic: C# Example: using TekVISANet.dll
Replies: 14
Views: 60925

Re: C# Example: using TekVISANet.dll

theScope.Clear();

This solves it!

Im not sure exactly what clear() does and when you need to call it though.
by dag99
July 16th, 2014, 7:16 am
Forum: Other or Discontinued Oscilloscopes
Topic: C# Example: using TekVISANet.dll
Replies: 14
Views: 60925

Re: C# Example: using TekVISANet.dll

To describe briefly what I am doing. I am developing a Visual C#.Net application in Visual Studio 2008. I am using the TekVISANet dll I define the oscilloscope object thus. TekVISANet.VISA theScope = new TekVISANet.VISA(); The application itself is quite simple. It consists of a single window that l...
by dag99
July 15th, 2014, 9:31 am
Forum: Other or Discontinued Oscilloscopes
Topic: C# Example: using TekVISANet.dll
Replies: 14
Views: 60925

Re: C# Example: using TekVISANet.dll

From the first post in this thread; TVA.Open("USB0::0x0699::0x0425::CQ010017::INSTR"); TVA.Write("*IDN?"); status = TVA.Read(out response); Does anyone know under what circumstances the line TVA.Write("*IDN?"); returns false?? ie. bool result = TVA.Write("*IDN?"); and result is false. That's what I ...
by dag99
July 9th, 2014, 1:05 am
Forum: Other or Discontinued Oscilloscopes
Topic: C# Example: using TekVISANet.dll
Replies: 14
Views: 60925

Re: C# Example: using TekVISANet.dll

Great, thanks very much.
by dag99
July 8th, 2014, 4:01 am
Forum: Other or Discontinued Oscilloscopes
Topic: C# Example: using TekVISANet.dll
Replies: 14
Views: 60925

Re: C# Example: using TekVISANet.dll

Sorry I should have asked the following question in my previous post;

Where do I find a list of the strings for each setting ie. "WFMPRE:YMULT?"

Ive searched the TekVisa Programmers Manual and also the Reference manual but cannot find anything.
by dag99
July 8th, 2014, 3:24 am
Forum: Other or Discontinued Oscilloscopes
Topic: C# Example: using TekVISANet.dll
Replies: 14
Views: 60925

Re: C# Example: using TekVISANet.dll

Ive downloaded the latest TEKVISA verson from the Tektronix website.
Any known issues with using TekVISANet.dll be with the TBS1052B scope?
Also are their any limitations to this DLL as regards setting parameters and reading waveforms? TIA
by dag99
July 8th, 2014, 1:53 am
Forum: Other or Discontinued Oscilloscopes
Topic: Using ActiveX Control to Talk to Oscilloscope (TBS 1052B)
Replies: 1
Views: 10629

Using ActiveX Control to Talk to Oscilloscope (TBS 1052B)

Hello I've started using the TekVisa ActiveX control and Im wondering if their are any sample programs available that would show stuff like connecting/disconnecting, setting parameters, reading waveforms. Ive found a few snippets of code searching the Boards which is helpful but it would be really u...
by dag99
March 31st, 2010, 2:26 am
Forum: Other or Discontinued Oscilloscopes
Topic: TDS2024B Drivers for Windows 7
Replies: 1
Views: 13753

TDS2024B Drivers for Windows 7

Hi Ive written a Windows application (using Visual Studio 2008). The applications talks to the TDS2024B oscilloscope. Ive installed the application on a clients PC but Windows requires a device driver for this oscilloscope. Can anyone point me to where I can download device drivers (for Windows 7 32...
by dag99
March 31st, 2010, 1:49 am
Forum: Other or Discontinued Oscilloscopes
Topic: Does TekVisa Run on Windows 7?
Replies: 1
Views: 13496

Does TekVisa Run on Windows 7?

I have Windows 7 Professional 32 bit version. I tried installing TEKVISA from http://www2.tek.com/cmswpt/swdetails.lotr?ct=SW&cs=sut&ci=5738&lc=EN I followed the instructions. ie. downloaded executeable to my hard-disk then ran it from there. However after a couple of minutes I got a "this product i...
by dag99
June 16th, 2009, 2:55 pm
Forum: Other or Discontinued Oscilloscopes
Topic: How to Set "DEFAULT SETUP" from software?
Replies: 2
Views: 65049

Re: How to Set "DEFAULT SETUP" from software?

viClear()?

You're right I cant believe I missed that and Ive been through the programmer manual a few times.
by dag99
June 16th, 2009, 4:42 am
Forum: Other or Discontinued Oscilloscopes
Topic: How to Set "DEFAULT SETUP" from software?
Replies: 2
Views: 65049

How to Set "DEFAULT SETUP" from software?

Hi Im trying to simulate pressing the "DEFAULT SETUP" button in software. The scope Im using is the TDS2024B. I dont want to use the TEKVISA control because the project that Ive been thrown into is not using this. Its using the VISA.h functions. I think adding this control now could be hazardous. Th...
by dag99
May 27th, 2009, 6:24 am
Forum: Other or Discontinued Oscilloscopes
Topic: Error on Setting Vertical Position from Software
Replies: 5
Views: 74566

Re: Error on Setting Vertical Position from Software

>>The waveform must be visible on the screen, if it clips, the data is not valid. Are you sure there is no other explanation? Ive manually applied the scale and vertical_offset values and the waveform fits on the screen OK. No clipping. But when Im doing it using software (as explained previously in...
by dag99
May 26th, 2009, 8:54 am
Forum: Other or Discontinued Oscilloscopes
Topic: Error on Setting Vertical Position from Software
Replies: 5
Views: 74566

Re: Error on Setting Vertical Position from Software

The ConfigureChannel (below) appears to work fine. I can see the scale has been set properly from the oscilloscope display status = tktds1k2k_ConfigureChannel(currentSession, channel, scale, 0, *coupling, 1 , VI_TRUE); But its this bit that causes an exception. Ive checked that the numbers are in th...
by dag99
May 26th, 2009, 7:16 am
Forum: Other or Discontinued Oscilloscopes
Topic: Error on Setting Vertical Position from Software
Replies: 5
Views: 74566

Re: Error on Setting Vertical Position from Software

Hmmm...jumped the gun at bit. Ive made sure the offset should always be in the correct range but Im still getting the exception.
The waveform itself is off the top of the screen. So is this exception occurring because the waveform itself isn't visible NOT because the position value is invalid?
by dag99
May 25th, 2009, 11:27 pm
Forum: Other or Discontinued Oscilloscopes
Topic: Error on Setting Vertical Position from Software
Replies: 5
Views: 74566

Re: Error on Setting Vertical Position from Software

I managed to fix this. I was outside the limits for the vertical position. I used the following to make sure within limits. if volts_per_div <= 200mV then vertical_postion_max = 2V if volts_per_div >= 200mV then vertical_postion_max = 50V Note: Probe Attentuation should be factored in as well but it...
by dag99
May 22nd, 2009, 4:19 am
Forum: Other or Discontinued Oscilloscopes
Topic: Error on Setting Vertical Position from Software
Replies: 5
Views: 74566

Error on Setting Vertical Position from Software

Can anyone help with this? Im doing the following to set the vertical offset. status = tktds1k2k_SetAttributeViReal64(currentSession, channel, TKTDS1K2K_ATTR_VERTICAL_POSITION, position); Im getting the following error message: 0x08ebda30 "Primary Error: (Hex 0xBFFA0010) Invalid value for parameter ...
by dag99
May 21st, 2009, 12:53 am
Forum: Other or Discontinued Oscilloscopes
Topic: TDS2024B - Screen Freezes Sometimes
Replies: 2
Views: 68005

Re: TDS2024B - Screen Freezes Sometimes

Thanks for the reply. Ive just found out its my software thats causing the screen to freeze. Im just getting up to speed with this project (been thrown into it mid-way through after previous guy left).
by dag99
May 21st, 2009, 12:51 am
Forum: Other or Discontinued Oscilloscopes
Topic: Can I set "Default Setup" and "AutoSet" from software?
Replies: 6
Views: 81080

Re: Can I set "Default Setup" and "AutoSet" from software?

Buck
Thanks a lot. Thats very helpful

cheers.
by dag99
May 15th, 2009, 4:33 am
Forum: Other or Discontinued Oscilloscopes
Topic: Can I set "Default Setup" and "AutoSet" from software?
Replies: 6
Views: 81080

Re: Can I set "Default Setup" and "AutoSet" from software?

Hi

Thanks. Im trying to implement this using C (or C++). I dont suppose someone could post a code snippet that shows how the command "AUTOSET EXECUTE" is sent to the scope?

Go to advanced search