Serial ports not appearing in MAX - VISA installed.

Hi All,
Had a rather strange issue today that I couldn't resolve with serial ports not appearing in MAX (and hence being inaccessible to LabVIEW). Under the windows device manager it shows 4 COM ports and I have verified with an external program that they are functioning correctly.
I had the LabVIEW 2011 SP1 f2 runtime installed, DAQmx 9.6.1 and NI-VISA 5.3 (5.2 also didn't work).
Things I have tried:
- Updating VISA from 5.2 to 5.3
- Reinstalling the COM port devices under device manager
- Changing the COM port numbers
- Verifying that the COM ports are functioning correctly
- Tried adding a USB to Serial converter as a new COM port
- Reinstalling MAX
- Reinstalling NI-VISA
- Reinstalling everything (reboot each time when prompted)
- Resetting the hardware configuration from within MAX
- Run installers / MAX as administrator (this is running from the local admin account)
- Checked that NI-VISA appears under software in MAX
- Repaired MAX/NI-VISA
Is there anything else that could cause the COM ports not to appear in MAX when they appear (and work correctly) in device manager when a reinstall of NI VISA / MAX won't solve?
Certified LabVIEW Architect, Certified TestStand Developer
NI Days (and A&DF): 2010, 2011, 2013, 2014
NI Week: 2012, 2014
Knowledgeable in all things Giant Tetris and WebSockets
Solved!
Go to Solution.

I found the solution - it turns out that the serial ports were available to LabVIEW, they just didn't show up in MAX because installing just the runtime does not show the devices in MAX.
Despite doing a lot of googling earlier, it didn't throw up this knowledgebase article until I searched for it under a different phrase - http://digital.ni.com/public.nsf/allkb/766FD80DAE42E52886256A0200619CFE?OpenDocument
Certified LabVIEW Architect, Certified TestStand Developer
NI Days (and A&DF): 2010, 2011, 2013, 2014
NI Week: 2012, 2014
Knowledgeable in all things Giant Tetris and WebSockets

Similar Messages

  • Serial will not connect unless MAX has been started

    Hello All,
    I am using Labview 7.0 , MAX 4.6.0f1, NI-VISA 3.0, Windows XP. A Microchip PIC USB device is attached to the Labview PC, the PIC embedded code registers as a Virtual Serial port and behaves as expected, I use Labview to read and writes simple fames of text.
    I found I can communicate ok with the device and need to create a distributable Application, this is where I have found problems. I installed the application on a different machine but I don't see any serial COM x text in the serial drop down list. I was expecting similar function to the device manager which enumerates serial ports on the fly (including the PIC i am using)
    Having read a few posts  it looks like I need VISA runtime. I thought I was including this in my application as I selected, Tools > Build Application>Installer Settings> Create Installer X > Advanced > Serial Port Support. The only thing that seems to make the application pick up the serial ports is to run MAX first. I would prefer not to force users (15 to  20) to install MAX and then have the Labview automate a MAX startup when the program is started. This seems a bit clunky.
    Advice appreciated
    Thanks Chris
    Solved!
    Go to Solution.

    Hello Jamie,
    Thankyou for the responce, I have tried ( and tried ) to get this to work without success so far.  I downloaded NI visa301full.exe and followed the instructions regarding the batch.bat file however when I finally got the visa install popup to appear it progresses to the progress bar window, the progress bar fills to about 30% for 1 of 16 then removes the progress, waits a few seconds then part fill the progress bar again, and repeats over and over till I cancel. After some reading I noticed the batch file is only needed for multiple exe install so I removed the batch file and have been trying to call the visa301full.exe directly to make things simpler.
    I tried manually installing the visa301full.exe and this worked fine, so at least I can see my application and visa301full.exe working together when they are installed. Ive attached my build file as hopefully Ive done something daft there. I think its probably nearly there, I appreciate your help and advice.
    Regards Chris
    Attachments:
    USB Servo Controller.bld ‏6 KB

  • InDesign not appearing on menus following install

    InDesign not appearing on menus following install on Windows 7 and MAC.

    Assuming that you haven't turned off "Display Navigation Menu" for these pages in the Page inspector, try the troubleshooting steps under "Fix iWeb" here....
    http://www.iwebformusicians.com/WebMusic/iWebTips.html
    Then republish to a folder and, after emptying the browser cache, launch the site in Safari again.

  • I am trying to upload dives from my dive computer onto my macbook pro but program says serial port not found - dive computer is listed on macdive

    I have a dive program called Macdive and am trying to upload my dives from my Sherwood Wisdom dive computer via usb lead. The dives will not upload and program says that serial port not found.  does anyone know how I can activate?

    Try a new post in the appropriate iPhoto forum.
    DALE

  • Serial Port not accessible until I run MAX

    Hi!
    On my machine I can access all Serial ports perfectly. I put a Vias Resource in my VI and get a drop down menu with all my serial ports. But on other machines (Runtime v7 and VISA runtime installed) I don´t get the names (e.g. com1 com2) but only
    ASRL1:****
    ASRL2:****
    ASRL10:****
    I know that ASRL1 is COM1 but when I select it it dowsn´t work.
    If I now install MAX on the machine and run it once without changing the configuration my ports work.
    Can anybody tell me how to use the ports without using MAX??
    regards
    hmann

    Hi hmann,
    When you run MAX it is configuring your VISA alias list behinf the scenes. See "JB" answer to this question to find out how to do this without using MAX. It basicly requires editing an INI file.
    http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=506500000008000000238D0000&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0
    I hope this help,
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • PXI System does not appear in MAX 4.0

    Hello,
    My system comprises LabVIEW RT 7.0, target PXI-8176 controller in PXI-1000B chassis, PXI-6608, PXI-6711, NI-4472, PXI-6704, PXI-6527, PXI-8423/4, PXI-8422/4.  This has been stable for two years. I recently solved an RS-485 2-wire mode configuration problem, using information in a discussion forum thread, by upgrading to NI-VISA 3.4.1 and NI-Serial 2.5.5.  MAX 4.0 was installed as part of this process.  Everything seemed to work fine.  I instructed a distant customer to do the same, but they experienced some difficulty. To ensure we were working from the same starting point, I re-initialized my PXI system, using PXI Format Hard Drive Disk, version 7.0, from MAX 4.0.  I configured TCP IP address, and re-installed the RT software on the PXI controller.
    Next, I attempted to configure the PXI controller and chassis, in MAX, to update the pxisys.ini file, but the PXI System (Unidentified) does not appear under Remote System>>IP address>>Devices and Interfaces.  Similarly for the serial ports.  This worked before, but I cannot get this back.  What is wrong?
    Best regards,
    RonC

    Hello S. Bassett
    The controller is definitely booting in RT mode -- I can still run my applications on the RT target.  VISA seems configured properly also, I can make VISA calls without error in the application.
    In fact, the RT system seems to work correctly, and I contemplated leaving it as it is. However, the fact that MAX does not recognize the PXI system makes me nervous, and I cannot do some of the things I may want to do, for example independently configure RS-485 port wire mode in MAX (the ports do not show up either).  Traditional DAQ configuration in MAX works.
    After your last post, I found a brief reference in MAX Help that indicated "PXI Services" had to be downloaded before the chassis could be configured.  But there are no other mentions of what PXI Services is, what it does, or how to install them. PXI Services does not show up as RT Software in MAX. In the Windows Add/Remove Programs control panel in Windows, in the National Instruments software section, there are two apparently related entries:
    - NI PXI Platform Services for LabVIEW Real-Time 1.5.1
    - NI PXI Platform Services for Windows 1.5.1
    But, I cannot get these to install on the RT target.  Not knowing what was causing the problem, I uninstalled everything from  National Instruments, deleted all folders, and reformatted the PXI platform.  There was one problem during this process -- after uninstalling NI-Serial 2.5.5, it does not get removed from the Add/Remove programs control panel.  There is still a registry key that the uninstaller did not remove -- presumably this is the problem.
    I have rebuilt everything, but could not get NI-Serial to install -- the installer thinks there is a newer installed on the RT target (there isn't) and refuses to install NI-Serial 2.5.5.  So right now, I cannot install NI-SERIAL (any version), or remove the 'existing' NI_SERIAL, because it isn't actually there, and there is no uninstaller.
    Otherwise, everything seems to be back to where it was before I "upgraded" to NI-VISA 3.4.1.  This was NI-VISA 3.0, LV RT 7.0, and MAX 3.0.2.  I have not yet been able to install NI-Serial, so I cannot yet see if I have also restored my original problem -- the one that led me to have to upgrade NI-VISA and NI-SERIAL in the first place.
    Most importantly, there is now a "PXI Services v1.1.2" installed on the RT target.  I am quite sure the problem with MAX 4.0 not recognizing my PXI system has to do with the absence of this driver on the RT target.
    Thanks again for your interest and help,
    RonC

  • Serial ports not showing up as COMs

    Hi,
    I currently have the problem where my serial ports don't show up as COMs when I use the VISA resource block. Instead they show up as ASRL1::INSTR for port 1 etc. While this still works ok when I select them manually for running some VI's, some executables where I'm prompted to select a COM port, no com ports show up at all. This is strange because previously I used to be able to see serial ports as COM8 instead of ASRL8::INSTR. Device manager from Windows XP says that the ports are working properly and there are no conflicts. Using Hyperterminal to see information from the serial devices works fine. So i'm not sure what is going on.
    One thing I did notice is that in Measurement and Automation Explorer (MAX), three of the ports have the yellow caution sign next to them. One of them is a serial port which says that "VISA port settings are different from the Windows port settings. Go to the Port Settings Conflict tab to resolve the inconsistency." However when trying to resolve this error I cannot save the changes, an unknown error message will come up (maybe because I don't have admin rights on the comp?). The other two ports with the caution sign are Toshiba bluetooth comms. with the device status: "VISA returned this device when finding resources, and MAX could use VISA to parse the resource name. MAX could not succesfully open a VISA session to the device" with no clues on how to fix.
    Has anyone had any experience with these sort of problems and how to resolve them.
    Thanks,
    William

    Hi
    Thanks for the quick replies. The VISA Aliases from MAX seems to be set up properly, just that when I go to select a com port in LabView, they show up as ASRL1:INSTR etc. This isn't such a big problem as selecting ASRL still works ok, just that some executables and VI's i'm trying to run is written so as to scan for the string "COM" while they search for com ports so when that happens I can't run them since there's nothing to select.  I've attached a couple of screenshots of what I see (note that some of the serials ports, the device status says device is working properly, just the ones I took screenshots off, it seems to have an error).
    Attachments:
    VISA select screenshot.JPG ‏55 KB
    MAX com screenshot.JPG ‏64 KB
    MAX ASRL screenshot.JPG ‏63 KB

  • KM2M serial port not working in Linux

    I noticed a few Linux postings so I thought I'd give this a shot. I'm running Fedora Core and for some strange reason I can't seem to send any communications out to the ttyS0 (COM 1) or ttyS1 (COM 2) ports.
    Does anyone have any suggestions on making it work?
    Thank you.

    No, your code had no termination characters at all - automatic or not. The enable termination character for the VISA Configure Serial Port is only for reads. Just like the help explains.
    And while you should check the download page for updates, LabVIEW comes with the 34401 driver.
    Message Edited by Dennis Knutson on 12-19-2009 05:49 PM

  • Tecra A11 - Serial port not working

    I have a Tecra A11 running windows 7 professional (32 bit).
    My serial port does not appear to be operating as I am no longer able to connect to industrial automation PLC's which require connection to the serial port for programming.
    Some of the software I am using is RSLinx, Easysoft and the like.
    Any assistance with this matter will be greatly appreciated.

    Hello
    I assume you need the notebook at your company and normally in every company there is a local IT-Support that you can ask all questions if you have any problems.
    So I would recommend contacting an administrator. Usually the guys know how to connect the computers to all important industrial components/computers and how to configure the port for that.

  • BI Publisher Desktop 11.1.1.5 Does Not Appear In Word after install

    I have a 2008 version of BI Publisher Installed against Word 2007 (Office Home and Student Edition) which works fine.
    I de-installed this and installed the latest version but the BI Publisher tab does not appear in Word now.
    I've repeated the exercise several times - I can install the older version and the plugin appears.
    Any Ideas?
    Mike
    Edited by: mikelons on May 27, 2011 10:33 AM

    I have a 2008 version of BI Publisher Installed against Word 2007 (Office Home and Student Edition) which works fine.
    I de-installed this and installed the latest version but the BI Publisher tab does not appear in Word now.
    I've repeated the exercise several times - I can install the older version and the plugin appears.
    Any Ideas?
    Mike
    Edited by: mikelons on May 27, 2011 10:33 AM

  • Serial port not reading after few seconds PLZ HELP...

    Hi,
    I have developed a GUI using Swing in NetBeans IDE 4.0 on Windows 2000 professional for one of our products.
    It communicates with the associated Hardware through serial port.
    The GUI sends commands to the H/W to perform some functionality. After receiving response from the H/W, GUI displays the necessary messages.
    Since the H/W does require some time to perform the indicated operation, it sends the response after 10-11 seconds but my GUI is not reading the response.
    Both the command and response are single byte (8 bits) wide.
    The GUI can read the response if sent within 3-4 sec.s but not after that.
    I have disabled the Receive TimeOut on the serial Port.
    Following is the code I use to Open and use the SerialPort.
    public void OpenPort(){
             portList = javax.comm.CommPortIdentifier.getPortIdentifiers();
            while (portList.hasMoreElements()) {
                portId = (javax.comm.CommPortIdentifier) portList.nextElement();
                if (portId.getPortType() == javax.comm.CommPortIdentifier.PORT_SERIAL) {
                    if (portId.getName().equals(Welcome.CommPort)) {
                        try {
                            serialPort =  (javax.comm.SerialPort)portId.open("FCAT-01 ATE", 20000);
                        } catch (javax.comm.PortInUseException e) {}
                        try{
                            serialPort.addEventListener(this);
                        }catch (java.util.TooManyListenersException e){}
                            serialPort.notifyOnDataAvailable(true);
                   try {
                            outputStream = serialPort.getOutputStream();
                        } catch (java.io.IOException e) {}
                            try {
                                inputStream=serialPort.getInputStream();
                            }catch (java.io.IOException e){}
                                serialPort.notifyOnDataAvailable(true);
                   try {
                            serialPort.setSerialPortParams(Welcome.Speed, javax.comm.SerialPort.DATABITS_8, javax.comm.SerialPort.STOPBITS_1,
                                javax.comm.SerialPort.PARITY_NONE);
                        } catch (javax.comm.UnsupportedCommOperationException e) {}
                             serialPort.disableReceiveTimeout();
           Pls help me how to solve this problem as its really very urgently necessary to release the product.
    Thank u for ur time and consideration,
    Umesh Balikai

    Sir,
    Here is the complete code.
    The H/W takes about 10 seconds to reply. The GUI is responding to first response from ATE H/W and not to the subsequent ones. The ATE responds after the GUI sends command when the user clicks OKButton.
    package my.ate.pkg;
    import javax.swing.*;
    import java.util.*;
    public class PingTest extends javax.swing.JFrame implements javax.comm.SerialPortEventListener{
        /** Creates new form PingTest */
        public PingTest() {
            initComponents();
        private void initComponents() {                         
            // create and initialise  various buttons, labels, etc.
        private void OKButtonMouseClicked(java.awt.event.MouseEvent evt) {                                     
            // TODO add your handling code here:
            OKClick();
        public static void main(String args[]) {
            java.awt.EventQueue.invokeLater(new Runnable() {
                public void run() {
                    new PingTest().setVisible(true);
        // Variables declaration                     
        private javax.swing.JLabel AN;
        private javax.swing.JButton OKButton;
        public static java.io.OutputStream outputStream;
        public static java.io.InputStream inputStream;
        public static java.util.Enumeration portList;
        public static javax.comm.CommPortIdentifier portId;
        public static javax.comm.CommPort commPort;
        public static javax.comm.SerialPort serialPort;
        public static byte[] readBuffer=new byte[20];
        public static int numBytes=0;
        private java.awt.Color Fail=java.awt.Color.red;
        private java.awt.Color Pass=java.awt.Color.blue;
        public static int requestCommand;
        public static int receiveCount=0;
        public static boolean portOpen=false;
      // End of variables declaration 
        public void serialEvent(javax.comm.SerialPortEvent event){
                switch(event.getEventType()){
                    case javax.comm.SerialPortEvent.BI:
                    case javax.comm.SerialPortEvent.OE:
                    case javax.comm.SerialPortEvent.FE:
                    case javax.comm.SerialPortEvent.PE:
                    case javax.comm.SerialPortEvent.CD:
                    case javax.comm.SerialPortEvent.CTS:
                    case javax.comm.SerialPortEvent.DSR:
                    case javax.comm.SerialPortEvent.RI:
                    case javax.comm.SerialPortEvent.OUTPUT_BUFFER_EMPTY:
                         break;
                    case javax.comm.SerialPortEvent.DATA_AVAILABLE:   
                        try{
                                 numBytes=inputStream.read(); 
                                     if(numBytes==0x54)  {
                                        // display some message
                     else if(numBytes==0x41)  {
                                        // display some message
                                    else if(numBytes==0x46)  {
                                         // display some message
                      else if(numBytes==0x42)  {
                                             // display some message
                        }catch (java.io.IOException e){}
                        break;
        public void OKClick(){
            if(portOpen){
                        serialPort.close();
                        portOpen=false;
            OpenPort();
            try{
               Thread.sleep(500);
            }catch(java.lang.InterruptedException e){//display error}
            try{
                outputStream.write(0x39);
            }catch(java.io.IOException e){//display error}
            //display some Progress Message
        public void OpenPort(){
             portList = javax.comm.CommPortIdentifier.getPortIdentifiers();
            while (portList.hasMoreElements()) {
                portId = (javax.comm.CommPortIdentifier) portList.nextElement();
                if (portId.getPortType() == avax.comm.CommPortIdentifier.PORT_SERIAL) {
                    if (portId.getName().equals(Welcome.CommPort)) {
                        try {
    serialPort =  (javax.comm.SerialPort)portId.open("FCAT-01ATE",2000);
                                           } catch (javax.comm.PortInUseException e) { //display error}
                        portOpen=true;
                        serialPort.notifyOnDataAvailable(true);
                        try{
                            serialPort.addEventListener(this);
                        }catch (java.util.TooManyListenersException e){ //display erro}
                        serialPort.disableReceiveTimeout();
         try {
                            outputStream = serialPort.getOutputStream();
                        } catch (java.io.IOException e) { //display erro}
                            try {
                                inputStream=serialPort.getInputStream();
                            }catch (java.io.IOException e){ //display erro}
                                serialPort.notifyOnDataAvailable(true);
         try {
                            serialPort.setSerialPortParams(Welcome.Speed, javax.comm.SerialPort.DATABITS_8, javax.comm.SerialPort.STOPBITS_1,
                                javax.comm.SerialPort.PARITY_NONE);
                        } catch (javax.comm.UnsupportedCommOperationException e) { //display erro}
    }Probably the command after clicking OKButton is not reaching the H/W. because the ATE will surely respond if it receives the command and that is tested several times.
    Thanks.

  • Desktop software. serial port not configured properly

    i cant seem to configure my serial port. actually i just dont know how.....ive went into serial setting but i cant seem to find a port number. it doesnt detect anything.....????? can someone with some patience pleeeeeeeese help me. thx alot

    Port is supposed to be auto detected!! Have you tried detecting the port manually by going to connection settings and pressing detect button ? Which version of desktop manager your're using?
    tanzim                                                                                  
    If your query is resolved then please click on “Accept as Solution”
    Click on the LIKE on the bottom right if the post deserves credit

  • Z87-G45 and SOME USB 3.0 ports not appearing in tray/prompting to eject

    The 2 lowest USB 3.0 ports on the back panel (Nearest the sound connectors) of my G45 have a weird issue under Win 7 Ultimate. When I plug in a 2.0 drive into those ports, everything is normal i.e. the eject icon and eject warning appear in the tray as usual. However, when I plug in 3.0 drives, no icon or warning appear, but they're fully accessible through explorer etc. USBView reports they're running at full speed, so they're being identified correctly. These 3.0 drives have all the proper messages/icons in all the other ports, including the 2.0 ports where it even warns me that it can perform faster in a 3.0 port. I've tried all the older/latest drivers from Intel and MSI. And ideas or suggestions? Just trying to figure out if my board has a problem or not. Thanks!

    Do you just mean they aren't treated as removable drives?
    There was an issue that was resolved via bios update similar to this.
    Might want to try upgrading to the latest.
    >>BIOSes<<

  • Serial Number not working for a re-install

    I am still trying on this one... I needed to replace my hard Drive. I have been trying to re-install Keynote on my new hard drive but the Installer window won't recognize the Serial Number. It will allow me to open old Keynotes but not save any edits. Any help is appreciated. Thanks!

    Error "The serial number is not valid for this product" | Creative Suite

  • Specific Serial Num not appeared

    Hi Friends
    There was an Item (Finished Product), Serial Control enabled
    It received from Work In Process and Serials generated during Receiving
    At Transact Move Order Form from Inventory Resp. ,when i'm trying to Issue it against Sales Order ,at List of Values of Serial ,all serial number appears except two.
    I tried again at Miscellaneous Transaction Form,the Problem appears also and Seriel LOV does not contain all the Serials
    Thanks in advance
    Regards
    Amr Hussien

    Apple doesn't keep track of mouse/trackpad serial numbers in that website.  They have a record that you bought it.

Maybe you are looking for

  • Follow up question on webcam

    Hi - is there any webcam that works on USB 1.1 that is compatible with an eMac? Every one I look at says USB 2. Can't use my firewire DV camera because my mac won't recognise it & Skype doesn't operate with firewire. Any help much appreciated Thanks

  • Need help adding a page to an existing website

    Hey guys....I'm, as the subject states, a newbie to Dreamweaver.  I am needing to add a page to an existing website.  Simple enough...or so it seems...anyway, I went to the site, copied the source coding, went back to Dreamweaver, pasted into the cod

  • Animation: how can I move objects (and their transform keyframes)?

    Hi, I have created a project with a group of layers which all move (have transform keyframes set up). Now I want to move the group, but when I do this and then run the animation, the position of all the transform keyframes I have set up remain in the

  • How to fill multiline attribute in my method.

    Hi experts , I want to fill my multiline attribute in my workflow mwthod. please guide me how i can do that. Thanks & Regards Anit Gautam

  • Restoring Entire System

    My four-year-old hard drive (250gig) crashed.  I have purchased and installed a Seagate Momentus Hybrid (750gig).  I have partitioned it for the "Macintosh HD."  I have booted from a USB flash drive with OSX Lion on it. My question is, do I need to r