Application to detect correct port

Hi,
I am building an application which is to work for different computers. In the application I control a I/O device and a power supply through USB. I think that there might be problems with pre seting the name of the ports in the application since the port names might be different in other computers.
Is it possible to make a VI which auto detects which ports it needs to communicate with? Or is there some other smart way to make sure that it is not a problem?
Best Regards,
MAthias

Hi Mathias_P,
if you speak about COM and LPT try this example.
Mike
Attachments:
Unbenannt 1_LV80.vi ‏8 KB

Similar Messages

  • NF-980-G65 won't detect sata ports 5 or 6

    Hello,
        I'm trying to get this mobo to detect sata ports 5 and 6. I did see a reply to a similar post, but that solution was for Windows 7, I believe. Any help will be appreciated.

    The hard drives on the other ports (#1-#4) are properly recognized?  Have you switched drives & cables around to make sure it is not any of the drives or cables that cause the non-detection?
    "won't detect" means that the drives are not seen on the BIOS Level, correct?  We are not talking about the operating system not seeing the drives, right?
    Also, what operating mode is the controller set to (IDE, AHCI, RAID)?
    I just looked at the specifications for your PSU.  It is somewhat strange that the specification table mentions "15A" and "17.5A" nominal output for the two +12V rails in addition to the PEAK/MAXIMUM ratings.  As that is REALLY not much for an 850W PSU. 
    Then:  What is your current BIOS Version?

  • How to create Remote Desktop Application in C# or port it from HTML5/JS project ?

    Hi
    How can create Remote Desktop Application in C# template ? I were searching on google but not found example or API for this.
    If can, please suggest for me some solution, example and document.
    And I have JavaScript project template Remote Desktop Application. Can i port it to c# ? Or use Webview to show it ?
    I were create demo use webview to show it but it not run. Maybe i do some mistake or can't be do it.
    Thanks.

    I have no other options.  We already provide the RDP plug-in for JavaScript. I'm not sure what else is needed for this.
    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.
    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with
    undefined objects and unknown namespaces.
    My project needs work with C# Windows Store. So I need RDP on C#, not JS. If we don't support C#, do we have a RDP spec on Windows 8.1 so that we can follow that spec to implement with native code to support RDP?

  • HT3924 Why TDM exclusive to the iMac? Shouldn't any Mac from 2009 with the correct port have the same option?

    Why Target Display Mode exclusive to the iMac? Shouldn't any Mac from 2009 with the correct ports have the same option? Is there a physical limitation that prevents MacBook Pro/Air notebooks with thunderbolt ports from entering Target Display Mode? Or does someone just need to poke the OSX development team with a stick?

    that was the route I took this time when I updated to 10.5.6 - the downloaded combo updater rather than the smaller (half the size) Mac updater...
    Pretty sure this is a combination of MTU, 2Wire 2701 oddities and me not knowing how to solve them directly (as well as the ipv6 stuff that's still showing in the logs despite IPv6 being turned off).
    Anyhow, I did get it connected under the Ambit finally (took restarting the mac, not expecting that in the "switch" from windows xp)- and that really rocked. Now I'm working on teaching my 2Wire to be a dumb modem, to go with the operator
    Actually, I think I'll just cut my losses for the moment and go with cable, once I find a good wireless router to connect the media center and xp box up front.

  • Detecting serial ports when program is already running

    hi, i've tried detecting the available ports of my computer usingEnumeration portList = CommPortIdentifier.getPortIdentifiers ();
    while (portList.hasMoreElements()) { ... }, i use it when my program starts to run and it works well. but i have a button which can give users option to change the port for which he wants to use.. and a port may not be available when the porgram started and may be available when the program is already running (i'm using a serial-to-USB cable so i can just plug and unplug it), i'm using the same code as above but it only detects the ports that i detected from the beginning, not including the new ports... does anyone know what i'm doing wrong? thanks!

    just found my solution in one of the threads, i inserted try{
    CommDriver cd= (CommDriver) Class.forName("com.sun.comm.Win32Driver").newInstance();
    cd.initialize();
    }catch(Exception e) {System.out.println("No available daw"); }before my Enumeration... my problem is solved!! Thanks for taking time to reply.

  • My nano will not charge. Which is correct port on my macbook pro for this?

    my 6 th. generation nano will not charge plugged into my computer. Which should be the correct port on my macbook pro for this?

    Any standard USB port should do the job.  Have you tried using a different cable?
    B-rock

  • Messzge d'erreur  lors du chargement d'Adobe Player sous windows 7Erreur lors de l'application du programme correctif au fichier C : \ Config.Msi\PTF6DD.tmp.

    Lors du chargement d'Adobe Player  sous Windows 7 le chargement se fait jusqu'à 97% et affiche le message d'erreur suivant: Erreur lors de l’application du programme correctif au fichier C : \ Config.Msi\PTF6DD.tmp. Il a sans doute été mis à jour de manière différente et ne peut plus être modifié par ce programme correctif. Pour obtenir des informations complémentaires, contactez le revendeur de votre programme correctif. Que faut-il faire.

    Uninstall using http://labs.adobe.com/downloads/acrobatcleaner.html
    then reinstall from http://get.adobe.com/reader/enterprise/

  • Ethernet cable not detected by port

    Hello,
    The ethernet cable of my laptop is not being detected by port. Also the network adapter settings is not showing lan/ ethernet. This problem arose all of a sudden. I did recovery but no help. I reintalled Realtek LAn all in one window adapter but it did not istall. It gives an error that realtek controller was not found. What should i do now?

    Hi @microbio ,
    Thank you for visiting the HP Support Forums and Welcome. I have looked into your issue about your HP 15 b005DU Notebook and issues with the Ethernet connection. Here is a link to troubleshoot the Internet connections. The Ethernet cable should have a light flashing to show operation. Do you see the light on the cable?
    Here is a document on Airplane mode.
    If Airplane mode is on you cannot use your WiFi or Ethernet, so Airplane mode should off.
    You can do a system restore. System restore will help if something automatically updated and did not go well on the Notebook.
    When performing a System restore please note remove any and all USB devices. Disconnect all non-essential devices as they can cause issues.
    I hope this helps.
    Thanks.
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the bottom to say “Thanks” for helping!

  • Jar application wont run correctly for win7

    hi,
    i'm new to java and tried to make an application that detects the hard disks connected to my computer.
    i used native for accessing windows ioctls that i compiled in a .dll.
    the .jar i made is working in windows 2003 but when i tried it in windows 7, i can't detect the disks unless i run netbeans as administrator and then run the code.
    when i run the .jar in win7, it doesn't show the drives.
    is there any way to help me detect devices in windows 7? i don't know if its the dll or the jar.
    TIA

    Hi,
    I agree with Brain, base on my experience, that must your task schedule setting up incorrect, please notice the following third party article, focus on the “Solitaire” illustration
    “Run only if logged on” select option.
    The related third party article:
    How do I create a Scheduled Task in Windows Server 2003?
    http://onlinehelp.hostbasket.com/server-hosting/server-management/windows/1095-how-do-i-create-a-scheduled-task-in-windows-server-2003.html
    Hope this helps.
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • How can we find out which application is runing UDP port 69?

    Whenever I run Cisco Network Assistant on my Windows 7 computer, I receive "The embedded TFTP server cannot start".
     netstat -an|more shows “udp 0 0 0.0.0.0:69 ...” How can we find out which application is runing UDP port 69?
    Bob Lin, MCSE & CNE Networking, Internet, Routing, VPN Networking, Internet, Routing, VPN Troubleshooting on http://www.ChicagoTech.net How to Install and Configure Windows, VMware, Virtualization and Cisco on http://www.HowToNetworking.com

    These ones may help.
    Have you ever wanted to see which Windows
    process sends a certain packet out to network?
    Process
    Monitor v3.1
    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows]
    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

  • Could not determine the correct port

    Hi Folks!
    I can't start the EM, when I type
    $emctl (status, stop or start) dbconsole, the follow message is displayed:
    Could not determine the correct port
    Please, help me to correct this problem.
    Regards,
    Wilson

    user490256 wrote:
    Hi Folks!
    I can't start the EM, when I type
    $emctl (status, stop or start) dbconsole, the follow message is displayed:
    Could not determine the correct port
    Hi Wilson,
    What is Oracle version.
    Was it running fine earlier ?
    How did you configure dbconsole ..
    Are you any error in trace files..
    To change the dbconsole port ,
    How to change ports for DB Control 10.2.x.x [ID 395755.1]
    http://yogeedba.blogspot.com/2008/02/manual-configuration-of-dbconsole-em.html
    Regards
    Rajesh

  • PSVC application death detected

    Please Help!
    My Sunfire V490 has an error in /var/adm/messages indicating "picld[129]: [ID 230523 daemon.error] PSVC application death detected".
    Platform:
    SunOS apgdb3 5.10 Generic_125100-05 sun4u sparc SUNW,Sun-Fire-V490
    I did a search an realize that this error is related to Platform Service. The most common cause of this is that server platform-specific patches are not up to date.
    For SunOS 5.9, Solaris 9, there is a recommendation to install patch 113447-23. Patch 113447-23 is obsoleted by patch 118558-39 and 118558-39 is recommended for SunOS 5.9.
    Questions:
    1) How can I fix the error "PSVC application death detected" in SunOS 5.10?
    2) If I want to install patch 118558-39 of SunOS 5.9 in SunOS 5.10 Solaris 10, how can I find a equivalent patch for SunOS 5.10?
    3) If I want to install/update platform-specific patches for Sunfire V490, SunOS 5.10, which patch(es) should be the right one? (I did a search, many results return)
    Much appreciated for your help.
    Joe_ES

    Hallo Salthaus_de
    Tbh, it might work if you do as you just said, move it over to a package, and it might not Work. :)
    The most typical reason that this happens is that your application install ends before it is done doing what it should. I have seen this happening alot with "Autodesk" products, they start a "setup.exe" which spawns another "setup.exe" and exits the first.
    This then tells SCCM, the setup.exe's PID you requested to look at has ended, and you can now do your detection check.
    This Means it will be installing for another 15 minutes, and taking up msiexec.exe - which Means the applications installing after this one possibly could end up not installing with the errorcode, another product is currently being installed.
    Based on this i would still, eventhough the "workaround" Works, as it should, find out why this happens.
    Just my 2 cents, what you do NeXT is up to you. :)
    Kind regards
    Morten Leth

  • I just got an iphone 5s and now it wont connect to any of my windows 7 PCs, it just gets detected as an unknown device and is unable to be detected correctly.  It was connected to one windows 7 pc about a week ago and worked but now I tested it on 2others

    It is a 64 GB Iphone 5s and I am running Windows 7 x64 on all of my pcs.
    I just got an iphone 5s and now it wont connect to any of my windows 7 PCs, it just gets detected as an unknown device and is unable to be detected correctly.  It was connected to one windows 7 pc about a week ago and worked but now I tested it on 4 other computers including a macbook running osx and it isnt detected.  I tried the whole Apple Guide and it was no help.

    install the latest version of itunes

  • How to detect the Port Number of apex : localhost:????

    Dear firends,
    I install APEX 3.0 on oracle 10g release 2.
    How to detect the Port Number of apex to acces it ? (localhost:????)
    regards
    siyavuş

    Have you installed the Oracle HTTP(OHS) server yet ? If you have then the HTTP config file should specify what port the HTTP server listens at. This port is the port number you use to access APEX

  • Changing Application that uses FTP port 21

    We have a Windows server that uses an OCR software that allows our printers to scan documents to our Mountain Lion server to a document management application (at least thats what we are trying to do). The problem is that the OCR software is sending it to an FTP share but will not let you specify the FTP port number. By default Mac uses port 21 and I know how to change that port to something else. I just need to know if there is a way to let another application take control of port 21?

    Sure.  Shut off the ftp server on the target system. 
    At most there can be one application listening to a particular TCP port.  If you don't want that to be ftp, shut it off.
    But I'd tend to doubt that'll help, here.
    I'd be interested in learning a little more about how this OCR tool works and how this file transfer supposedly happens, as ftp is a paragon of insecurity and also largely incompatible with modern network security and firewalls, but this particular request for a changed-port seems quite unexpected. 
    The identity of the OCR software might help, as a look at the documentation would be interesting, too.

Maybe you are looking for