NOT GETTING SAME COM PORT FOR MY APPLICATIO​N

i am making an application to connect my PC serially to a microcontroller serially with a usb to RS232 cable. how should i code in my application to ensure that my serial connection always gets the same com port whenever the applivcation is running on an other PC?  it is important to get the same com port on every machine every time else my labview coding for serial communication will fail. OR is there a better to do this. Can we code in labview so that it uses any  free com port available on the PC? the user of the application must not be prompted to enter a free com port.
thanks for any help.
Attachments:
Untitled.png ‏32 KB

No need to shout or ring my PM box... We are all volunteers here and sometimes we sleep or eat.  besides its a rather simple problem that a search on the forums would have gotten you here
My Tag cloud would have gotten you the this same example snippet :RenameAlias
Just use the system API to find all available serial devices.  figure out which one is your uC (how depends on the connected device) and set the MAX Alias to "MyMicroController" or something meaningful 
Jeff

Similar Messages

  • Why do I not get the checkout option for a pdf type document when clicking on the document link in the SharePoint workflow task?

    We are trying to use workflows to review and edit pdf files in sharepoint 2010. We are having a couple of issues and am hoping someone has the answer.....
    1)  When myself and coworkers click on the pdf document in the library, we get the check out option as expected.  However when we click on the document
    link in a workflow task (on the sharepoint site), the pdf opens as a temporary file and we do not get the check out option.  Why does this happen????? 
    2)  The same thing happens when we click on the document link in the workflow task email;   HOWEVER,  one of our co-workers does get the
    check out option when clicking on the link in the email task.  Why would she get the checkout option using the email and not when clicking on the link in the task list on the sharepoint site ????  We have compared our internet settings and adobe
    settings to ours and found no differences.
    We are using Sharepoint 2010, Windows 7, IE8, Adobe Reader X or XI.  Some of us have Adobe Pro X and have the same issues.

    Hi,
    According to your post, my understanding is that you could not get the checkout option for a pdf type document when clicking on the document link in the SharePoint workflow task.
    I try to reproduce the issue, however, no matter when I click the pdf type document in the library or click on the pdf document link in the workflow task email, it download the pdf doucment and then I can open it.
    It will be better if you can descript how you
    get the check out option as expected when you click on the pdf document in the library.
    Then I upload a
    word type document to the library, no matter when I click the word type document in the library or click on the word document link in the workflow task email, I can open the word document directly and get the check out option as expected.
    I recommend to use the other type docuemts to check whether the check out option works.
    Thank you for your understanding.
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • "could not get an output file for the document (error RWI 00314)"

    Hi
    We are getting the following error when running the Webi Reports "could not get an output file for the document (error RWI 00314)". The issue seems to be related to Tomcat Memory Heap size, our Tomcat Java heap Size is 1024MB. We were able to resolve  the issue by restarting the Tomcat. We cannot restart the Tomcat in Prod if this is happening frequently.
    Can some one please suggest  any other solution other than restarting the Tomcat frequently, our platform is BOBJ XI 3.1 SP3 with FP 3.1 our Wndows OS is 32 Bit.
    Thank's for your help

    Hi Sreeram,
    Earlier i also faced same kind of problem.
    To solve this kind of problems you need to shutdown the server.
    second thing is when patches missed that time also you will get this kind of problem.
    check j2ee connection is it properly working or not?
    Regards,
    samar reddy.

  • How to find COM port for a specific USB device

    I want to automatically find the COM port for a specific USB device. I use the VISA find resource function but I can't get the manufacturer's ID. VISA says the device doesn't have this information. The find resource function does narrow my search (and often finds the port depending on what other usb devices are connected). In the case where it finds multiple possible ports, can I safely send a message to each port to determine if it is the correct device? I know it will work for my purposes but I don't know if I am asking for trouble by sending messages to unidentified devices. Any thoughts on how I can identify my device port will be appreciated. Thank you - Dave F

    You can do it using WMI.  I have C# code I am supposed to convert into LabVIEW foing something similar to what you want to do.  In my case, I am testing a USB device and need to know which port on the hub is which COM port (the device creates a virtual COM port for communication).  Using WMI, you can find the hardware path to the device and know that COM10 is USB hub Port 1 for example.  Unfortunately, I cannot share the C# code.
    You can download the WMI Code Creator tool from Microsoft, which should help you tremendously find the proper method of getting your info.
    You basically want to look at all the W32_USB devices for the specific device you are looking for.  Once you have that, you can look for the COM Port associated with it.  I don't know when I will get to coding this up in LabVIEW, but will report back when I do, assuming you haven't found the solution by then.

  • Can I connect a device to get added LAN ports for my Airport Extreme?

    Can I connect an added device to my styetem to get added LAN ports for my Airport Extreme Router system?
    Mark Edwards

    Connect a Gigabit Ethernet switch to any of the 3 Ethenret ports on the AirPort Extreme to add as many ports as you need.
    Switches come in 5-port, 8-port, 16-port, etc versions.
    Your local computer/electronics superstore will have what you need.

  • DBUS doesn't start - Could not get UID and GID for username

    Hi.
    Today i installed Archlinux in other of my systems, but i have a problem. I installed the last dbus (dbus 1.4.16-1) and i putted it in my rc.conf:
    DAEMONS=(syslog-ng @network crond dbus alsa)
    but it doesn't start.
    The error is:
    Thu Apr 5 23:03:36 2012: :: Starting D-BUS system messagebus [BUSY] Failed to start message bus: Could not get UID and GID for username "dbus"
    Thu Apr 5 23:03:36 2012: [FAIL]
    So, i don't know what happen. In my other systems, i don't have any problem, only with this fresh install.
    Googling i found this solution from Chakra's wiki:
    Could not get UID and GID
    If you get the following error while starting DBUS:
    Failed to start message bus: Could not get UID and GID for username "dbus"
    then add the user like so:
    # groupadd -g 81 dbus
    # useradd -c 'System message bus' -u 81 -g dbus -d '/' -s /bin/false dbus
    If i do this, can i funk my system?
    Edit:
    That solution works well. I don't kown if in the future maybe i'll have some problem.
    Should i mark this post like "Solved"? Still i don't know what was the real problem.
    Last edited by superchango (2012-04-06 14:08:34)

    i'm out today and as i haven't completed setup yet i can't upload log to phone to post it all. 
    the problem wasn't spotted until trying to set up NetworkManager and lightdm.
    useradd and groupadd owned by shadow (4.1.5-4), it wasn't installed before dbus-core and avahi needed them though. not sure how install environment works, does it rely on installed version or installer versions?
    installed filesystem (2012.2-4) //FIRST LINE OF FILE
    /tmp/alpm_INcwzu/.INSTALL: line 2: usr/sbin/groupadd: No such file or directory
    /tmp/alpm_INcwzu/.INSTALL: line 3: usr/sbin/useradd: No such file or directory
    installed dbus-core (1.4.16-1)
    installed xcb-proto (1.7.1-1)
    installed xproto (7.0.23-1)
    installed libxdmcp (1.1.1-1)
    installed libxau (1.0.7-1)
    installed libxcb (1.8.1-1)
    installed kbproto (1.0.6-1)
    installed libx11 (1.4.99.901-1)
    installed dbus (1.4.16-1)
    /tmp/alpm_ETrJQT/.INSTALL: line 2: usr/sbin/groupadd: No such file or directory
    /tmp/alpm_ETrJQT/.INSTALL: line 3: usr/sbin/useradd: No such file or directory
    // INFO ON ADDING AVAHI TO RC.CONF
    installed avahi (0.6.31-1)
    // LOTS OF SUCCESSFUL PACKAGES
    installed shadow (4.1.5-4)
    // MORE SUCESS
    installed mkinitcpio (0.8.6-2)
    >>> Updating module dependencies
    ==> Creating gzip initcpio image: /boot/initramfs-linux.img
    bsdcpio: Failed to set default locale
    // REPEAT FOR FALLBACK, SAME ERROR
    After that it's fine.

  • After registratoin i did not get my license key for norton anti virus

    after registratoin i did not get my license key for norton anti virus so how can i get this...?

    This forum is only to discuss how the forums operate, not products and not sales
    You are going to have to continue with Adobe via chat, nobody here can help with a sales problem
    Is this the link you used for chat?
    I don't know if it will be any better... but maybe?
    http://helpx.adobe.com/x-productkb/policy-pricing/activation-deactivation-products.html

  • Running snow leopard on MBP and am not getting an sound alerts for Mail or Calendar; Have checked all setting in sound in the system preferences

    Running snow leopard on MBP and am not getting an sound alerts for Mail or Calendar; Have checked all setting in sound in the system preferences

    Hi..
    For Mail, from your Mail menu bar (top of your screen) click Mail > Preferences then select the General tab.
    Click the pop up menu to the right of New messages sound to make a selection.

  • Failed to start message bus: Could not get UID and GID for username "d

    Today ive updated my system and got this mesage on boot
    Failed to start message bus: Could not get UID and GID for username "dbus"
    My keyboard doesnt work..not on usb or ps2.
    After 2 years over using arch on stable repo i got this very ugly bug...S***
    ill use minimal cd to reinstall core...it seems i cant get on tty working

    phoenix, don't post in old threads: http://wiki.archlinux.org/index.php/For … Bumping.27
    Try reinstalling dbus-core - if that doesn't work, start a new thread.
    Closed.

  • I am not getting scrollbar in textarea for row=1, without applying resize and overflow-y css. How i can fix this without these properties

    I am not getting scrollbar in textarea for row='1' without applying resize and overflow-y css. How i can fix this issue without these properties.

    maybe the [http://forums.mozillazine.org/viewforum.php?f=25 Web Development / Standards Evangelism] mozillazine fourms will help you out better if you dont get an answer here.

  • I am not getting any notification sounds for facebook version 47423

    I am not getting any notification sounds for facebook version 47423.  Also, how do you change your email address in your profile here in the forum?  Thanking you in advance.

    Try going to setting and go down to facebook. See if you can change anything there. If you can't then go to Sounds(in settings) and try looking for facebook there. i havn't had this problem but that is about the right steps to solving it

  • How to use shared variables to address multiple Watlow controller​s on the same COM port

    Hello,
    I am trying to use LabVIEW 2010 to control 4 Watlow temperature controllers on one COM port. 3 are Model 96 and 1 is an EZ zone controller. Each controller has a unique modbus address, and I am trying to read from and write to individual registers (such as closed loop setpoint) using shared variables. I am getting return data when reading (although the data appears to be invalid), but am unable to change the value in the register by writing. How can I be sure that the Modbus server is sending commands to the correct controller?
    Chuck
    Solved!
    Go to Solution.

    Peter,
    Thanks for the reply. I have actually solved that problem. I realized that the Modbus server address has to be the same as the controller's Modbus address.
    I have, however, run into another problem. Perhaps you could help me with that. I have a system with 4 Watlow controllers, 3 are series 96 controllers, one is PID only and 2 are ramping. The 4th controller is an EZ zone. I am using RS485 for communications and the controllers are all wired in parallel for communications and power.
    I have set up 2 Modbus servers for 2 of the controllers.
    This is the first I have ever worked with Modbus based communications. I have successfully programmed using the Modbus read/write VIs, and am wanting to move to shared variables. My questions right now revolve around addressing, Modbus I/O servers and COM ports. Specifically, at this point, I know the addresses need to match up between the server and the slave device (Watlow controller in my case), how many servers can I create and use on one COM port? If the number is limited, is there a way I can specify an address that I want the server to talk to? Will the broadcast mode work to request data values from the controllers?
    I'd appreciate any information you can help me with, or if you could point me to some sort of concise 'How-To' for Modbus communication.
    Thanks.
    Chuck

  • Getting error 'opening port for MGR  (Connection refused).

    Hi Guys,
    I m getting below, while starting replicat on target.
    GGSCI (ggtarget) 16> start replicat RLOAD
    Sending START request to MANAGER ...
    ERROR: opening port for MGR MGR (Connection refused).
    GGSCI (ggtarget) 20> view param mgr
    PORT 7809
    USERID orgg, PASSWORD orgg
    PURGEOLDEXTRACTS /ggs/dirdat/*, USECHECKPOINTS
    GGSCI (ggtarget) 21> view param rload
    REPLICAT RLOAD
    USERID orgg, PASSWORD orgg
    ASSUMETARGETDEFS
    HANDLECOLLISIONS
    APPLYNOOPUPDATES
    GETUPDATEBEFORES
    reperror default, discard
    DISCARDFILE ./dirrpt/rload.dsc, purge
    MAP HR.TCUSTORD, TARGET HR.TCUSTORD;
    MAP HR.TCUSTMER, TARGET HR.TCUSTMER;
    from Source I could able to do the telnet to target...
    What could be issue ???

    Hi,
    Error:
    GGSCI (ggtarget) 16> start replicat RLOAD
    Sending START request to MANAGER ...
    ERROR: opening port for MGR MGR (Connection refused).
    You can start Manager, but when you try to start Replicat, GGSCI gives me a connection timeout error
    Solution:
    GoldenGate uses a TCP/IP socket to communicate between local processes. When you issue a START, STOP, SEND, or other command in GGSCI, the command interface will try to open a local port for the process.
    Here is how to find out which local ports these processes are listening on. In the dirpcs directory, there will be one file for each running GoldenGate process.
    For Manager, the file name will be MGR.pcm.
    For Extract, it will be <GROUP_NAME>.pce.
    For Replicat, it will be <GROUP_NAME>.pcr.
    These are text files that can be viewed by using cat or any equivalent command. For example, the MGR.cpm file content will read like this:
    PROGRAM MGR PROCESSID MGR PORT sys1.4356 PID 60070
    After the keyword PORT will be the local hostname and the port number that Manager is supposed to be running on. In the preceding example, the hostname is sys1, and the port is 4356.
    The program (ggsci) tries to use that hostname to communicate to the process (Extract/Replicat/Manager) when the command is issued in GGSCI. If you get a timeout or connection-refused error on the command, that means GoldenGate could not connect to the local host. Most of the time, you should have no problem connecting to a local host, but when you have the wrong IP address or routine table configured in your TCP/IP settings, connection errors can happen.
    To troubleshoot this, follow the steps below
    1. Try to ping that host name from the OS shell to see if it goes to the correct IP address (which should be the one for the local system).
    2. If the ping is successful, try to telnet to the Manager port on your local host. You will be able to see your telnet session connect if a Manager is listening on that port.
    Here is an example:
    shell>telnet
    telnet> open sys1 4356
    Trying 100.100.100.100...
    Connected to sys1.oracle.com (100.100.100.100).
    Escape character is '^]'.
    3. If your telnet session times out or gets a connection-refused error, that means either the hostname is wrong or the port number is wrong.
    If the ping to the hostname listed in the pcm/pce/pcr file fails, or if you cannot connect your telnet session to the port listed in the file(s), contact your network engineers to get the TCP/IP issue resolved.
    Hope this information helps.
    Thanks & Regards
    Santhosh

  • SJAS not respond when Change port for Derby db

    Hi Folks
    when I change port from 1527 [because it is used by another protocol] for derby database to 3333 [using derby.drda.portNumber=3333 in /root/.netbeans-derby/derby.property file] I found that SUN APPLICATION server is not responding properly.
    NOT responding properly means:
    1. I can start it from command line but can't start from Netbeans(exceptions of derby etc)
    2. I can not see any page o/p in browser for admin and webserver8080 but ports are used by SUNApplication server (confirm by port scanning)
    anyone faced same problem please tell us possible reasons

    Hi,
    I did the same thing as you have done - changed the port number to 3333, without making any changes manually to the port values for derby in netbeans. After this i started the appserver from netbeans and i was not only able to start derby (in port 3333) but also the application server successfully. I did not get any exceptions whatsoever.
    Just curious, which version of app server are you using? Also, did you verify the settings for the application server that you are starting (using netbeans) under Tools->ServerManager ?
    I tried this with 9.1UR1 b01. To add to this, i was able to access the admin console and also the 8080 port.
    Edited by: mchondria on Oct 9, 2007 5:22 PM
    Edited by: mchondria on Oct 9, 2007 5:23 PM

  • Purchase order no not getting displayed in FBL3N for doucment type RE

    Dear all,
    We have done a settings in FBL3N t.code. We have added BSEG-EBELN in the special fields and saved the layout. The purpose is to make the purchase order number to display when we are executing line item display for GR/IR clearing and Cenvat clearing gl account. Purchase order number is correctly getting displayed in Gr/ir clearing account. But in cenvat clearing gl account the transactions that are related to doucment type SA(that is J1IEX transaction), the purchase order number is getting displayed, but in the transactions that are related to document type RE(MIRO transactions), the purcahse order number is not getting displayed.
    We have checked the BSEG table for the gl account. The purchase order number is not getting updated for the MIRO transactions in the cenvat clearing gl account.
    Please suggest us so that the above issue can be solved.
    Thanks & Regards,
    Anand

    Hi,
    Could you please add field BSEG-EBELN as a special field in FBL3N (from menu path Settings -> Special fields). Then, select the Purchase order field again from "Change Layout" (Ctrl+F8). Now this field is available for display variants, it has the technical name 1-U_EBELN and the description 'Purchase Document'. The other field has the same description but as technical name
    '1-EBELN'. When you create a display variant be aware that you select 1-U_EBELN and not 1-EBELN.
    Please also refer to note 215798.
    Regards
    Ravinagh Boni

Maybe you are looking for

  • Delete Full Requests from an InfoCube with a BIA index on it

    Hello all I need to delete certain random Full requests from a cube which has both DB indexd and BIA index on it? What will be the steps i should be following in regards to deleting/ rebuilding indexes ? Regards Sanjyot

  • I heard Lightroom 4 & Photoshop CS6 need a lot of CPU to run...

    Is it true ? I only have an iMac... Thanks Jean-Luc

  • XI Certification FAQ's

    Hi All, I request one and all to post FAQ's on XI for certification ASAP. Also, I would like to know whether had I to give certification on C_TBIT51_04 or C_TBIT44_04. I got trained XI for development purpose. Thank sin Advance.

  • OIM installation error while running rcu

    while repository crete in progess following error is coming user or role DEV_MDS doe not exist FILE:E:rcuhome\integration\\mds\mds_user.sql statement:GRANT connect TO &&1 Kindly suggest. after ignoring that one am getting similar type of errors. like

  • Calculating rolling periods on weekly base

    Hi All, can anybody help me with the following problem: I want to display weekly variance to previous year. But calculation should be done on cumulated values and not on single values. For example, at the moment it is week 4/2008. Query should displa