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.

Tags: NI Software

Similar Questions

  • get the name of resource VISA

    I connect serial port COM3 to a digital multimeter, I can sure that COM3 is displayed in Device Manager. but I don't know if COM3 is in the name of resource VISA list. If COM3 is not in the list, I want to update resource VISA name.

    So my question is how to program can get the entire list of the name of resource VISA, so that the program can compare resource VISA with COM3 automatically name? How the program can update the name of resource VISA, if COM3 is not in the list?

    LabVIEW 2011 windows 7

    Thank you

    Control of resources VISA automatically displays the available visa resources. If it isn't then looks like there was an error in the installation of NI-VISA.

    An alternative is to use your own control, as suggested here: http://forums.ni.com/t5/LabVIEW/VISA-resource-name-control-want-to-refresh-list-of-COM-ports/td-p/13...

  • Can not find the name of resource VISA

    I am trying to run the example code, provided by the manufacturer with a 3a Keithley 2420 SourceMeter.  It is turned on and put in place for 488,1 protocol GPIB.  It is connected to my computer via a GPIB KUSB - 488A cable.  On the front panel of the example program, there is a menu drop down titled "VISA resource name."  The two options at my disposal are LPT1 and COM1, but I don't think one of this is the name of the resource on the right.  Does anyone know what the name of resource VISA should I use with the Keithley, or how I can find this? If it helps, I have provided the example program I use. Thanks in advance!

    As a general rule, only the material NOR will be recognized in MAX and you wouldn't get any VISA resource for Auditors not - NOR. If there is a VISA for the Keithley driver, you can try to install as secondary visa driver and enable Tulip MAX. Keithley support support is the best place to ask questions about the installation of their hardware to LabVIEW.

  • How to use USB with the name of resource VISA?

    Hello

    I am new to LabVIEW and I'm working on a code that must acquire data from a measuring device. This unit has only a USB output, so I have to work with it. As far as know the block that is used to refer to an external port is VISA resource name. I installed a driver that recognizes the serial ports, and they appear in the list of VISA resource file to the front panel. So I thought that installing the DEVICE driver so that the USB ports would appear. I installed and nothing of USB ports. I don't know it's as simple as that, or work with USB ports is a little more difficult. I tried many things and nothing worked I am here.

    PS: I noticed that the version of the driver is 64-bit (my pc is 64-bit) and my LabVIEW version is 32-bit, what could be the problem?

    The device incidentally is Digital Analyzer WT500, Yokogawa.

    Thank you.

    Victor,

    the suggestion driver instruments is to make it easier by using the instrument.

    Normally, you need to install a player from the manufacturer (if it is not installed, the instrument appears as a USB in Device Manager) and the driver NI-VISA. But for some instruments, manufacturers have APIs that uses NI VISA to communicate with your equipment.

    In order to check whether your instrument appears correctly in Device Manager (as indicated by Yokogawa). If this is not the case, check whether Yokogawa has a suitable driver for this tool and install it.

    Is this clear?

    If you wish, you can contact NI Brazil support site or by phone (11) 3149-3149 Ext 3.

  • Name of resource issue VISA with Hameg HMS1000

    Hello

    I have a HAMEG HMS1000 Spectrum Analyzer and I want to communicate with him using NI VISA and SCPI commands.

    First, I created a driver for my device with the information provided here: http://www.hameg.com/0.563.0.html. my device showed in under «NI-VISA USB Devices» device manager

    The problem is when I run the application NEITHER MAX I can see my camera and communicate with them using 'PANEL TEST of VISA's ', but when I switch to labview, visa resource name does not display the name of my device.

    I did something wrong? Help, please

    You should always use the driver provided by the seller.

  • Name of resource VISA includes serial number

    I'm trying to find a way to communicate with the Analyzer Signal Agilent/Keysight N9020A via Ethernet.

    NEITHER Max, resource VISA for the instrument name as

    TCPIP0::A-N9020A-90040::instr0::INSTR
    

    The 90040 is part of the serial number for a particular instrument.

    We will have more than one test station.

    I would rather communicate with the instrument by its IP address so that it does not matter what is the serial number of a particular instrument.

    Is this possible?

    The previous engineer had gone in OR-MAX and created the alias. This beautiful except that our contract manufacturer is abroad.

    TCPIP0::192.168.0.143::inst0:InStr works as well

  • Name of resource VISA get does not have USB serial ports

    We built an application on a computer that had a built-in serial port - COM1.  We have the option to change the COM port in the application.  We have installed the application built on a computer that has no serial port, but installed a USB serial Converter which records as COM3.  LabView does not see this port, even with a test application to return only the names of VISA resources.

    We have verified that the port is good with another program (a Modbus Simulator) and installed the last TIME VISA v4.41 separately without result.

    Any suggestions for more troubleshooting would be extremely useful.

    Joe T.

    My main of the application still does not work, but now the little test ones are.

    Here's what I did:

    1. update my LabView 8.5 with the last VISA - 4.4 runtime.  This update the installer as well.

    2. added the install MAX for the build.

    3. adding the Support of Configuration of NI-VISA for construction

    4. uninstalled the app and reinstalled with the new volume of the system.

    When I run MAX, COM3 appears.  He also appears in the application of test resources.  The simple test Modbus to write the program works, too.  I have a sneaky feeling that COM1 can be hardcoded somewhere in the parent application; our next task is to find where communication breaks down in our code.  The bottom line seems to be a lack of experience with the demand of our manufacturer.

    Thanks to all who participated!

    Joe T.

  • Visa name cluster resource to the stream network writer causes error 42.

    If I try and pass this heap of 'data engine' with a VISA embedded resource name:

    for a Writer of stream network in this way:

    Then I get this error of the VI "write only to flow."

    If I change the data engines TypDef cluster so that a chain control is used instead of the VISA reference, the error disappears and data crosses the stream network without problem.

    This is expected behavior?

    I thought that the 'data' (type = "POLY"?) as one located on the VI 'Write one element to flow' was supposed to take just about anything...

    Hi Rolf and WNM,

    After further investigation, I was able to reproduce the problem and agree that it is a bug. This was reported to R & D (#395047) for further investigations. As mentioned previously, a possible workaround is using the address of the cluster instead of the resource VISA VISA. Thanks for the comments!

    Doug W

  • How to set the name of resource VISA as a constant?

    I'm properly communicates with a device series using ModBus. The drop-down list on the front displays correctly COM3. I would like to remove from the drop-down list and set default COM3 on the block diagram. Can someone tell me how to do it please? Thank you very much

    Hello

    Right click on this drop-down list and select replace by, constant...

    So you can see the name of constant of Visa on the block diagram and no need to pull down...

    Pals

  • Configure the name of the model of visa

    Hi all

    This is probably very simple, but I'm stuck.

    I want to write the model name programmatically, (do not use MAX), on a VISA resource but I can't change the model name of property to write.  Anyone know how I can do this, see the attachment?

    Thank you

    Sean

    Hi Sean,.

    I don't think that this is possible, why do you need to change the name of the model? There could be another way to run the feature you're looking for.

    Kind regards

  • The name of resource of error - archive application not valid - fixing is not valid(img/.) DS_Store)

    Mac OS x have fun to create index for you files called. DS_Store even if you don't ask. When you try to build a project WebWorks, you will get the error:

    Invalid application - archive the resource name is not valid(img/.) DS_Store)

    To resolve this problem, open a Terminal Server sessions and go to your root directory of your project WebWorks.

    (Tip type cd in the command prompt and drag the folder to your root from the finder to the Terminal prompt, he lists the full path to the root of your project WebWorks and press [Enter])

    In the root, use this command (type it exceeds or copy and paste from here)

    To find. -name ' *. DS_Store "- type f - delete

    Press [Enter]

    All. DS_Store files should now be removed.

    Good tip, thanks Dennis!

  • Keithley USB executable is specific serial number?

    I have a fairly simple VI that communicates with a USB Keithley DMM.  I turned into an executable for distribution inside, but when I try to use the VI with a different DMM, it does not work.  The only way I can get it to work is to change the serial number manually, save it and make a new executable file.  Is it possible to have LabVIEW recgonize any DMM regardless of the serial number?

    If the serial number is in the name of resource of your VISA, then this is your problem.

    Why not use an alias of VISA for the resource VISA?

    Then on the target computer, you use just MAX (NI Measurment and Automation eXplorer) to define the alias VISA to match.

  • For the complex data type, how to generate the Dll with compatible interface to C/C++

    Hello

    I used the Labview FPGA module to develop test equipment. Now, I need to write a driver that is to be a Dll with compatible interface to C/C++ for this equipment. So that my client who is familiar with C/C++ can call the driver without any study on labview. But I had a few problem on how to convert labview for C/C++ data complex data type. To clearly explain to my question, I have attached a simple example. (see attachment) I try to generate a Dll for the attached example VI and get the the function prototype at the head of the files as below:

    ' void OpenFpgaReference (LStrHandle * RIODevice, TD1 * errorIn, LVRefNum * FPGAVIReferenceOut, TD1 * errorOut).

    As you have known, the type of data "LStrHandle * RIODevice" and "LVRefNum * FPGAVIReferenceOut" Labview data format are. C/C++ do not have this kind of data type and can not reconige it. As a result, I can't call the Dll of C/C++ programming language. How to convert these two data type of labview for the C/C++ compatible data format, and then build the Dll? Anyone know about this?

    The answer is really apprecaited! Thank you in advanced.

    Ivan.Chen wrote:

    As I found in the following article:

    http://digital.NI.com/public.nsf/WebSearch/FB001AA027C8998386256AAD006C142D?OpenDocument

    LVRefNum is the name of resource of LabVIEW VISA or refnum, and "it is impossible to convert LabVIEW VISA name of resource or refnum VISession valid ID."
    This means that external code modules can not access & control the session VISA which is open by labview. But for my purposes, I will not attempt to access this VISA extenal code(C/C++) session. I just hope that save this session VISA in the external code once I opened it in Labview dll; and pass it to the labview dll when needed. While I have not need to login again when I need to control the device. Is it possible to do?

    A LVRefNum is really just a single int32 value. Its meaning is useless for other environments than those who created it so that you Michael not any what in C/C++ caller but pass it back to other functions in your DLL, but this often isn't a problem at all.

    You can take the following statement of the LabVIEW extcode.h headers and add them to your delabviewed header files to make it work in such a way.

    #define Private (T) typedef struct T # _t {void * p ;} * T}

    Private (LVRefNum);

    The LStrHandle you must set a standard C string instead in your export DLL and document what is the size of the string buffer should have if it is an output parameter.

    TD1 error clusters should also be divided into their parameters (C compatible) separate for all items or just to the left of suite entirely.

    Rolf Kalbermatter

  • 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.

Maybe you are looking for