Ethernet control of Tektronix scope using VISA

Hi,
I have got a new scope, TDS7104 and I want to remotely control it through the Ethernet port. Can anyone help me on how to do this using VISA. I haven't used VISA and I don't know how to start. Most of the examples I have seen are for GPIB and serial interface control. So, I am not clear as to how to use the Ethernet port to control the scope. With the scope, there is a TekVISA software but the examples they have given are for command line programming through C and I don't know how to do it in LabVIEW. Any example would be of great help.
Thanx & Regards,
Srini.

There is a great Knowledge Base article on our website that discusses how to control Ethernet instruments with NI-VISA found here.
While I am unfamiliar with using Tek-VISA, NI-VISA does have many cool features. Some of these features include the VISA Interactive Control where we can open VISA sessions on the fly without any programming, NI-Spy which allows us to log all NI-VISA driver calls helping us narrow down programming errors and behaviors, and seamless integration with Measurement and Automation Explorer allowing us to configure VISA and test our devices all in one place. More information on NI-VISA can be found at the following document links:
”NI-VISA and Tek-VISA; Which Do I Install?
”NI-VISA Product Information”
Hope that helps!
Craig H.
NI Applications Engineering

Similar Messages

  • Controlling two GPIB instruments using VISA

    I'm using Labview 5.1.1 (unfortunatly I have no way of getting a better version) and I want to control a multimeter and a powersupply. I need the power supply to vary it's output while the multimeter reads the data for the different power supply outputs. This means that the multimeter and power supply need to work synchronously. How can I do this using VISA? or is there an easier way?
    -Labmonkey

    This isn't really operating "synchronously" - you're really just trying to set up a closed-loop system. Is there an easier way? Yes. Check if the power supply has remote sense capability. This does exactly what you're trying to do. This is a far better solution that trying to perform the closed-loop system in software. In fact, I would get a different power supply if the one you have doesn't have remote sense capabilities, but that's just me.
    If you *really* had to do in software you basically have to set up a while loop that get the measurements from the multimeter, compares it to the desired setting, sees if it's within your desired "error", calculates how much delta to apply to the programmed voltage for the power supply (taking into account that the
    programming resolution of the power supply won't be the same as the measurement resolution of the multimeter), and the programs the power supply to the new, corrected, setting.
    Still say you're better off with a power supply with remote sensing.
    -Saverio

  • Controlling Agilent E4438C ESG using NI-VISA GPIB

    Hii all,
    I am controlling Agilent E4438C ESG using NI VISA GPIB...Whenever i want to set the amplitude and frequency, i will send it the commands....but when i want to capture the information i am unable to do it....
    I gone through the VISA GPIB user and programing manual ..there is various functions such as ibwrt etc..How can i use those commands in the LabVIEW...
    One thing more ..i wanna to know, the commands vary according to the instrument type..
    If yes from where i can get those commands for Agilent E4438C ESG....
    Puneet
    CLA 2014
    CCVID 2014

    You should download the driver. The main search page is at http://sine.ni.com/idnetwork/. Just enter 4438 into the search field and you will find the driver.
    Your comment about capturing the information is not clear. What exactly do you want to read back from the instrument? You should spend some time reading the programming manual for the instrument. When you find the query (a command terminated with a '?") you want to issue, you would see if it exists in the driver. If it does, just execute the driver function. If it doesn't, then you do a VISA write of that command and then do a VISA Read.
    p.s. The programming manual is available from the vendor.
    Message Edited by Dennis Knutson on 02-13-2008 09:18 PM

  • Using a Tektronix Scope as a multimeter

    I'm currently working on a lab equipment automation project.
    Unfortunatlet we don't have a GPIB-enabled multimeter, but we do have
    an old Tektronix TDS 724C Oscilloscope. I'm trying to use the scope as
    a multimeter (just take voltage readings) but I can't find the
    necessary commands. Do Tektronix Scopes' have some basic GPIB commands
    to returned measured voltage or frequency? I haven't been able to find
    any in the Tektronix Programming Manual. Thanks for any help,
    Sam Johnson

    "Sam Johnson" wrote in message
    news:[email protected]..
    > I'm currently working on a lab equipment automation project.
    > Unfortunatlet we don't have a GPIB-enabled multimeter, but we do have
    > an old Tektronix TDS 724C Oscilloscope. I'm trying to use the scope as
    > a multimeter (just take voltage readings) but I can't find the
    > necessary commands. Do Tektronix Scopes' have some basic GPIB commands
    > to returned measured voltage or frequency? I haven't been able to find
    > any in the Tektronix Programming Manual. Thanks for any help,
    >
    > Sam Johnson
    Try the TDS 724D
    http://search.ni.com/query.html?col=alldocs&layout=IDNet&qp=contenttype:inst
    rumentdriver&qt=TDS+724C

  • LabVIEW crashes when trying to use VISA controls

    When I try and place VISA controls onto the front panel or a constant into the block diagram LabVIEW crashes and says that LabVIEW.exe caused an error and that LabVIEW must be restarted. Is there some setup required in order to use VISA or is there something wrong with LabVIEW?

    I saw something that sounded exactly like this myself on two PC that where running some kind of "Eveidence Eleminator" software that got its hooks into everything.
    I never did get it running on those two machines.
    I saw something similar when trying to access a serial port that was hanging off of a USB gizmo.
    We downloaded the latest and greatest version of the driver for the USB to serail device
    and
    upadted NI-VISA to the latest and greatest.
    Then everything worked.
    It was just like you mentioned, LV looks fine right up until you drop a VISA control.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Screen capture of Tektronix MSO4104B using LabVIEW

    I am trying to acquire a screen capture from a Tektronix MSO4104B oscilloscope using LabVIEW. I currently am able to collect data from the device, and have a waveform displayed on my VI front panel. However for various reasons, our preference is to capture the actual screen shot from the scope.
    I have reviewed the programmers reference for this device, and have made countless searches on Google for an answer, but haven't been able to find a solution. It appears that a few people have been able to accomplish this on OTHER Tek scopes by sending a hardcopy through the communications port (GPIB, USB, Ethernet, etc...) however according to the programmers reference for this particular device, it appears that it will only send a hard copy to an installed printer, rather than simply as a data stream to the port that can be read using VISA commands.
    The other solution I have seen is to save the screen shot to a flash drive, then copy the file through the port to the PC. However, neither of these solutions seem to be available on this device...this is one of the most advanced scopes that Tek makes...I can't believe this is so difficult!? Please help!
    Solved!
    Go to Solution.

    I used a TDS3000 series scope from Tek and had success using the Hardcopy command.  Note that I used the GPIB.  Here are the commands I used.
    HARDC:PORT GPIB;
    HARDC:INKS ON;
    HARDC:FORM PNG;
    HARDC START
     I also had fun because I had to recieve the data in chunks since an entire png file could not be transfered in one chunk due to buffer limitations.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Attachments:
    tek screen capture.png ‏19 KB

  • MCDC3006S using VISA

    Good day all,
    I was looking for how to drive a FAULHABER  Brushless servo- motor motor using the driver from the company (MCDC3006S). I will like someone with experience to please help out. While reading and searching for a solution I saw this link http://zone.ni.com/devzone/cda/tut/p/id/3367 and after reading through it came to my surprise that the word VISA was not mentioned in the tutorial as anything related to driving a motor. The reason why I am surprised is that I have seen in the data bank of the Labview forum where people have driven their motor with SERIAL communication. Please kindly clarify this.
    Secondly, how do you think I can drive my motor with less stress.These are what I have
    1) Faulhaber DC minimotor
    2)MCDC3006S(The driver)
    3)PCI 6221
    4) Labview 2011.
    Please I am tight on budget and anything CompactRio cannot be accommodated.
    Than you as I await your response.

    The only time you need to use VISA or Serial is if you are using a third party motion controller or integrated controller/driver that connects to the PC via serial or Ethernet.
    When using the NI Motion Controllers you do not need to use VISA - you use the FlexMotion palette found on your tools palette under Vision and Motion.  If you are using SoftMotion you again would be using a different palette (but that is more advanced).  This is why you do not see VISA mentioned in the NI article you mentioned, they assumed you would be using NI Motion Controllers (i.e. PCI 7340, 7350, etc.).
    With the controller you mention MCDC 3006S unless http://www.imotionsys.com/ provides a LabVIEW driver API that has the code written for you, you will have to write an Instrument Driver knowing the serial commands and syntax of the MCDC 3006S to get LabVIEW to control the motor system.
    Ryan Vallieu
    Automation System Architect

  • How can i control the Tektronix AFG3022 with LabView 7.0

    I am trying to control the Tektronix AFG3022 Function Generator with LabView 7.0. Is there a premade program I can download and use?

    If it is not in 7.0 make new thread and ask nice if someone can convert to labview 7.0.
    Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
    (Sorry no Labview "brag list" so far)

  • How do I use VISA to perform GET (Group Execute Trigger) to three DMMs?

    Hi,
    My systems have about 4 GPIB instruments connecting to my computer via Agilent GPIB-USB Interface card.  I have to use VISA to communicate with the interface and instrument.  I wish I can use NI488,.2 but it does not seem to work with Agilent card.  In NI488.2, I could easily send a command such as X? (to read value from Agilent 3458A) to 3 DMMS at once using sendlist module.  However, I do not know how to do similar parallel poll in VISA.  Can anyone help?  There are three FLUKE8505A on the system.  My goal is to read the three measured values triggered  simultaneously on these three FLUKE DMMs. 
    Sincerely yours,
    Rose

    Hi Rose,
    The How Do I See My Agilent 82357A GPIB-USB Interface in MAX/LabVIEW? knowledgebase article explains how to use an Agilent USB-GPIB with NI-VISA. Using the NI-VISA driver will require you install the Agilent I/O Libraries 14.0 and uninstall the Agilent VISA driver.  Once you get your Agilent GPIB-USB device recognized in MAX, you should be able to control the instruments using LabVIEW. 
    Regards,
    Andy L.
    Applications Engineer
    National Instruments

  • Which language is better to develop the software that controls the Tektronix-Sony 370A Curve tracer and how to approach it?

    Which language is better to develop the software that controls the Tektronix-Sony 370A Curve tracer and how to approach it. I a a fresher in this field. Please any one help us developing the software.

    If you're looking to develop a driver for the instrument, one already exists and can be download here or you can get it off of the driver disk that comes with LabVIEW. If you're asking for the best language in which to write an application program that uses the driver, the obviously the answer is going to be LabVIEW. Note that you might get a different answer if you post the question to a Visual Basic or C++ forum but those answers would be wrong.
    Message Edited by Support on 11-26-2008 01:33 PM
    Message Edited by Support on 02-17-2009 09:30 AM

  • Do you know a unicast protocol for the Ethernet control plane?

    Hi,
    Does anyone know a protocol for the Ethernet control plane which has a unicast destination address?
    MVRP, MMRP, MSTP, RSTP, all these protocols have a multicast reserved destination address.
    Perhaps we have to look non-802.1Q control plane protocols.
    Best regards,
    Michel

    Hi Peter,
    > I wonder if any of the OAM protocols, especially the one providing the loopback/ping test is unicast-based.
    In G.8013 (07/2011) section 7.3:
    "The Ethernet loopback function (ETH-LB) is used to verify connectivity of a MEP with a MIP or
    peer MEP(s). There are two ETH-LB types:
    • Unicast ETH-LB.
    • Multicast ETH-LB".
    > In any case, think of LOOP frames sent by Catalyst switches to detect  self-looped ports. In these frames,
    > the source and destination MAC  address are set to the unicast MAC of the egress port.
    As I said above, it's a good case for my little study.
    The LOOP frame, from Cisco, was certainly interesting and important before 2004.
    Since 802.3ah-2004 we have the OAM remote loopback (in link OAM, and not network OAM as ETH-LB).
    Best regards,
    Michel

  • Do I need labview drvier disc for using VISA?

    Hi,
      Do I need  to install the labview driver disc for using VISA (virtual serial port) function? I get the error as the picture? I have no clue what happen.
    thanks
    ====================
    =Labview 7.0 & 8.0 & 8.5=
    =====================
    Attachments:
    labview8.JPG ‏22 KB

    my aim is to use my bluetooth enable notebook (no serial port) to control a bluetooth serial port adapar on a circuit.
    That means "only a bluetooth serial port adapar" is in the whole project. I need to use my notebook bluetooth to control the bluetooth serial port adapar output in the independent circuit, any suggestion?
    I think I need to control a "virtual serial port" and then send the "virtual serial port" data via bluetooth, then use those bluetooth infromation to control the independent circuit        
    Message Edited by zmarcoz on 02-16-2008 03:05 PM
    ====================
    =Labview 7.0 & 8.0 & 8.5=
    =====================

  • Lecroy 6100 Ethernet Control by Labview

    Hi All,
    I'm just new here and just starting in LabView. I really appreciate if someone could help me. This is the situation: I want to communicate/control a Lecroy 6100a oscillsocope using LabView on my PC. I've already studied some tutorials for GPIB communiation between LabView and an instrument. Actually, i have succesfully done this using a VI to control a GPIB controlled instrument. However, the Lecroy 6100a that we have here doesn't have the GPIB port i needed. I've already installed the driver for this instrument on my PC, but since there is no GPIB Port available on the Lecroy that we have, i can't communicate with the instrument.
    With the help of some search here in the forum, i was able to know that it is possible to control the Lecroy 6100a using the Ethernet port. I tried to look for some tutorial on this but unfortunately, i can't watch the video provided by NI. Then, i decided to go back here in the forum.
    Could someone here give me any instruction on how to configure/control the Lecroy 6100a oscilloscope using LabView through an Ethernet port? or is this possible?
    Many Thanks in Advance!

    Hi All!
    I had already make this thing work! By the way, thanks to All!.  
    Maybe if i had future problem regarding the Lecroy 6100a and LabView, i'll just consult again.
    Thanks!

  • How do I use VIs developed on LabView v8.2.1 with a system running LabView v7?

    Hi...I need to use VIs developed on v8.2.1 for a Network Analyzer on another system having v7.0. Is there any way to down-convert or save VIs for previous version 7.0? I checked the 'save with options' menu but could only find v8.0 in the list of previous versions. Thanks. 

    Hi Omkar,
    to save it for LV 7.0 you need LV 8.0 and as far as i know LV 7.1. With LV8.0 you can save it for LV7.1 and with 7.1 you can save it for 7.0. If you have only a few vi´s you can ask someone here in the forum if he can help you.
    Mike

  • CRM 2011: Can you control which form is used based not security roles, but on a field value?

    I see that you can control which form is used based on security roles, but can you control it based on other field values?  I'd like a new record to use a different form until a given status is updated.  I have a status of draft and active. So
    it would be nice if I could use form1 for those in draft, form2 for those that are active.  But I only see where you can control that via the security roles.
    I can code all of this via JavaScript, but having the ability to use two separate forms would be nice.  Is that even possible.
    Best regards,
    Jon Gregory Rothlander

    Hello,
    Recheck following article - http://gonzaloruizcrm.blogspot.com/2014/11/avoiding-form-reload-when-switching-crm.html
    Dynamics CRM MVP/ Technical Evangelist at SlickData LLC
    My blog

Maybe you are looking for

  • How do i set up a 2nd email for my 10yr old using my .mac account

    I'm been fumbling around trying to figure out how to add a new mail account for my 10 yr.old without messing with my own .mac account. I've set up a new user account but when I go to the mail program, I just don't get how to set up a 2nd account usin

  • SOCO function "Complete Item" doesn't work

    Helo. Please help to solve a problem. We have SRM 5.5 We want to remove positions from SOCO through function "Complete Item". But at logon under the Ukrainian language function doesn't work. At logon under English language function in SOCO works. How

  • Surround bounce - how do you select the number of channels?

    When doing a surround bounce, Logic is always giving me a 5.1 even though I want a different number of channels. I have my surround setup selected in audio preferences, and it seems like it should bounce using that same config, but it does 5.1 either

  • Camera operation?

    Yea I just had a quick question about the built in camera on the S10-t3 ideapad. Is there software already installed from the factory that allows you to record video or take a picture straight from the built in camera that saves to the computer? The

  • Mail.app making excessive number of connections

    I have had (as have many other folks I know) this annoying issue of Mail.app suddenly throwing up a dialog asking for my password for a mailserver. For unknown reasons (until now) sooner or later the behavior would self-correct and the password reque