Trouble getting 2 8-bit ports on a 6025E DAQ to work concurrently

Hello,
I am using a PCI-6025E DAQ card in a PC running WinNT, and am trying to interface to it with Labview 6.0.2.
More specifically I try to use portA and portB at the same time (two of the three digital I/O ports that the card has.)
I am trying to write and hold a digital 8-bit pattern on portA, then write another pattern on portB.For this purpose I use the "Write to Digital Port.vi" twice, within another VI. I slightly modified it with "error in" and "error out" terminals to ensure they operate in the correct sequence, but I doubt this is causing my problem.
My problem is that after I write (successfully) to portA, portA is grounded (reset?) before proceeding to write to portC (again su
ccessfully.)
I opened up the VI and cannot seem to find a reset command anywhere in it -though I don't understand everything in there, so I could be missing it.
How do I get to use two copies of this VI as sub-VIs without having them interfere with each other? I need to hold their outputs to the correct value simultaneously while a third VI executes (it involves the counter.)
Thank you,
-Alexander

Alexander,
The three additional digital ports of the PCI-6025E use the 8255 chip. When any port on this chip (Port A, B, or C) is configured, all of the ports will be reset. To get around this, you will just need to configure all of the ports initially and then perform the reading/writing within your application. The link below describes the 8255 and how to effectively program with this chip. I hope this helps.
Why Do All My Digital I/O Ports Reset When I Configure One Port?
http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/3e25a9780f2c48b986256120005af098?OpenDocument
Regards,
Todd D.

