VISA get resource name doesn't return USB serial ports

We built an application on a computer that had an onboard serial port - COM1.  We put the option to change the COM port in the application.  We installed the built application on a computer with no serial ports, but installed a USB to serial converter that registers as COM3.  LabView does not see this port, even with a test application to return only the VISA resource names. 
We have verified that the port is good with another program (a Modbus simulator) and installed the latest VISA runtime v4.41 separately to no avail.
Any suggestions at further troubleshooting would be extremely helpful.
Joe T.
Solved!
Go to Solution.

My main application still isn't working, but now the small test ones are.
Here's what I did:
1.  Update my LabView 8.5 with the latest VISA runtime - 4.4.  This updated the Installer as well.
2.  Added the MAX Installer to the build.
3.  Added  the NI-VISA Configuration Support to the build
4.  Uninstalled the application and reinstalled it with the new install volume.
When I run MAX, COM3 shows up.  It also shows up in the Get Resources test application.  The simple test Modbus write program works, too.  I have a sneaky feeling that COM1 may be hard-coded somewhere in the main application; our next task is to find where the communications breaks down in our code.  The bottom line seems to be a lack of experience with the Application Builder on our part.
Thanks to all who contributed!
Joe T.

Similar Messages

  • I want to write and read a hex file from the flash buffer of the microcontroller through the USB serial port

    hello sir,
    I am developing a GUI screen from that i want to write and read a hex file from the flash buffer of the microcontroller through the USB serial port. the driver i am using is FTDID2XX driver.if anyone having examples of loading file through serial port.Please reply me .
    Thanks

    Looks like you should post your request in the LabVIEW forum, this one here preferentially is for LabWindows/CVI...

  • PXI-8176 usb serial port multiplexe​r driver installati​on

    How do I install the USB drivers for a USB/serial port multiplexer on a PXI-8176 with LV Real Time OS?? The PXI-8176 has two USB ports.
    Thanks
    Peter

    Buzz,
    Thanks for making your post here in the Discussion Forums.
    Your USB question is an interesting one. While you may be used to using USB hardware with your computer, USB hardware is not generally used in the LabVIEW RT operating environment. As this pair of short KnowledgeBases notes, USB hardware is not supported under LabVIEW RT and having USB enabled in RT tends to introduce jitter to your RT application:
    Does LabVIEW Real-Time Support USB Communication?
    Too Much Jitter When Running a LabVIEW RT Application
    Hopefully, this won't be too detrimental to your application. If you are looking for a way to accomplish something without using USB you may want to post some details of what you are trying to accomplish. This forum would hopefully be able to guide you toward an alternative method of accomplishing your goal.
    Regards,
    Jed R.
    Applications Engineer
    National Instruments

  • How to get Resource Name in the Repository Service when Publish evt trigger

    Hi ,
    I have created a repository service in which I have registered the
    StatemanagementEvent.PUBLISH
    My requirement is I need to know which resource rather resource name triggered this event.
    This is the code which
    public class ApprovProcs extends AbstractRepositoryService implements IReconfigurable, IResourceEventReceiver
      private static final String TYPE = "ApprovProcs";
      private Collection repositoryManagers;
      public ApprovProcs()
        super();
        // Do not add code here. Add it to startUpImpl() instead
      public String getServiceType()
        return ApprovProcs.TYPE;
      protected void startUpImpl(Collection repositoryManagers) throws ConfigurationException, StartupException
        // implement this method as follows:
        // - Verify configuration data
        // - Get references to other needed (global) services
        // - Check whether other repository services (this service depends on) are also assigned to the repository managers
        // - Usually the service registers itself for certain events at all repository managers
                 this.repositoryManagers = repositoryManagers;
              Iterator it = repositoryManagers.iterator();
              while (it.hasNext())
                   try
                        addRepositoryAssignment( (IRepositoryManager) it.next());
                   catch (ServiceNotAvailableException e)
                        e.printStackTrace();
      protected void shutDownImpl()
         Iterator it = repositoryManagers.iterator();
         while (it.hasNext())
              try
                   removeRepositoryAssignment( (IRepositoryManager) it.next());
              catch (WcmException e)
                   e.printStackTrace();
      protected void addRepositoryAssignment(IRepositoryManager mgr) throws ServiceNotAvailableException
        // Implement this method: Usually the service registers itself for certain events at the repository manager.
         try
              // capture all the respurce which are published
              mgr.getEventBroker().register( this, new StatemanagementEvent( StatemanagementEvent.PUBLISH, null ));
         catch(WcmException e)
      protected void removeRepositoryAssignment(IRepositoryManager mgr) throws WcmException
        // Implement this method: Usually the service must unregister itself as an event handler.
         //mgr.getEventBroker().unregister(this, new ResourceEvent(ResourceEvent.CREATE_COLLECTION, null));
         mgr.getEventBroker().unregister( this, new StatemanagementEvent( StatemanagementEvent.PUBLISH, null  ));
      public void reconfigure(IConfiguration config) throws ConfigurationException
        this.stateHandler.preReconfigure();
        // check the new configuration data
        try {
        catch (ConfigurationException ex) {
          this.stateHandler.postReconfigure(ex);
          throw ex;
        this.config = config;
        this.stateHandler.postReconfigure();
      public void received(IEvent event)
         System.err.println( "----rid --42354543--- " );
           IResource rsrPublished  = (IResource)event.getParameter();
           if( rsrPublished != null )
              System.err.println( "----rid --42354543--- rsrPublished.getDescription() --- " + rsrPublished.getDescription() );
           else
              System.err.println( "Resource Does not exist -----" ) ;
    In the log file I am getting Null Pointer Exception
    Can any one please help me in this as where I am going wrong
    thanks
    pk

    Hi Romano & Detlev ,
    Thanks for the reply .
    This is what I was looking
    Detlev:
    About the NPE ... in the above code I am not getting that.
    Thats my mistake
    Earlier I tried with
    IResource rsrPublished  = (IResource)event.getParameter();
    String rid = rsrPublished.getRID().toString();
    In the second line of code I was getting the NPE
    after that I used to if condition to debug it
    Sorry for the confusion...
    One more thing
    which is the event triggered for approval or how to capture the Approval Event when a content is approved by the Approver
    thanks
    pk

  • Not able to get resource names on the front panel

    Hi,
       I tried communicating with Agilent DMM (34405A) with USB interface using Labview 8.5. I have installed Agileni IO Libraries Suite 14.2 and NI Visa 4.2. I have downloaded and installed Labview drivers for Agilent 34405A. The instrument is visible in Agilent Visa Assistant and also in NI MAX. But the problem is that, the resource name doesnot appear on the front panel. I have enabled tulip passport.
    rgds
    BalkiSwathi

    Hi Vijay,
    The Goal Diagram Statuses are calculated for the latest date of the underlying PAS model. If you are not seing any status in the Goal Diagram (and the properties are set like Bob mentions in his post above), you might want to check if you have values in PAS for the date that is set as latest. If this is not the date for which you want to see your scorecard, you can change it directly in PAS.
    You can force the application to re-calculate the Goal Diagram Statuses by going to the Admin Interface and save again the settings for any KPI in the respective context. This simple step deletes the existing statuses and forces the application to re-calculate them the next time you enter the end-user interface.
    If you have data for the PAS model latest date, and you performed the step above to force the application to re-calculate the statuses, and still they are not showing, you should then create a message in the SAP ServiceMarketplace.
    Best regards,
    Ricardo

  • Process Name when we connect via Serial Port ,Its URGENT !!!

    Hi,
    I am working with Sun Solaris 9 sparc and in my application,I have to communicate with the serial port.
    For every connection we made, in Solaris it creates a process.So Can anyone tell me the name of the process when we connect serial cable??
    like USB connection /dev/usb0 or /dev/hiddev0 process is created..
    Thanks in Adavnce ...

    Sangyesh wrote:
    Hi,
    I am working with Sun Solaris 9 sparc and in my application,I have to communicate with the serial port.Outbound to a device, or inbound to a login shell or something else...?
    For every connection we made, in Solaris it creates a process.Are you talking about 'telnet' or 'ssh'? Those work differently from serial connections.
    So Can anyone tell me the name of the process when we connect serial cable??You might have a login listener if you configure it, otherwise, nothing is running.
    You need to provide more details about how you intend to use the serial cable. I can't tell from your post.
    Darren

  • [SOLVED] usb serial port emulation

    Hello
    I'm an Arch newbie. I just purchased an HP Neoware CA21 thin client, replaced the small DOM unit by a 1GB module, and installed Arch on it. I would like to use this device as a kind of data logger, 24x7 continuous operation.
      The device I'm reading is an ADC connected via a USB port, which provides a CDC/ACM interface. When I plug it into the CA21 USB port, /dev/ttyACM0 does appear. Under Ubuntu on a normal PC the same happens but I find I can only use it via the usbserial driver, which provides serial port emulation for a USB device, creating /dev/ttyUSB0. That's because I can't get the java serial port interface rxtx to recognise a ttyACMn device, for reasons I don't understand and am still investigating.
    So, I have a couple of newbie questions about Arch ...
    1/ is there an equivalent to usbserial, ie a serial port emulation for USB ports?
    2/ if not, or perhaps more correctly, how can my java app interface to ttyACM0? The Arduino crowd may know about this.
    3/ I'm kind of assuming rxtx works under Arch - is that right?
    Thanks for any help.
    Andrew
    Last edited by mistertransistor (2011-11-12 16:43:03)

    Well, kind of solved. I found that
    - adding the "options usbserial ..." line does not prevent ttyACM0 from appearing when the device is plugged in
    - once ttyACM0 is there, no amount of "modprobe usbserial ..." will make ttyUSB0 appear
    - however, if you "rmmod cdc-acm" and then "modprobe usbserial ..." you will get a ttyUSB0
    Having figured that out, I got a test app reading the USB port with no problems. However my real app gave some odd 'Main class not found  ...' error even though the exact same jarfile runs fine under Windows XP (you may be wondering why I develop there rather than under Ubuntu. Well, I have a dual-boot machine XP/Ubuntu and NetBeans runs *much* better under XP - quite puzzling).  Eventually I solved this by creating a new NetBeans project/application and copying in the code from the existing one - a total mystery to me).
    So now the device is in my garage collecting data from my seismograph. I'm writing to a USB stick, not sure about how long that will last but as I don't delete files much it's always writing in a new area and any given area gets very few write cycles.
    This is marked SOLVED but I still have not found how to read ttyACM0 and I would like to do that.
    Andrew

  • Startech usb serial port

    I have a test that needs to communicate to a piece of test hard through a usb to RS485 adapter.  However I do not seem to be getting any message to through the serial port.  Is there a simple test I could run to make sure that I can send something trough the digital com port?

    Hi GTRITom,
    Please see the following article about performing a Loopback Test. 
    http://www.ni.com/white-paper/3450/en
    Regards,
    Nathan S.
    Applications Engineer
    National Instruments

  • Get attribute name from VO returns null.

    Hello,
    I'm using JDeveloper 11.1.1.3. I have an af:inputfile component in which i set a ValueChangeListener. I'm using the attribute "Filename" from the form view to set the name of the file before saving it to a directory. At first, i had a different layout for my jspx page (very similar in design) and everything was working perfectly. When i redesigned the page, i'm now getting "null" as the filename. I'm not able to get the attribute! Although i didn't change anything in the code! I tried writing a simple method to output the attribute:
          public String justOutput(){
            BindingContainer bindings = BindingContext.getCurrent().getCurrentBindingsEntry();
            AttributeBinding attr = (AttributeBinding) bindings.getControlBinding("Filename");
            if (attr == null)
                return null;
            String filename = (String) attr.getInputValue();
            System.out.print(filename);
            return null;
          }It was able to output the attribute. But in my original method i'm getting "null".
    ******Another important observation*******
    If i pressed upload another time at runtime and uploaded another file it works again!
    Here is my code:
         public void uploadFile(ValueChangeEvent valueChangeEvent)  {
              InputStream in;
              FileOutputStream out;   
              ExternalContext context = FacesContext.getCurrentInstance().getExternalContext();
              String fileLoc = context.getInitParameter("DATA_DIR");                 
              UploadedFile file= (UploadedFile)valueChangeEvent.getNewValue();                           
              boolean exists = (new File(fileLoc)).exists();
              if(!exists){
                (new File(fileLoc)).mkdirs();
              if(file != null && file.getLength() > 0){
                FacesContext context2 = FacesContext.getCurrentInstance();
                FacesMessage message = new FacesMessage("File Uploaded" + file.getFilename() +
                                                        "(" + file.getLength() + "bytes)");
                //context2.addMessage(valueChangeEvent.getComponent().getClientId(context2), message);
                BindingContainer bindings = BindingContext.getCurrent().getCurrentBindingsEntry();
                AttributeBinding attr = (AttributeBinding) bindings.getControlBinding("Filename");
                if (attr == null)
                    return;
                String filename = (String) attr.getInputValue();
                try {
                         out = new FileOutputStream("C:\\demos\\" + filename + ".pdf");
                         in = file.getInputStream();
                         for (int bytes=0; bytes < file.getLength(); bytes++) {
                             out.write(in.read());
                         in.close();
                         out.close();
                     } catch (IOException e) {
                     e.printStackTrace();
              else {
                  String filename = file != null ? file.getFilename():null;
                  String byteLength = file != null ? "" + file.getLength():"0";
          }I don't think the code is wrong because it worked before. But why is this happening?
    Can anyone please help!?
    Mohamed.

    Sorry for the late reply Frank,
    Thanks for your reply, no i didn't! But it worked when i set the 'autosubmit' property to true... Like you said:
    the name field hasn't updated the model to the time you try and access itThanks again.
    Mohamed

  • Get-AdGroupMember -recursive doesn't return membership for some nested groups.

    I have the following setup:
    Test Parent Group (Group)
      - John Doe (User)
      - Domain Users (Group, contains 1000s of users)
    When I call: Get-AdGroupMember "Test Parent Group" -recursive
    Only John Doe is returned.
    Thoughts?

    First, it seems that Get-ADGroupMember in a recursive mode does not return object with the class group. So only the actual members are returnd not the groups.
    Second, with the -recursive, Get-ADGroupMember reads the member attribute of each nested groups. Users are not a member of Domain Users through the member attribute but through the primaryGroupID attribute. Thus you list the members of Domain Users if you
    target it directly Get-ADGroupMember -Identity "Domain Users" but not when this one is nested. I don't know if there is a documentation about this.
    Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.

  • FCP and USB-Serial ports

    I need to conrol my betacam sp deck (Sony BVM-70) via RS 422 in FCP. Does any one have a working combo based on a serial to USB cable, and if so, does FCP 5.1.4 allow deck contol via the capture window? I also would like to know if any one has a solution for a USB to paralell cable that will allow me to run a lightwave dongle via such a cable? Most cables of this type only run printers, not other devices. Please, known working solutions only....

    Here's how I have rs422 control through usb.
    Purchase a Keyspan USA-28X usb to serial adaptor http://www.keyspan.com/products/usa28xg/homepage.spml
    Purchase an Addenda cable to span from the mini-din connector on the keyspan to the d-sub connector on your vtr. Scroll to the bottom of this page: http://www.addenda-elect.com/product.htm
    This combo is used by lots of folks and it works very, very well.
    Good luck.
    Zeb

  • Konia 5800 usb serial port inf

    exccesfully installed nokia 5800 modem by downloading inf file MDMCPQ.INF there is another inf i need to download its serial usb port please tell me which is the filename?
    [IMG]http://i53.tinypic.com/wbuc1j.jpg[/IMG]

    this is winxp lite and it was hacked to remove unneccesary files nothing illegal.

  • Visa resource name can't find

    I'm running a example, visa resource name list couldn't find the port, only com port list, added USB cable (FTDI TTL-232R-3V3-WE) into visa, change visa class I/O session to USB raw, then can see it, but in configure serial port vi, I got this pic. Did I do something wrong or any suggestion? 
    thank you
    Attachments:
    2.PNG ‏32 KB

    Do NOT change the I/O class to USB RAW if you want to use the device as an RS-232 port. If the device does not show up in MAX as an additional com port, first verify that you installed the correct driver that came with the device. Then, see if it appears as a com port in windows device manager. Post back If it shows up in device manager and in Hyperterminal as a com port but MAX still does not list it.

  • My Application gets Error 37 when using Serial Port VIs.

    My Application works fine developed with LV 6.1. Then I updated to LV 7.1 and now the Executable of my application gets error 37 when using the old serial port functions. The "serpdrv" file is located in the application directory and is from 02/2002. The application runs well in the development environment after I placed the "serpdrv" file in the LabView directory. I tried to put a line with "serialDevices=..." in the .ini-file of my application but this did not cause an improvement. I also tried to rebuild the EXE with this line in the "labview.ini" file but nothing changes.
    Does anybody have another idea ?
    Many thanks for help
    Thomas

    >Did you actually replace the old serial functions that come with 7.1 with the functions from 6.1?
    Yes. E.g. "open serial driver.vi" uses "open device" with "serpdrv" as device string.
    I had the same problem running my application as VI´s. After the copy of serpdrv into the LV 7.1 directory everything works fine.
    I don´t understand why the application running as a .exe doesn´t find the serpdrv when it is in the same directory....
    Nevertheless many thanks for your answer
    Thomas

  • USB to Serial port delay

    I have some LabVIEW code that communicates with a TI MSP430 development board via a USB serial port simulator. The hardware that does the serial to USB conversion is part of the development board. how the application works is the LabVIEW code sends a request using the VISA write VI, and the board responds.  The requests and responses are both about 5-6 bytes each, and are being sent at 115200 baud 8-N-1.
    Everything works, but there is a roughly 600ms delay between sending the request and receiving the first byte of the response. After the first byte is received, the other bytes are received within 1 ms.  I assumed the firmware in the develoment board was slow, but I put a scope on the RX and TX lines coming out of the microcontroller, and the firmware responds in less than 1 ms, so the microcontroller isn't the issue. So somewhere between the UART to USB hardware, and LabVIEW, there is a 600ms delay.  I have a feeling that it is the TI development board, or drivers that are holding things up. The USB to serial stuff seems to be kind of flaky generally on these boards.  However, I wanted to come on here, and see if anyone had any ideas about how I might figure this out, or what might be wrong.  I'm going to post on the TI forums also, and see if I get a resonse there.
    Has anyone seen an issue like this before using USB to serial converters?
    Is there something else I could try to narrow down where the issue is, or rule out some part of the system (like making sure that it isn't an issue with the VISA drivers)?

    Jeff·Þ·Bohrer wrote:
    What is the USB-Serial chipset?
    The FTDI drivers offer some latentcy optimizations.  Others do not.
    Most TI MSP430 boards have their own build in USB interface based on the TUSB3410 from TI and the according driver for it is the TUSBWINVCP package. Nothing to do with FTDI.
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

Maybe you are looking for

  • Inter Company Postings

    Hi Experts, I have a US company and an Canadian Company. When Canadian Employee comes to USA, USA Company will give the salary and raise an invoice to Canadian Company. Please let me know how to perform the Inter-Company Postings. I know OBYA is the

  • Regarding BOR's in HR ABAP

    Hi Friends, I am new to work flow , I need to understand the BOR in HR ABAP. Can any one please help in understnad the BOR in HR ABAP and How to identify the HR related BOR. It will be helpfull if you have explain with an Business scenaraio (For Exam

  • Mac Users can't open Windows 9Pro form

    I created a dynamic form using Acrobat 9 Pro which was finally working correctly until this quarter when we had a few MAC users try to access it from our website.  After installing the most recent version of Acrobat Reader, they got a "Please wait" t

  • How do I tag names in facebook posts?

    Hi, I'm using facebook for Ipad and I don't know how I can tag people's names in my post (similar to mentioning someone). I tried using the "@" symbol but it does'nt work. How do I tag names in facebook posts? Thanks.

  • Inbound Idoc for - Inspetion lot results (QE03)

    Hi Guy's... I am looking for the Idoc which is used for update the actual results at characterstics level against the Inspection Lot ...in transaction QE03. I have tried with the Idoc QALITY02... but i am not able to achieve this its shows the status