Conversion of resource name of Visa on behalf of the unit?

Hi guys,.

Since the 'VISA' resource name, I am able to get all of the GPIB devices connected to my computer.

I wonder how I could display the names of devices, such as "Agilent E3632A" instead of just "GPIB::6:INSTR".

Thank you

William

SeriousTyro wrote:

But if I were to create a version of the runtime of it and run it on another computer with the same equipment, GPIB addresses would be different unless changed manually.

If you use aliases, it is immaterial that is the real address of GPIB, although I agree that it is generally a good idea to keep your testers configured the same way.

What are you really want to do? There is no mechanism to populate the actual VISA Resource Name control with something else, the alias or canonical name. You can use strings as inputs for VISA works so as we already mentioned, you can find specific instruments by a * IDN? for all resources and then the analysis answers. Not sure if this is easier that just assign a significant alias (DMM, scope) to the instrument in the first place.

Tags: NI Software

Similar Questions

  • store the resource name of visa in variable teststand

    Hello

    can I store a VISA resource name in a variable of teststand using the property api set of labview?

    If Yes, then I know how?

    concerning

    Giri-

    HI Giri,

    You can store as a string Variable in the TestStand using the "set property - value chain.

    Kind regards
    Nitz

    (Bravo to give good answers, mark it as a Solution If your problem is resolved)

  • Select the symbol on the artboard and copy the name of symbol on behalf of the Board of Directors art

    I'm generating icons in AI CS6

    I have files WITH 100 work plans

    Some Arts Councils are still empty, just underway.

    On the artboard, I gross and paths on a separate layer called symbols with a symbol only.

    The symbol layer could be the layer is visible.

    100 symbols in the document.

    Now, I want to copy these names for the names of art Council for export and a text box on the art map for an overview of printing.

    I found a script to rename a layer in its content - but it does not recognize the symbols

    I found a script to rename a work plan in a layer

    I found a script to place a text box with the name of Council of art on the art map.

    I can't combine them, please help!

    I can make applescript and Filemaker scripts, but I'm new to Javascript.

    Rename the layer to the content - does not recognize symbols!

    function LayerNameMatch() {}

    If (app.documents.length == 0) {}

    Alert ("No. Open/Active Document Found");

    } else {}

    var doc, i, l, ab, salt, n;

    doc = app.activeDocument;

    for (i = 0, l = doc.artboards.length; i < l; i ++) {}

    AB = doc.artboards [i];

    doc.artboards.setActiveArtboardIndex (i);

    doc.selectObjectsOnActiveArtboard ();

    Salt = doc.selection [0];

    sel.parent.Name = sel.name;

    doc. Selection = false;

    }

    }

    }

    LayerNameMatch();

    Work plan and rename the layer name:

    If (app.documents.length == 0) {}

    Alert ("No. Open/Active Document Found");

    } else {}

    var doc = app.activeDocument;

    If (doc.artboards.length == doc.layers.length & & doc.layers.length == doc.artboards.length) {}

    for (var i = 0, l = doc.artboards.length; i < l; i ++) {}

    var ab = doc.artboards [i];

    AB. Name = doc.layers [i] .name;

    }

    Alert ("completed: \nRenaming work plans to match the names of layers is finished");

    } else {}

    Alert ("OPPS: it won't work!") \n the number of layers and work plans do not match");

    }

    }

    Make a Textbox containing the name of art Council

    This script takes the names of artboard to a document and print them in each work plan.

    Tell the script to operate only on the document open and targeted

    myDocument var = app.activeDocument;

    IDoc var = app.activeDocument;

    ilayer var = idoc.layers.add ();

    ILayer.Name = "0 SeitenName";

    STEP 1: create labels for each work plan

    Grab a hold of work plans

    for (var i = 0; i < app.activeDocument.artboards.length; i ++)

    {

    Board graph var = app.activeDocument.artboards [i];

    For each work plan, add a new text block

    myLabel var = myDocument.textFrames.add ();

     

    fill it with the name of the artboard

    myLabel.contents = artboard.name;

    This line controls the font size

    myLabel.textRange.characterAttributes.size = 12;

    This line positions the text against each work plan

    myLabel.position = [artboard.artboardRect [0], artboard.artboardRect [1]];

    }

    You can use this:

    #target illustrator
    function test(){
        var doc = app.activeDocument;
        doc.selection = null;
        for(var i=0; i		   
  • resource name of visa as germination

    Dear all

    I have a program with different screws I want to configure the serial port of VISA only once and using this configuration, wherever I want. How to do this.

    Now I have to configure the VISA settings (such as: bird rate, resource VISA name, parity,...) whenever I want to read or variable wirte on port series.

    is there something like a global variable that I can save the configuration on that and use when ever I want in different screw Sub?

    Thanks in advance

    outside the WCC configures a resource of visa. You can connect to an another vi where this is an entry.

    So yes, this name is a variable resource. You do not have to reopen, in fact, you only open once and use it when you need it.

    If in doubt, send the vi with the question.

  • How to get the USB device in the list in the resource name field VISA VISA Open VI

    I followed the tutorial below to connect with my camera using the USB port. But I don't have the name of the USB port able & Automation Explorer list devices. How to get it? Can anyone suggest something?

    http://zone.NI.com/DevZone/CDA/tut/p/ID/4478

    Hi kimhyun,

    I tried this. But managed. I used the USB as my sugesstion to device.my USB is that you unplug your device at any point of your work. Check that the device is properly connected. IF your system has recognized your device, you can view the device in Control Panel > Device Manager > then open your particular device from the list of the connected device then details > description of the system > hardware ID > then you can find here the code from your provider.

    Try this. I think that your device is connected to loosen. What USB device you are using? Also, you must install THE DRIVER FOR YOUR USB DEVICE.

    Good luck

  • VISA resource name strings

    Hello

    I have a control "VISA Resource Name" on my front, according to the guidelines of the attached screenshot, which should automatically fill with the names of all the VISA resources that the PC can see.

    Is it possible to get a picture of these names as strings (via a property node, or other) programmatically?

    Thank you very much

    Dan

    In the schema click Instrument of e/s > VISA > VISA advanced > VISA find resources. This VI returns an array of strings. You can type cast the string in a resource VISA type.

  • How to create names for VISA resources

    Create a VI to interface with a Tektronix Oscilloscope. Tek drivers all use and transmit handles instrument VISA Resource Name to the format.

    Yesterday, I simply plugged a text string with the characters of text on the Tek pilot and it's happy. String = "GPIB::12:INSTR".

    Today, LabVIEW dislikes this incompatibility of format, and I get an error of the pilot.

    My format of the string looks OK, but I have to do something wrong. None of the tools VISA simplty interrogate the device for his VISA resource name. How to do it?

    Thank you.


  • Name of resource of research VISA

    Make a list of the ports com using VISA find resource name (VSRN)... However, I would like to refine my results. Currently the output string array gives me a list of COM Ports such that I did not define what search string in "expression" see attached vi.

    I would like to just display the COM Ports of devices that have authenticated with a standard series via a bluetooth link, is it possible? I looked using VSRN and can't see an appropriate string "expression" to refine my results.

    Also is there anyway to extract the name of the device using a property or call the node when you know that the Com Port it is associated?

    Thank you

    Stroke

    I do not think that discriminatory VISA to different types of COM ports: at this level, they are all common serial ports.

    With virtual ports, you can find a description of non-empty (VISA property node: Description of the Interface).

    However this feature of course strongly depends on the virtual port driver; In addition, NOR recommend to use it for programming, because its implementation may change in the future releases it.

  • Create the VISA of String resource name

    Hi all.

    I'm newbie working with VISA screws. I would create a resource name VISA from a string containing only the alias VISA, for example, COM4. The reason is that the serial port is chosen via a dialog box created by a node call library feature.

    Thanks in advance,

    Francisco

    Hello

    You can use a cast to this type. See the example.

    Kind regards

    Amine31

    (Give congratulations to good answers and Mark as a Solution If your problem is resolved)

  • visa resource name function

    Hi good day to everyone!

    I am a beginner to LabVIEW, and currently I'm testing on a single project.

    Store device data in Server series of STS (which has 16 com ports).

    But I need to use 7 series STS server com ports. I need to read that data 7 com ports and save in a file.

    Each com port has a different function (for example the reading of data or display).

    My question is,

    (1) VISA resource name operation function for 7 com ports at the same time to a VI?

    (2) how can I choose different com ports to different functions?

    Kind regards

    Control of resources of e/s of VISA will show you all the com ports you have on your computer.

    So you just need to make 7 copies of that control and the value of each of them to another com port and use for each VISA entry and read the series of functions that you do.  (Have you looked in the example Finder to get examples of serial port?)

  • Select VISA resource name

    Hi all

    I have a visa select resource name in my program that would allow me to choose my channel GPIB.  When I click on the down arrow to select, it takes a long time (about 6 s) for options will appear.  Yes, some options are remote resources.  Is there a way to make the resource name of select visa more responsive drop-down box?  Thank you!

    Yik

    Employment visa find resources at the beginning of your program. It should work.

    Edit: I said should work - let me know if it actually works!

  • A control "VISA Resource Name.

    In LabVIEW, there is a control "VISA Resource Name" which lists all the VISA resources, is automatically updated when devices are plugged or not plugged in and has a navigation feature.

    With CVI, you can use NIDAQmx_NewDeviceCtrl () on a control of the chain, but it lists only the DAQmx resources.

    There is another function that I can use to have all resources VISA listed?

    Hey Vix,

    It seems to be the only solution. Here you will also find an example.

    I hope that helps!

    Bye,.

    Licia

  • Resource name unique for each serial port 8431/8?

    Hi all

    I develop test applications using the NI PXI-8431/8 serial interface card.  Because I do not have the hardware, I'm not sure how it will recognize in NOR-MAX, and given that (probably), it will use the generic functions of the series VISA, I can predict no special configuration option (no special driver).  Each of the 8 ports on the map series will appear in NOR-MAX as it is the name of the own resource of individual VISAS, or I have to find another way to tell the difference between channels/ports?  Please notify. Thank you.

    GSinMN

    They will appear as COM ports normal series.  Nothing special.

  • VISA (Hex 0xBFFF001E) error the specified state, the attribute is not valid or is not supported as defined by the resource.

    Hello

    First of all that I must say I just starting with control of the instrument using Labview. For this reason, it is possible that the problem I have is easy to solve. However, I am looking for any solution for the forum, but unfortunately I can't fint anything.

    While the situation is this: I'm looking to plug a power Analyzer (Yokogawa WT1800) with the PC through GPIB. To achieve this, I use the USB/GPIB Interface of Agilent 82357 B. The connection is done correctly because I can see and communicate with him through the Explorer NI MAX.

    In order to achieve control of the instrument using Labview, I downloaded and installed the driver of Yokogawa WT1800 (Driver instruments ykt1800) using the NI Instrument Driver Finder tool. The problem I have is that when I run the examples, I find the following error message:

    Error 1073807330 has occurred to the property (arg1) node in Yokogawa WT1800 Series.lvlib: Initialize.vi-> Yokogawa WT1800 series continuous measurement Normal.vi

    Possible reasons:

    VISA: (Hex 0xBFFF001E) the State specified, the attribute is not valid or is not taken in charge as defined by the resource.

    I tried to change the input of the open Visa arguments vi because I think that this is where is the problem, but I can't reach any solution. The following image is attached to the block diagram of the initialize.vi:

    Any help is appreciated.

    Thank you.

    I suspect the redirect property. Try to remove it.

  • niRFSG Initialize.vi error: AWG resource name is not valid

    Hello

    I use an SMU-5442 arbitrary signal generator and a PXI RF Upconverter - 5610. The RF PXI-5610 converter is PXI1Slot5 inside the MAX and the SMU-5442 AWG is PXI1Slot7.

    When I gohttp://ftp.ni.com/pub/devzone/epd/rfsg-generate-fm.vi of http://zone.ni.com/devzone/cda/epd/p/id/5620 , I get the error messages.

    For the resource name = PXI1Slot5

    code-1074117675

    niRFSG Initialize.vi a session cannot be created because the resource AWG name is not valid. Specifty the resource name of AWG Max by right clicking on the converter, and then select Properties. If you specify the working group through the chain of the Option, make sure that the resource name of AWG is valid.

    For the resource name = PXI1Slot7

    code-1074117636

    niRFSG Initialize.vi the specified device is not supported by this driver.

    which is correct, because PXI1Slot7 is the GTA and the VI is just using the niRFSG screws

    When I use a selector instead of the string of the Option, I can only choose the RF PXI - 5610 Upconverter is PXI1Slot5, but I still get the same error message.

    A you link them in MAX? In other words, the converter and the working group.

Maybe you are looking for

  • How can I find the music I have in the heart by listening to Radio Apple?

    I have the heart by listening to Radio Apple? I have heart bunch and am now unable to find them. And when I say hearted it is this heart that appears next to the title of the song when you listen to it on Radio Apple.

  • Apple sells these upgrade memory cards?

    Trying to upgrade my iMac memory, looking for a reputable seller/reseller to purchase and I'm surprised of not not so far to find a product page of apple for the memory. Any ideas where to buy these things?

  • Operate websites on safari does not work

    Help please! After the last update on my IPhone not from websites after a search on Google or any other engine is open. Click on the name of the site and nothing opens. Can anyone help? Thank u!

  • Updated entries on day of a Subvi with while loop

    Hi there guys! It's my first serious experience with LabVIEW, so the question may seem trivial to you, but it's not obvious to me how to solve this problem. So I do an installation that integrates a number of flow regulators, a temperature regulator,

  • Sony TRV 280 iLink troubleshooting

    When I try to download video files from the band from Handycam to my laptop that is running Windows Vista, I get no error of compatible device. The pop-up window appears on the computer screen asking which program to use when I turn on the camera, bu