Programatically determine port and COM mapping

Hello all,
Please let me know the method of programatically determining the port and COMx mapping using labwindows CVI. I mean to ask which port referes to which COM or which resource(like ASRL1). I am using NI PCI 8433 card.
Thanks in advance.
Sri Vidya

Hi,
using the Search function of this forum (e.g. serial port) will uncover the following thread with a nice code by msaxon:
http://forums.ni.com/t5/LabWindows-CVI/What-CVI-functions-do-I-need-to-use-in-order-to-check-the/m-p...

Similar Messages

  • Mapping between send port and host instance

    I am not able to retrieve send port names according to host instance names using C#.NET (WMI) from BizTalkMgmtDb. I had tried using BTSCatalog-Send Port class and MSBTS_SendPort but couldn't get the desired output. Can anyone help me out with the mapping between
    send port and host instance?
    Thanks in advance.

    Hi Pratibha,
    BtsCatalogExplorer's SendPort collection doesn't provide access to its corresponding SendHandler/host-Instance name. Only option is to relay on executing the SQL query against the BizTalkMgmtDb. So you can create a C# execute the query as show by la Cour.
    Following uses the BtsCatalogExplorer. but as said, there is no option to retrieve its corresponding SendHandler/host-Instance.
    private string GetSendPorts()
    // connect to the local BizTalk Management database
    Microsoft.BizTalk.ExplorerOM.BtsCatalogExplorer catalog = new Microsoft.BizTalk.ExplorerOM.BtsCatalogExplorer();
    catalog.ConnectionString = "Server=VMBTS2013R2DEV;Initial Catalog=BizTalkMgmtDb;Integrated Security=SSPI;";
    string sSendPortName = String.Empty;
    try
    // display all sendports and status
    foreach (Microsoft.BizTalk.ExplorerOM.SendPort sendport in catalog.SendPorts)
    sSendPortName += sendport.Name + ", ";
    MessageBox.Show(sSendPortName);
    catch (Exception e)
    catalog.DiscardChanges();
    throw e;
    return sSendPortName;
    Send-Port class doesn't have member to retrieve the send handler, but provides one to Set the send handler:
    http://msdn.microsoft.com/en-us/library/microsoft.biztalk.explorerom.sendport.aspx
    If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

  • How can I have a program prompt a user to input a selected number of simultaneous (different devices run off com/rs232 ports) and be able to compile all the data and/or graph it simultaneously?

    I have a project that I'm working on that I could use some help on.
    Some background on it is I'm taking data from a balance via RS-232 (can be a selectable list of balances), and then communicating with them on their own separate COM port. I need these to then run in parallel to then take masses in regular increments and then output them to a graph and/or TDMS file. 
    What I'm trying to have is that a subVI prompts the user to how many simultaneous runs will be going.
    Then I will want multiple pop prompts (one for each simultaneous run) which will have initial data input (data cluster) and then associate these with the COM port and the specified balance. 
    I initially thought of utilizing a For Loop this way but I can't get these windows to pop up multiple times while storing their own values in say a cluster array. Can anyone give me any ideas to get me a little further?

    Cameron,
    I've created a prompt for the user to select the number or runs to be run simultaneously. 
    This then should trigger the amount of prompts the user needs to input - ie VISA resource, and headers to label the "samples".
    I want this to be done in multiples (somewhere around 1-10 simultaneous runs - bounded by the program) so that data points from multiple sources can be taken and graphed/saved to file. I just am having issues with the loop situation to be able to keep prompting the user X times and also output the data to the front panel. Originally i thought I could somehow manipulate a tab control container but I'm getting roadblocked. 
    Does that help you understand what I'm trying to do?
    I've attached an image of what I want the user to input for each sampling.
    Attachments:
    Capture11.JPG ‏24 KB

  • Since updating the recent OS on my iPad my location services do not work.  Maps "Cannot determine location"  and "Find Me" is running in circles.  How can I delete the update on my iPad???

    Since updating the recent OS on my iPad my location services do not work.  Maps "Cannot determine location"  and "Find Me" is running in circles.  How can I delete the update on my iPad???

    You can't delete the update and your problem probably is not in the Update.
    Check to see if Location Services is turned ON. (Settings > Privacy > Location Services)
    What model iPad Mini do you have? WiFi or WiFi + Cellular
    Have you recently changed WiFi routers?

  • Iphone 4 was water damaged has had new battery as wasnt charging and new docking port and it comes on to apple logo now then off after 10 to 15 secs and reboots any help please

    water damage iphone 4 was coming on when plugged in but not charging and not holding any power so changed battery it then worked untill battery power ran out and would not charge so changed the docking port and now it comes on with apple symbol and switches back off after 10 to 15 seconds like its rebooting and then just keeps repeating any help please

    Help with what? Apple does not repair iPhones, they replace them. Apple does not sell parts. There are no legitimate sources for iPhone parts.
    Talk to whoever did the initial repair.  Odds are the logic board is damaged.  It's probably time for a new phone.
    Your phone is no longer eligible for a discounted out of warranty replacement.

  • Goods Issues done with Purchase Price and not MAP

    I would like to know on the inventory valuation from moving average price (MAP)/ average the inventory value to First In First Out (FIFO) basis.
    FIFO basis is where assumption made that inventory being sold is based on first come first serve basis i.e.
    For example you have 1 pc of pen valued at RM 1 and then you buy another pen valued at RM 1.50, your total inventory value would be RM 2.50.
    In FIFO basis, if you sold 1 pc of pen then the product cost will be RM 1.00 (i.e. purchase price) as it deemed that the first pen make a way first.
    However, in MAP basis, if you sold 1 pc of pen, the product cost would be RM 1.25 as it average cost of both pen.
    I have tried using the FIFO rules but it will only take the purchase price if the issuance/sales were done within the same posting period as the GR. If I were to make a GI in the current period, it will not take the purchase price but instead it will be MAP. And then there will be concern if the stocks were available across periods.
    Really appreciate any ideas that you may be it standard customizing or enhancements required.

    Hi
    If you want to apply FIFO rules in real-time basis (day to day operation), then my advice is you should use Batch Management and Batch Valuation features in SAP
    If you activate Batch Management with Valuation, then every GR will be valuated differently
    For example,
    GR 1 on July 01, 2011 - 100 pcs @RM1.00 (batch 001)
    GR 2 on July 03, 2011 - 100 pcs @RM1.50 (batch 002)
    Then there is GI happening, for example :
    GI 1 on July 04, 2011 - 10 pcs
    In normal circumstances (without Batch Management), SAP will take the MAP (which is RM1.25) as the price of GI
    But if you activate Batch Management with valuation, then you need to specify that you will do GI for batch 001, and SAP will take the price of RM1.00 as the GI price
    To ensure FIFO principle, you can also use Batch Determination feature, and make SAP to propose the oldest batch when doing GI transaction in MIGO
    Hope that helps
    rgds

  • Receiver and Interface Determination, Sender and Receiver Agreement

    Hi Experts,
    Could you please tell me, what Receiver Determination, Interface Determination, Sender Agreement and Receiver Agreement we have to use for the below blog.
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken]
    Regards
    Sara

    Hi Sara,
    WS->BP
    Receiver Determination: Sender IF, Sender NS, Sender BS determine the BP
    Interface Determination: Sender IF, Sender NS, Sender BS determine your start msg IF (abstr IF) and IF mapping
    Sender Agreement: SOAP sender channel for that Sender IF, Sender NS, Sender BS
    Receiver Agreement: not reqired
    BP->DB
    Receiver Determination: BP IF (abstr), BP IF NS, BP determine the 3rd party BS (DB)
    Interface Determination: BP IF (abstr), BP IF NS, BP determine Inbound-IF and IF mapping
    Sender Agreement: not reqired
    Receiver Agreement: JDBC receiver channel for that Inbound IF, NS and 3rd party BS
    BP->File
    Receiver Determination: BP IF (abstr), BP IF NS, BP determine the 3rd party BS (File)
    Interface Determination: BP IF (abstr), BP IF NS, BP determine Inbound-IF and IF mapping
    Sender Agreement: not required
    Receiver Agreement: File receiver channel for that Inbound IF, NS and 3rd party BS
    Regards,
    Udo

  • Possible to programatically determine an EO's attribute's "updatable" prop?

    possible to programatically determine an EO/VO's attribute's "updatable" property?
    Using JDev 10.1.3
    The "Updateable" choices (Always, While New, Never) on an attribute in an Entity or View object seem to be used by
    the af:inputText component to determine if the generated input field is read only.
    Is there a hook in the framework to override this at the Entity or View level and make it programmable on a row-by-row basis?
    (The logic I need to implement is somewhat complicated and I want to avoid some huge EL string in the inputText component's readonly property -- especially since I would need to duplicate it for each page the Entity/View object is referenced.)
    Thanks,
    -- Scott

    Hi Steve (or anyone)-
    Sort of a followup to this question.
    In my specific case, I want to cause the setting of a certain attribute (A) to cause another attribute (B) to change and then to not be updatable. Unfortunately, the condition I code in isAttributeUpdatable (the solution in section 9.14) prevents the changes to B. I've come up with a workaround (undo the conditions that isAttributeUpdateable checks, set the values, and then reset those conditions) but I wondered if this is really the best way?
        // In this example, Attribute A is a column that is a FK to another table
        // for an optional association relationship
        public boolean isAttributeUpdateable(int index) {
            //Don't allow an update to B if A is set.
            if(index == MYATTRB) {
                if(getMyAttrA() != null) {
                    return false;
            return super.isAttributeUpdateable(index);
        public void setMyAttrA(Number value) {
            setAttributeInternal(MYATTRA, value);
            /* Rule:  If attribute A is set to something other than NULL,
             * override attribute B with a value from the referenced/associated entity
            if(value != null) {
                SomeOtherEntity e = getSomeOtherEntityReferencedViaAttributeA();  //via association getter
                /* NOTE:  THIS IS A HACK!
                 * If we just set attribute B, we will get a JBO exception because
                 * isAttributeUpdateable will tell us the attribute is not updateable.
                 * So, "undo" the set of A, set B, then "redo" the set of A
                setAttributeInternal(MYATTRA, null);
                setAttrB(e.getSomeValue());
                setAttributeInternal(MYATTRA, value);
        }

  • Diff b/w msg mapping and interface mapping

    hi
      i have some doubt's:
       1. diff b/w msg mapping and interface mapping
       2. What is product in SLD? usually who creates the product,technical,business system??
    thx in advance..

    hI Smartsoft General User  ,
    The following r excellent websites on mapping which differentiate msg mapping and interface mapping in detail:
    Excellent PDF Document on Mapping
    http://help.sap.com/bp_bpmv130/Documentation/Operation/MappingXI30.pdf
    Mapping Development with the ABAP Workbench
    http://help.sap.com/saphelp_nw04/helpdata/en/10/5abb2d9df242f6a62e22e027a6c382/content.htm
    ABAP Mappings
    http://help.sap.com/saphelp_nw04/helpdata/en/ba/e18b1a0fc14f1faf884ae50cece51b/content.htm
    how to create a flat file out of an IDoc-XML by means of an ABAP mapping program and the J2EE File Adapter.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/46759682-0401-0010-1791-bd1972bc0b8a
    How to Use ABAP Mapping in XI 3.0
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e3ead790-0201-0010-64bb-9e4d67a466b4
    These r excellent websites in SLD:
    How To…Handle the SLD for SAP XI
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9e76e511-0d01-0010-5c9d-9f768d644808
    How To…Handle Caches in SAP XI 3.0
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/1a69ea11-0d01-0010-fa80-b47a79301290
    http://www.sap-press.de/download/dateien/751/sap_press_exchange_infra_engl.pdf
    cheers!
    gyanaraj
    ****Pls reward points if u find this helpful

  • Ovi maps and Nokia Maps

    I have recently downloaded the ovi maps update for free navigation on my 5800 however now I seem to have 2 programs in my installed apps menu, Ovi maps and Nokia maps. This is causing me some problems as my phones built in memory is now completely full and I am unable to do some things as I have ran out of on phone memory space. Which one is the main map software? And also can I uninstall one? If not then can it be installed on a MSD card and if yes how?

    As far as I can determine Ovi maps is the mapping software (program) which installs to C (phone memory) and Nokia maps is the map data that you have loaded which I believe are installed to E (mass memory).
    I can confirm that you do need both installed.
    The problem as far as I can see is that the previous maps versions 3.01 is built into the current firmware (v20 for N97 - not sure for 5800) and installing maps 3.03 does not remove or overwrite the earlier version so you end up with both versions installed and thus the extra memory footprint.
    This will remain a problem until a newer firmware is released which will hopefully have maps 3.03 (or later depending when next firmware is released) thus reducing the extra 9 megs or so used.
    Hope this answers your question
    Message Edited by rider5512 on 29-Jan-2010 05:16 AM
    Rider5512

  • K9A2 Platinum esata port and Install and Usage of esata External Hard Drive

    I just bought a sata hard drive and an icy dock enclosure for backup purposes. Having never used one before can someone explain how this works?
    I have the hard drive in the enclosure, no problem there. I plugged it into the esata port on the back of my motherboard, but vista won't recognize it and when I reboot and go into the BIOS, I don't see it there either.  I have purchased Acronis True Image 11 Home for backup and mirroring purposes. I wish to mirror my existing internal drive to this new external drive.
    Questions:
    1. Can I use the esata ports on the motherboard for this drive, or should I use the PCI bracket and plug it into one of the existing sata ports on the motherboard? If esata port, exactly how do they work? Are there BIOS settings for the esata ports or do they operate more like a usb connection?
    2. Do I need to do anything with this drive before using it; format, install operating system...??
    3. Are the esata external drive considered plug and play or do I need to plug it in before I boot my computer.
    TIA.

    Everything seems to be working as I would have expected at this point, with the exception of the size of the mirrored drives.
    I decided to make another mirror onto the 3rd drive making all 3 drives identical. So now I would expect all three drives to show the same "GB free" while viewing with Vista explorer.  The odd thing is, is that which ever drive I make bootable - SATA5 port and becomes the C: drive,  shows 226GB free. The other drives, either as E: or J: will show as 268GB free.  Most be an Acronis or Acronis user (me) issue/oddity?
    But bottom line, the sata and esata ports seem to be working as I would expect. Though plugging the external hard drive in before booting (power on or off, needs to be unplugged from the esata port) seems to hang at the FasTrack screen as described above.
    My only guess to why this all seems to be working currently is that I don't think I ever had my bios set correctly. After enabling the onboard controller, having the drive actually plugged into SATA5, then rebooting, selecting boot sequence and selecting the raid drive as the first boot device. At least this is my recollection, I made so many bios changes previously that I thought I had it all covered. 
    Any thoughts?  I think I will try to get an answer on the Acronis size difference before I try to setup my RIAD 1, since that would require erasing two drives, per your instructions here: https://forum-en.msi.com/index.php?topic=113738.0
    Thanks for help once again.

  • I have an Apple MacBook Pro with 2 USB ports and a MiniDisplay Port. I also have an HDTV with a HDMI port. How can I use the TV as a display without any tethering wires between my computer and the TV?

    I have an Apple MacBook Pro with 2 USB ports and a MiniDisplay Port. I also have an HDTV with a HDMI port. How can I use the TV as a display without any tethering wires between my computer and the TV? I have a MiniDisplay Port to VGA adapter, but there are two issues with it: The new display doesn't have a VGA port, and even if it did, I wouldn't want to have my mac constantly attached to the display by a cable. I was looking for a way to use the TV as a display without any wires. Is there some type of bluetooth setup I could use? Please let me know if you have any suggestions.

    As I wrote above, I think you should look into the Apple TV yourself. The best place to find information about what it can and can't do and to ask your own specific questions is probably in the Apple TV forum, here:
    https://discussions.apple.com/community/appletv/appletv

  • HDMI, Mini Display Port and Mountain Lion

    Hello,
    After reading about numerous issues concerning the Mini Display Port and Mountain Lion, I'm trying to discuss it here with you all to see if there is any solution.
    I have a MacBook Pro (2009), and used it with my TV (HDMI cable + Mini display port adaptor) with Plex media center back when it was on OS X Lion. It was very convenient because as a portable computer, it could easily be set near the TV and allow the use of a remote to sit in the couch and stream media from the Time Capsule… without the help of any expansive box. Perfect setup I've had for over a year.
    The thing is, since I've upgraded to Mountain Lion, when I try to connect the MacBook Pro to the TV, the screen turns blue as if it was calculating the resolution of the monitor so… ok. Until it comes back, and nothing changed either on the MacBook Pro screen or on the TV.
    Harware side, I've tried with the computer open, closed, I've checked every port and connection on both computer, TV and adaptor.
    Software side, what I find really annoying in Mountain Lion is that they completely ditched every monitor setting as long as nothing is connected — and even if the Mini DP is connected… the Mac thinks it's not. I even tried to reset the PRAM. This is a nightmare.
    I've tried to do the same with my iMac (mid 2011), and it all worked properly. What I can't explain is why it works on my iMac and not on the MBP… as they have the same configuration !
    I don't know if Apple is outcasting old devices so people buy new Apple stuff or if they ditched the HDMI out on certain (old) devices on purpose so users replace it by the new airplay mirroring feature and buy the Apple TV. I won't, because let's say it's a total crap compared to other media center solutions. And I'm bored of Apple.
    Please, HELP NEEDED ! Has anyone had the same issue ? I bet you have ! Now how can we solve that ?
    Thank you for your time.

    EDIT : stopped working on iMac too… then update 10.8.2 fixed the issue. Now it works. Thanks Apple for temporarily removing some features ! It's just so ANNOYING.
    Hope you gonna stay with the few we have left on Mac and stop removing things randomly. Not event talking about the pro environment (designers, developpers, etc.) that is almost gone. 2 years and our macs will be tablets. Careful with the old clients… it's been almost 10 years I'm on a Mac and I've never been so unhappy.

  • Need a mini display port and audio to HDMI adapter for mid 2009 13" macbookpro

    Can some body recomend an adapter cable that plugs into the audio (mid 2009 MacBookPro 13") and mini display port and outputs to HDMI with audio and video all together for a TV?  I would rather not run a separate audio cable in addition to the HDMI cable.

    http://www.kanexlive.com/iadapt51 - 5.1-channel surround sound from sources that provide such a signal
    http://www.kanexlive.com/iadapt20 - 2-channel stereo sound

  • I am having email problems with the new Lion.  stmp, imap, etc. I have looked up google info and It is confusing when it comes to TS, SSL also, please explain how to set it up so my email goes out and comes in securely.  Help

    I am having email problems with the new Mountain Lion.  stmp, imap, etc. I have looked up google info and It is confusing when it comes to TS, SSL also, please explain how to set it up so my email goes out and comes in securely.  Help
    Incoming Mail (IMAP) Server - requires SSL:
    imap.gmail.com
    Use SSL: Yes
    Port: 993
    Outgoing Mail (SMTP) Server - requires TLS:
    smtp.gmail.com (use authentication)
    Use Authentication: Yes
    Use STARTTLS: Yes (some clients call this SSL)
    Port: 465 or 587
    Account Name:
    your full email address (including @gmail.com) Google Apps users, please enter username@your_domain.com
    Email Address:
    your full Gmail email address ([email protected]) Google Apps users, please enter username@your_domain.com
    Password:
    your Gmail password
    The Quick Answer
    Follow the instructions below to set up IMAP1 access in most email clients.
    Google Apps users, please follow the default instructions unless otherwise noted, replacing 'your_domain.com' with your actual domain2 name.
    this is all greek to me. WHAT IS STARTTLS? On the first page of Apple set up there is a TLS certificate and it is marked NONE- should I change it to the long APPLE CERT option?  The next page under ADVANCED: THERE IS A BOX SSL MARKED.  Then IMAP Path Prefix - I put stmp.gmail.com.. is that right?  Port 993 can  use this one? as 456 doesn't work and 587 said it wasn't safe.  Under AUTHENTICATION I used PASSWORD.  Should I have used external client cert TLS?
    Please help me set this up securely. Thanks

    Apple - Support - Mail Setup Assistant

Maybe you are looking for

  • External Hard Drives going to sleep.

    Is there a way to set an external drive to NEVER sleep. I have several externals (Lacies and Seagates running USB2.0) and they go to sleep if not accessed regularly. Which is a problem with a documentary timeline as if I'm in a viewing it freezes whe

  • Another system migration problem...

    I had posted this as a reply in a thread about problems with using Migration Assistant with a bootable external FireWire drive, but it wasn't getting any replies, so please forgive the double-post... I need to find an answer to these problems before

  • SEQUENCE Object for Small Tables Only?

    QUOTE from a recent thread: "Long term solution should be to use SEQUENCE with NO CACHE for small tables instead of identity and benefit from performance improvement for large tables." Thread: http://social.msdn.microsoft.com/Forums/sqlserver/en-US/c

  • Roll out project

    Dear Friends,    As a MM consultant what are the points to be consider during roll out project pls explain in points wise points must be rewarded.   Regards     Amin

  • Post - RCU installation

    Hi, As a pre-requisite for the webcenter suite(Portal,Webcenter,Content Server) I had installed the corresponding schemas in Oracle Database 11G. As its a requirement to compile the packages MDS_INTERNAL_COMMON ,MDS_INTERNAL_SHREDDED and MDS_INTERNAL