Similar Messages

  • Having trouble getting my uploaded cds which are in itunes and working properly to transfer to my iphone, only purchased songs sync

    having trouble getting my uploaded cds which are in itunes and working properly to transfer to my iphone, only purchased songs sync

    Do you have the songs in a Playlist.

  • Anyone have trouble getting verizon to port a number?

    We are going on a month now trying to get verizon to port a number from cox cable.
    When called they said they have it all under control and will be done by a certain date.  When that date arrives we get the same email..
    "Thank you for recently placing an order with Verizon. Unfortunately, we need additional information to process your order. To avoid any service delays, please contact Verizon as soon as possible and reference order #"
    I don't understand what advantage it is to them to give customers the runaround and tick them off.  What are they trying to accomplish?
    And one other odd thing, everytime we ask them what the status of the "number port" is, they reply, oh you mean the "winback".  What the blue blazes is a "winback"?   And they want to argue with us that it is not called a port and is instead called winback.    Funny,  every other phone vendor calls it a "port".    go figure!
    The winback certainly isn't living up to it name.   They are about to win me right over to time warner.   
    I'm sure TWC will be just a dumb, but they are a lot cheaper.
    Verizon, Wake up!   You have one more chance to get this right before I file the complaint with the FCC.
    Here's the link for anyone else in the same boat.
    https://consumercomplaints.fcc.gov/hc/en-us

    Welcome to the forums.  You're talking to other customers here.  If you want to get a message to Verizon you need to call or chat with them.
    I recently help a family member port a number out of Verizon to a VoIP provider (a "loose away," perhaps?).  Verizon was horrendous to deal with refusing to release a never agreed to port freeze even after many orders were placed and promises made.  An FCC complaint is what finally sped things along.  I wouldn't wait to file one.
    Good Luck.
    If a forum member gives an answer you like, give them the Kudos they deserve. If a member gives you the answer to your question, mark the answer as Accepted Solution so others can see the solution to the problem.

  • I am having trouble getting Mail to import my Hotmail. It was working well up to around xmas but since then it hasn't worked at all. Keeps asking for my mail password and when I put it in nothing happens or it pops up again asking for it.

    I have been using mail for quite a while and no issue. Before xmas for some strange reason my computer asked me for my keychain password. I couldnt remember and hence lost control of my mail boxes. I deleted the keychain and then started putting in the passwords again. My icloud mail is working fine as is imessage and facetime. For some strange reason it wont work with my hotmail address. It keeps poping up asking for the password for the hotmail email and I keep putting it in but no mail arrives or goes. I have looked in the new keychain and it is in there. I have tried adding it in the mail settings and saved it but it dont save. I have deleted the mail account and started again by inputting it as new and it gets its settings then and same result. Any ideas?

    Did you ever resolve the iCloud problem.I am in the same position and its driving me mad!!! If you have a link to an solution I would appreciate it.

  • How do you get 32-bit float effects to work with an alpha channel?

    I make a few bugs and lower thirds, but I'm having a lot of trouble getting 32-bit float effects to correctly export with transparency.
    When I make semitransparent animations with bright lighting effects, they look great in AE but I can't seem to find any way to bring them over to Final Cut and get them to look like they should.
    I've attached this example of a bug with a screenshot from AE on the left and from FCP on the right. The colors dim and the vibrant blue gradients get flattened into a dull greenish color.
    So far as I can tell, all my alpha and color management settings are correct. I've tried endless settings options and codec options to try to fix this, to no avail.
    You can create an extreme case as an example by creating a semitransparent shape, cranking the color way up to a saturated superwhite color, and moving it around with motion blur. The render looks pretty much just like a 8/16 bit render, and nothing like it did in your canvas.
    I have a feeling the way AE multiplies the superwhite color values with the alpha channel gets "lost in translation" when it is rendered to 4 8-bit channels. Is there any way to get it to look the way it does in the canvas?
    Thanks,
    Clint

    Thanks so much for your ideas. I'd already tried experimenting with a number of color management options, including 'Preserve RGB' and turning off 'Convert to Linear Light' but they didn't fix it. I had also already tried using the "None" option from the codec menu.
    I pulled it back into AE, and it looks the same as it did in FCP.
    I'm starting to think the issue has something to do with AE rendering to a file differently than the way it renders to the canvas. For example, here's a fast moving 50% opaque superwhite shape in the AE canvas:
    I rendered this using Animation + Alpha using Best settings and 32-bit float, and reimported it into AE:
    I think the answer may lie in the fact that the first image looks solid white in some places, even though it is 50% transparent. It's almost like the excessive RGB values "bleed" over to the alpha channel. The rendered image (probably correctly) looks grey because it represents white at 50% opacity.
    What I want to do though, is find a way to make my render look like my canvas. So it seems I need to do two things to the image:
    1. Find a way to increase opacity in areas of excessive white, so that they are not grey in the render.
    2. Find a way to "bake" the superwhite colors to a level below 100% white so that they show up in the render.
    I tried the "Alpha from Max Color" effect and this seems to get kind of close, but unfortunately it discards other parts of the alpha channel (like drop shadows).
    It might also be helpful to know that when I have AE output to an external NTSC monitor (via Intensity card) the monitor shows the exact same artifacts as the render.

  • I am using ITUNES 11 on Win 7 64 bit.  I can download podcasts to my IPOD touch just fine but when I click on the ITUNES store I get an error message that stays "ITUNES has stopped working".  How do I trouble shoot or fix this? Thanks

    I am using ITUNES 11 on Win 7 64 bit.  I can download podcasts to my IPOD touch just fine but when I click on the ITUNES store I get an error message that stays "ITUNES has stopped working".  How do I trouble shoot or fix this? Thanks

    Try gn_id's suggestion from the following post:
    Re: iTunes 11 crashes when opening the store - no error message

  • I've got the labview vi written to read my IMU data from a serial port in COM1 and it displays onto the table on the front panel. I'm having trouble getting this data onto an excel spreadshee​t. Any ideas?

    I've got the labview vi written to read my IMU data from a serial port in COM1 and it displays onto the table on the front panel. I'm having trouble getting this data onto an excel spreadsheet. Any ideas? Right now my data will collect one reading instead of continuously reading my IMU which displays data in a continuous stream.
    Thanks
    Attachments:
    Read_IMU_Drew.vi ‏21 KB

    Hi
    Your vi is in 2009 version, which i am unable to open in 8.6
    However, if you want your data to be saved in excel sheet, here is the VI
    Somil Gautam
    Think Weird
    Attachments:
    save to excel.vi ‏12 KB

  • TS3276 I'm now having trouble getting mac mail to work on my mac. The mobile me account works great on iphone and ipad but it won't connect to my mail account. Password is correct. What else can I do? Using OS10.68

    I'm now having trouble getting mac mail to work on my mac. The mobile me account works great on iphone and ipad but it won't connect to my mail account. Password is correct. What else can I do? Using OS10.68

    HI,
    The Apple IDs from @mac.com and @me.com (Older MobileMe and more recent iCloud Names) are also Valid AIM Screen names.
    Any other sort of Apple ID is not a Valid AIM Name.
    A Google ID that is associated with Google Mail Account (And has "Talk" enable on your Google Settings) can be used in iChat as  Jabber Name/ID.  (Google Run  Jabber server).
    Jabber and AIM are different IM Services and it is not easy or straight forward to add Buddies from one Service to the Buddy List of another.  (As A Starting point consider it "impossible")
    iChat 4 and 5 have links to the registration page of @Mac.com here with a "Get an iChat Account" button in the add (Account) screen  (You select @mac.com or MobileMe and then press the Button - Choosing AIM and then pressing the button used to lead to the AIM registration page but AIM moved their page).
    Apple IDs can be any valid email (or an @mac.com or iCloud registration)
    Therefore you could make a Google ID into an Apple ID.
    However this will not be a valid AIM Screen Name the way @mac.com or MobileMe/iCloud ones are.
    Valid AIM Screen Names in Table (pic)
    7:46 PM      Monday; December 5, 2011
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
      iMac 2.5Ghz 5i 2011 (Lion 10.7.2)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • Having trouble getting my Lightroom 5.0 upgrade to accept my Lightroom 4.4 serial number.

    I am having trouble getting my Lightroom 5.0 upgrade to accept my Lightroom 4.4 serial number. I recently installed Windows 8, 64 bit on a second solid state HD on my computer (had a virus problem for which I had to format C and reinstall everything). The new  ss HD is drive C and my operating system and my programs are all installed there. All my documents and files are now stored on my original, reformatted drive, which is now drive D. I was using Windows 7, 64 bit. Could all this be the reason my serial number is not being recognized? PHH

    Hi 48phh,
    Yes Lightroom 5 takes the Serial Number of each previous version and you can do the Upgrade from any  1, 2 3, or 4 version of Lightroom,but somethig different for the Upgrade from the Mac App Store ... see how here: http://helpx.adobe.com/lightroom/kb/upgrade-mac-app-version-lightroom.html
    you installed Windows 8 and installing only the operating system, but keeping all the app certainly and during the operation something can be lost, especially if you run Clean after installing the system by deleting the folder containing the old system, it's better to wait to do so.
    However, no problem, because to do the 'Upgrade all you need is the old serial number and don't need Lightroom4 to be installed on your machine ...
    more details here: http://blogs.adobe.com/lightroomjournal/2013/06/lightroom-5-hot-issues.html

  • I am having trouble getting rid of the delay between slides I am using revolve and there is a delay between when one fades and the other appears

    I am having trouble getting rid of delay between slides.  I am Revolving from one to the other and it comes up blank in between slides.

    @vincepay 
    Here is a link to the drivers for the HP Colour LaserJet 3600 windows 7 drivers:
    HP Color LaserJet 3600 Series Printers World Wide Printing System - 64 bit driver for windows 7
    I am an HP employee.
    Say Thanks by clicking the Kudos Star in the post that helped you.
    Please mark the post that solves your problem as Accepted Solution

  • Trouble getting internet route table distributet in a VRF

    Hi every one ..
    I'm have some trouble getting distributed the internet routing table between PE routers ...
    CE1 og PE1 works fine, BGP routes all internet routes are shown i en route table, but distributing between PE1 and PE2 is now working .. any one having a clue !!.
    My gold is to move internet access into it's oven VRF, and away from the global routing table
    In the MPLS core aim running the same AS number as our official AS, that we use for peering to the internet..
    snap of configurations
    ***CE1***
    router bgp 65534
    neighbor 172.31.61.55 remote-as 65534
    neighbor 172.31.61.55 description PE-1
    neighbor 172.31.61.55 shutdown
    neighbor 172.31.61.55 update-source Loopback0
    neighbor 172.31.61.55 next-hop-self
    ***MPLS PE1***
    ip vrf NET-INTERNET
    rd 65534:10051
    route-target export 65534:10051
    route-target import 65534:10051
    interface Port-channel1.35
    encapsulation dot1Q 35
    ip vrf forwarding NET-INTERNET
    ip address 172.31.61.55 255.255.255.224
    mpls label protocol ldp
    tag-switching mtu 1546
    tag-switching ip
    router bgp 65534
    neighbor 192.168.0.146 remote-as 65534
    neighbor 192.168.0.146 description PE2
    neighbor 192.168.0.146 update-source Loopback0
    neighbor 192.168.0.146 version 4
    neighbor 192.168.0.146 next-hop-self
    address-family vpnv4
    neighbor 192.168.0.146 activate
    neighbor 192.168.0.146 send-community both
    exit-address-family
    address-family ipv4 vrf NET-INTERNET
    neighbor 172.31.1.2 remote-as 65534
    neighbor 172.31.1.2 activate
    neighbor 172.31.1.2 description CE1
    no auto-summary
    no synchronization
    exit-address-family
    ***MPLS PE2***
    ip vrf NET-INTERNET
    rd 65534:10051
    route-target export 65534:10051
    route-target import 65534:10051
    interface Port-channel1.67
    encapsulation dot1Q 67
    ip vrf forwarding NET-INTERNET
    ip address 172.31.254.1 255.255.255.252
    mpls label protocol ldp
    tag-switching mtu 1546
    tag-switching ip
    router bgp 65534
    neighbor 192.168.0.132 remote-as 65534
    neighbor 192.168.0.132 description PE1
    neighbor 192.168.0.132 update-source Loopback0
    neighbor 192.168.0.132 version 4
    address-family ipv4 vrf NET-INTERNET
    neighbor 172.31.254.2 remote-as 65534
    neighbor 172.31.254.2 activate
    Best regards
    /Peter

    For VPN routes to be exchanged between the two PEs, you first need to configure VPNv4 address family on each one of the PEs.
    Carrying the full Internet routing table over VPNv4 will work but it is not very scalable since all PE routers have to hold the full Internet routing table in the VRF context in addition to potentially full Internet routing table in the global routing table. If you want to exchange full Internet routing table between the two CEs, it would be preferable to use something Carrier Supporting Carrier (CSC).
    Please refer to the following URL for additional information on CSC:
    http://www.cisco.com/univercd/cc/td/doc/product/software/ios120/120newft/120limit/120s/120s23/fscscl23.htm
    Hope this helps,

  • SoundBlaster X-Fi Surround 5.1 - Having Trouble Getting all of my 5.1 to work

    MSoundBlaster X-Fi Surround 5. - Having Trouble Getting all of my 5. to work?Hi Everyone,
    This has been an on and off problem for me since I've purchased my X-Fi: I can only get certain speakers to work at a single time. As you know, in 5. there are the three /8 inch heads: green, black and orange. All of the heads, when plugged into the green slot (I am using the cable that converts the green head into the red and white inputs, not the green headphones input) on the X-Fi work. I take this to mean that all of the speakers do in fact work and that the problem lies within the device/drivers. I have looked high and low through windows and the creative control panels and changed all of the speaker settings to 5.. Maybe I am overlooking something.
    I am using Windows 7 32-bit. I have tried both versions of the driver that are available via Creative's website.
    Any help would greatly be appreciated.
    Sincerely,
    Dave

    @Re: SoundBlaster X-Fi Surround 5. & SPDIF - it's despairingA Ok - Problem fixed. Again I am using a XP 32bit, latest driver.
    I have disabled all the features (cmss, 3d, etc) and used the provided creative player and powerdvd player. Both work FINALLY right. I can listen to .ac3 5. music track and the SPDIF as a pure passthrough is sending 5. output to my Bose receiver. Same for the DVD sound.
    Note when I used the VLC player the SPDIF still did not work right ... but since it does with the creative player I am good with it.
    Once you activate any of the feature then the sound if brought down to a 2.0 (stereo) sound.
    In my driver I do not have an option to disable the analog output - I assume that is different then the Vista one.
    One other question. I have tested the card with Shure SE530 headset and the output is TERRIBLE - does it work fine for you with headset? (I am planning to use it only as SPDIF so no biggy but I was surprised on the poor quality. Those headset are amplified and filtered so there could be some issue with that).

  • Having trouble getting Unwired Platform to work.

    I'm having trouble getting the formatting to work properly.  Sorry about that.
    Hi,
    I'm having trouble getting the Unwired Platform to work on my server.  I've installed everything on my machine.
    I'm having trouble accessing the control center and pinging my Unwired server through the Unwired Workspace.
    I've pasted in the error output below.
    Any help would be appreciated.
    Thanks,
    Dan
                                                                                    Here is the pinging error:
    com.sybase.uep.admin.client.AdminException: com.sybase.djc.SystemException: Error: Connecting to host: CI0000001507589.rim.net, port: 2000.
         at com.sybase.sup.admin.client.impl.AdminContext.initialize(AdminContext.java:106)
         at com.sybase.sup.admin.client.impl.AdminContext.getInstance(AdminContext.java:40)
         at com.sybase.sup.admin.client.impl.ServerConnectionImpl.<init>(ServerConnectionImpl.java:22)
         at com.sybase.sup.admin.client.impl.ServerConnectionImpl.<init>(ServerConnectionImpl.java:29)
         at com.sybase.uep.admin.client.ServerConnectionManager.ping(ServerConnectionManager.java:191)
         at com.sybase.uep.admin.client.ServerConnectionManager.updateConnectionProperties(ServerConnectionManager.java:98)
         at com.sybase.uep.admin.client.ServerConnectionManager.clusterConnect(ServerConnectionManager.java:68)
         at com.sybase.uep.datasources.uepprofile.UEPServerConnection.<init>(UEPServerConnection.java:59)
         at com.sybase.uep.datasources.uepprofile.UEPConnectionFactory.createConnection(UEPConnectionFactory.java:16)
         at org.eclipse.datatools.connectivity.internal.ConnectionFactoryProvider.createConnection(Unknown Source)
         at org.eclipse.datatools.connectivity.internal.ConnectionProfile.createConnection(Unknown Source)
         at org.eclipse.datatools.connectivity.ui.PingJob.createTestConnection(Unknown Source)
         at org.eclipse.datatools.connectivity.ui.PingJob.run(Unknown Source)
         at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
    Caused by: com.sybase.djc.SystemException: Error: Connecting to host: CI0000001507589.rim.net, port: 2000.
         at com.sybase.djc.rmi.iiop.client.Connection.init(Connection.java:619)
         at com.sybase.djc.rmi.iiop.client.Connection.getInstance(Connection.java:65)
         at com.sybase.djc.rmi.iiop.client.ConnectionPool.iiopConnection(ConnectionPool.java:455)
         at com.sybase.djc.rmi.iiop.client.ConnectionPool.newConnection(ConnectionPool.java:410)
         at com.sybase.djc.rmi.iiop.client.ConnectionPool.get(ConnectionPool.java:152)
         at com.sybase.djc.rmi.iiop.client.ConnectionPool_DJC.get(ConnectionPool_DJC.java:30)
         at com.sybase.djc.rmi.iiop.ObjectRef.$connect(ObjectRef.java:275)
         at com.sybase.djc.org.omg.CosNaming.iiop_stubs.NamingContext._is_a(NamingContext.java:60)
         at com.sybase.djc.rmi.iiop.client.ClientNamingContext.init(ClientNamingContext.java:697)
         at com.sybase.djc.rmi.iiop.client.ClientNamingContext.getInstance(ClientNamingContext.java:76)
         at com.sybase.sup.admin.client.impl.AdminContext.initialize(AdminContext.java:99)
         ... 13 more......
    Line: -
    When I try to access the control center through IE, this is what I get back:
    HTTP ERROR 500
    Problem accessing /scc/. Reason:
        Failed to begin transaction
    Caused by:
    com.sybase.scc.orm.dao.DaoException: Failed to begin transaction
         at com.sybase.scc.orm.hibernate.HibernateSessionManager.beginTransaction(HibernateSessionManager.java:321)
         at com.sybase.scc.servlet.filters.HibernateSessionFilter.doFilter(Unknown Source)
         at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
         at com.sybase.ua.services.http.servlet.filters.HttpsRedirectFilter.doFilter(HttpsRedirectFilter.java:129)
         at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
         at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
         at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
         at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
         at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
         at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
         at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
         at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
         at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
         at org.mortbay.jetty.Server.handle(Server.java:326)
         at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
         at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:923)
         at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:547)
         at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
         at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
         at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)
         at org.mortbay.jetty.security.SslSocketConnector$SslConnection.run(SslSocketConnector.java:680)
         at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
    Caused by: org.hibernate.exception.GenericJDBCException: Cannot open connection
         at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:103)
         at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:91)
         at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
         at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:29)
         at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:426)
         at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:144)
         at org.hibernate.jdbc.JDBCContext.connection(JDBCContext.java:119)
         at org.hibernate.transaction.JDBCTransaction.begin(JDBCTransaction.java:57)
         at org.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:1326)
         at com.sybase.scc.orm.hibernate.HibernateSessionManager.beginTransaction(HibernateSessionManager.java:307)
         ... 21 more
    Caused by: java.sql.SQLException: JZ006: Caught IOException: java.net.ConnectException: Connection refused: connect
         at com.sybase.jdbc3.jdbc.ErrorMessage.raiseError(Unknown Source)
         at com.sybase.jdbc3.jdbc.ErrorMessage.raiseErrorCheckDead(Unknown Source)
         at com.sybase.jdbc3.tds.Tds.a(Unknown Source)........

    HI,
    as well I would check if ou are able to access the URL in browser itself - otherwise enter the URL into your host file and try again.
    Hope this helps.
    Regards,
    Oliver

  • How to get the server port and id from the Initialcontext

    hi
    i know that i can get the server port and id where the jndi service is listening from the InitialContext ( when i create InitialContext ic = new InitialContext(); from within a EJB. ). Does this work on any application server and where (at what position is for example the port) in the Enumeration at the ic are the different things put?

    I would usually just get the PROVIDER_URL property from the InitialContext and use that to determine the location of the naming service:
    String providerURL = (String)ic.getEnvironment().get(Context.PROVIDER_URL);You'll then need to parse that string to obtain the port and the server name. For example:
    // Assume that the provider URL is of form "protocol://server:port"
    int serverStartIndex = providerURL.indexOf("://" + 3);
    int serverEndIndex = providerURL.indexOf(:, serverStartIndex);
    String server = providerURL.substring(serverStartIndex, serverEndIndex);
    String port = providerURL.substring(serverEndIndex + 1);It's a fairly universal approach but there'll doubtlessly be some special cases (for example, the provider URL could be null and the InitialContextFactory class defaults it).
    You might have to adjust the server/port parsing stuff a bit as I just made that up and your URL might not conform to the pattern I described.
    Hope this helps.

  • I am having trouble getting sound on video clips I have imported into Premiere Elements 10.

    I am having trouble getting sound when importing video clips into Premiere Elements 10.  Is someone able to offer me a solution as I have no idea what I have done to cause this to happen. 
    The clip has sound when opened with windows media player.
    Thank you

    Hi Steve,
    After reading everybody’s responses I am feeling a little out of my depth.  Being new to this I am having difficulty in understanding a lot of the information given to me and also in the information you require from me.  It appears that one thing I should never do is mix film from two different cameras.  I would really like to fix this one particular clip though as it holds an interview that was taken when leaving Coober Pedy and something that I don’t want to lose.
    I have today done some research on the camera that took the offending video clip.   It was a Samsung S85 and according to the Samsung website it uses MJPEG video format.
    Here are the specifications as per the Samsung website.
    Camera Type
    Ultra-Compact Point-and-shoot Digital Camera
    Image Quality
    Image Sensor
    1/2.5" 8.3 Megapixel CCD
    Effective Resolution
    8.2 million pixels
    Color Depth
    24-Bit RGB
    Color Modes
    Normal, B/W, Sepia, Negative, Red, Green, Blue, Custom Color
    Image File Formats
    JPEG (Super Fine, Fine, Normal)
    Recorded Resolution
    8M (3264 x 2448)
    7M (3264 x 2176) - 3:2
    6M (3264 x 1824) - Wide
    5M (2592 x 1944)
    3M (2048 x 1536)
    1M (1024 x 768)
    Video Recording
    AVI Motion JPEG with Audio
    640 x 480 @ 30 or 15 fps
    320 x 240 @ 30 or 15 fps
    Clip length limited only by available memory
    5x optical zoom available during video record
    Audio Recording
    WAV format (monaural)
    I downloaded and installed Media Info and Morgan Multimedia MJPEG Codec V3.99.108 today.  Do I have to register it to get it to operate?  I read the documentation file that came with it hoping to find a clue as what I should do but I could not comprehend the information it contained.
    Thank you and other members who have responded to my plea for all the help you have given me.
    Judy

Maybe you are looking for

  • F.07 customer balance carry forward doubts

    Hi folks, i have some concerns about T-code F.07. 1. Can we run this Tcode more than one time for a particular customer account for the same fiscal year? If it's allowed what will happen? 2. For the record in KNC1 table, if we run the F.07 twice, wha

  • Storage location control

    Hi, Based on our current requirement, the moment we create a sales order, an out bound delivery and TO should get create automatically, if stock is available. We are successfully acheiving this functionality. But system is creating out bound deliveri

  • How do I delete exact duplicates in my library?

    How do I delete exact duplicates from my library?

  • Can't open a video after final cut export.

    Very strange issue which getting me nuts. I've FCP 7 on Lion. I'm finishing a project and export it as it is on an external hard drive for back up. I've got a .MOV file. After that I'm making an other folder and export all the working file from FCP.

  • Workflow and notification

    Hi Experts!! Please guide how can MDM workflow send notification to user who is outside the MDM system. In my scenario,user logs to one system for material number generation and mdm workflow starts only when data is imported by SAP MDM.On sucessful c