LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to control the Tektronix TDS5104B Oscilloscope?

I m trying to control the Tektronix TDS5104B Digital Phosphor Oscilloscope [DPO] via LV. I downloaded the latest zip of driver VIs from the link http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=6566BC3787B433D2E0440003BA7CCD....

 

It says it is compatible for my model of DSO also. But the Timebase [Configure Timebawse.vi] and the Vertical Range & Vertical Offset parameters [Confugure Channel.vi] are not working properly in the opinion of my customer. I m not that kind of a H/W familiar person.

 

But when I opened the Confugure Channel.vi, I found the Vertical Range to be scaled down by a factor of 10, reg which there is no documentation/help for the reason behind this. Smiley Sad

 

Can somebody explain me why is it done so. Smiley Indifferent

 

Also, some starting steps/directions to control the DSO totally via LabVIEW by giving all its front-end options in the UI to be made in LV...

- Partha ( CLD until Oct 2027 🙂 )
0 Kudos
Message 1 of 9
(7,101 Views)

parthabe wrote:

 

I found the Vertical Range to be scaled down by a factor of 10, reg which there is no documentation/help for the reason behind this. Smiley Sad

 

Can somebody explain me why is it done so. Smiley Indifferent


I reported some same kind of scaling problem here. But the only way i have to make it work out is to use the normal visa write to send the exact command to set the vertical and horizontal properties. Study the oscilloscope manual and get the syntax for the configuration of the channel and let me know if you stuck up anywhere.

 

Mathan

0 Kudos
Message 2 of 9
(7,097 Views)

Partha,

 

I'm not sure about the timebase, but the factor of 10 issue may be because of the attenuation factor of the probe.  Tek probes have extra pins at the plug that contact a ring around the BNC receptacle.  Between those pins & common they put different values of resistors to tell the scope what type and attenuation probe is plugged it.

 

The actual vertical range is adjusted by the probe attenuation.  If the customer is using a non-Tek probe, the attenuation will be 1, unless you set it through software or the customer sets it from the Probe Setup selection on the front panel.

 

    

Message 3 of 9
(7,082 Views)

Wish to continue in this same thread...

 

Is there any way to input a %Trigger element into the Configure Trigger(Edge).vi for the Tek DPO 5104B?

 

The programming manual is not available to read & get the H/W command set for myself.

 

Any help would be much appreciable...

 

 

Also, the Position input in the Timabase Configuration is not at all effective, as compared to the actual physical adjustment on the DPO itself. Any ideas on how to achieve this...

Message Edited by parthabe on 11-02-2009 03:10 AM
- Partha ( CLD until Oct 2027 🙂 )
0 Kudos
Message 4 of 9
(7,042 Views)

parthabe wrote:

 

Also, the Position input in the Timabase Configuration is not at all effective, as compared to the actual physical adjustment on the DPO itself. Any ideas on how to achieve this...


Don't depend on the instrument driver for this setting. Use this normal VISA Write command. Post back.

 

timebase.png

 

 


Is there any way to input a %Trigger element into the Configure Trigger(Edge).vi for the Tek DPO 5104B?

 

The programming manual is not available to read & get the H/W command set for myself.


 

Can you please expand this? We can set the trigger level(user-defined). You want to set it by % value?

Message Edited by Mathan on 11-02-2009 06:02 AM
0 Kudos
Message 5 of 9
(7,029 Views)

Hi Mathan, Position command I m able to solve like the one in the pic attached. Smiley Happy


Mathan wrote:

 

You want to set it by % value?


 

Yes. Is Trigger Level input the only way or is there any command that can set the user-entry of %Trigger?

 

If there is no other option, I can work around converting the Voltage level into its equivalent %Trigger.

 

- Partha ( CLD until Oct 2027 🙂 )
0 Kudos
Message 6 of 9
(7,011 Views)
Sorry, pic attached here...
- Partha ( CLD until Oct 2027 🙂 )
0 Kudos
Message 7 of 9
(7,009 Views)

Is there any way to apply the Voltage & Timebase settings for all the four channels at one shot instead of calling the respective configuration VIs as many times?

 

I need to apply independent settings for all the 4 channels of my Tek TDS5104B DPO.

- Partha ( CLD until Oct 2027 🙂 )
0 Kudos
Message 8 of 9
(6,914 Views)

parthabe wrote:

Is there any way to apply the Voltage & Timebase settings for all the four channels at one shot instead of calling the respective configuration VIs as many times?

 

I need to apply independent settings for all the 4 channels of my Tek TDS5104B DPO.


 

Partha, i didn't understand your query. In the first line you told, you want to configure all the settings for 4 channels at a single shot and in the next line you want to configure independently. Can you please explai again.

 

Mathan

0 Kudos
Message 9 of 9
(6,911 Views)