Debugging applications on host and target simultaneously

I have an application running on LabVIEW-RT and another, which communicates whith the first one, running on LabVIEW.
Is there a way, on the same PC, to run an application on the host system and to debug an another application running on the target system ? The must will be to debug the two applications simultaneously.
Thanks for any input.
Hubert Robitaille

Hi Hubert,
You probably will not want to hear this but,
You cannot have a window open to the RT system while running a different LV app on the host.
When I have needed to do this, I have cabled up another PC with LV-RT to monitor the RT system. Een doing this can be a little awkward because RT wants to re-link and reload when you switch to the taget RT system.
I got around this by mapping the drive where the RT app is stored on the the windows system to the "extra" PC. Even after doing this, make sure you do clean connects and disconnects (to from the RT system), otherwise it seems that the main RT app will close but leave al of the sub-VI's running!
I have used other techniques as well, but they may be to specific to comment on now.
What kind of thing
are you trying to debug that requires you have both systems going at the same time?
Ben
Ben Rayner
I am currently active on.. MainStream Preppers
Rayner's Ridge is under construction

Similar Messages

  • 10G: Startup/Shutdown Host and Target Credentials

    Hello,
    I recently installed the Windows version of Oracle 10G. I was working on the database when I had to do a shutdown immediate command. The I went to Enterprise Manager to restart but it gave me a web page stating I need to specify the Host and database credentials. It stated to give the username and password of the Host and Database credentials.
    I know what the DB credentials are and my credentials are my OS username and password that I normally use to logon to my PC (or so I thought) but when I try and use that combination, it gives an error and states that it's an invalid password. Is there a way to reset the Host credentials username and password in Enterprise Manager Oracle 10G version?
    Thanks,
    Steve

    Can you check out
    10g host preferred credentials, wrong password
    and see if the solution given there solves your problem, too?

  • How many $Target/Host or $Target/Host/Host ... etc do you need to go

    Hello
    Can someone please help me with the following question as I am learning authoring at the moment, thanks
    I see from Brian videos that some times you need to use just $Target/Property... and other times $Target/Host/Property...
    or even $Target/Host/Host/Property... and so on.
    I get the idea (or at least I think I do), in as much as the further you are away from the Host (e.g. the deeper down embedded in the XML) you have to step back up using Host or Host/Host etc. a bit like when transversing a file system using ..\.. or ..\..\..
    So for a registry discovery you would say $Target/Host/Property... e.g. use Host one time.
    My question is.
    is this always the case for a discovery?
    How do I know when I should use $Target/Property and when to use $Target/Host and $Target/Host/Host etc.. is there any easy well to tell?
    Thank you
    AAnotherUser__
    AAnotherUser__

    Just a little modified previous script:
    function Get-SCOMClassHostElement {
    param(
    [Microsoft.EnterpriseManagement.Configuration.ManagementPackClass]
    [Parameter(Mandatory = $true)]
    $ManagementClass,
    [Switch]
    [Parameter(Mandatory = $false)]
    $KeyOnly
    function Get-SCOMClassKeyProperty {
    param(
    $ManagementClass,
    $MPElementPath
    $ManagementClass.PropertyCollection | ? {$_.Key} | % {$MPElementPath + "Property[Type=`"" + $_.Identifier.Domain[0]+"!"+$ManagementClass.Name+"`"]/"+$_.Name+"`$"}
    If ($ManagementClass.Hosted) {
    Get-SCOMClassKeyProperty -ManagementClass $ManagementClass.FindHostClass() -MPElementPath ($MPElementPath + "Host/")
    If ($ManagementClass.Base) {
    Get-SCOMClassKeyProperty -ManagementClass (Get-SCOMClass $ManagementClass.Base.Id) -MPElementPath $MPElementPath
    function Get-SCOMClassAllProperty {
    param(
    $ManagementClass,
    $MPElementPath
    $ManagementClass.PropertyCollection | % {$MPElementPath + "Property[Type=`"" + $_.Identifier.Domain[0]+"!"+$ManagementClass.Name+"`"]/"+$_.Name+"`$"}
    If ($ManagementClass.Base) {
    Get-SCOMClassAllProperty -ManagementClass (Get-SCOMClass $ManagementClass.Base.Id) -MPElementPath $MPElementPath
    $MPElementPath = "`$Target/"
    [Array]$ManagementClassProperty = Get-SCOMClassKeyProperty -ManagementClass $ManagementClass -MPElementPath $MPElementPath
    If (!$KeyOnly) {
    [Array]$ManagementClassProperty += Get-SCOMClassAllProperty -ManagementClass $ManagementClass -MPElementPath $MPElementPath
    $ManagementClassProperty | Select-Object -Unique
    New-SCOMManagementGroupConnection
    $ManagementClassName = "Microsoft.SQLServer.Database"
    $ManagementClass = Get-SCOMClass -Name $ManagementClassName
    Get-SCOMClassHostElement -ManagementClass $ManagementClass
    Vladimir Zelenov | http://systemcenter4all.wordpress.com

  • How do I correct version conflicts between host and RT engine?

    I was running LabVIEW RT7.0 on a host PC (WinXP) and PXI-8145 system. I installed LV7.1 and LVRT7.1 on the host. However, the software versions in MAX still report as 7.0
    I would like to upgrade to 7.1 on my 8145-RT. I cannot run 7.1 on the host and target the 7.0 RT engine (results in version conflict). Version 7.0 is installed on C:, but 7.1 is installed on D: due to space.
    How can I get MAX to recognize my latest version (which should allow my to download it to the PXI)?
    Thanks.
    Laine

    Thank you for the response.
    C:\RT Images contains only a single folder for NI-PAL
    However, I backed it up and copied the RT Images folder from D:, but still the same effect (MAX thinks 7.0 is the latest LabVIEW version).
    D:\RT Images\LabVIEW\7.0 contains subfolders and install scripts (e.g., 7002.rts)
    D:\RT Images\LabVIEW\7.1 contains subfolders but no install scripts. Also, there are many fewer files in these subfolders than in the 7.0 folder. I'm worried about trying to manually install from the 7.1 folder.
    Any other suggestions? Thanks.
    Laine

  • Linux Application Debugging on Windows Host

    I want to debug Linux applications using replay debugging with this setup:
    Windows Host (Windows 64 bit), VMWare Workstation 7.0
    Linux Guest 1 (32bit) for development and running gdb
    Linux Guest 2 (32bit) running the application which should be debugged
    For simpliciy both guests will use the same Linux distribution to ensure that all libraries are the same.
    The idea is to start the vmware-gdb-proxy on the Windows host and connect form guest 1 to the proxy to debug on guest 2.
    But there seems to be no vmware-gdb-proxy available for Windows - so my questions
    is there a vmware-gdb-proxy avaible (or is it planned to make one available) ?
    have I missed something? is there another way to do replay debugging Linux applications on Windows hostt?
    Thanks,
       Christian

    Of course you can.

  • Settings of Mail Host and Mail Port in transaction: SCOT for the node: SMTP

    Hi,
    Could anyone please explain me the significance of Mail Host and Mail Port for the SMTP node in transaction: SCOT.
    It says Mail Server to which outbound mails can be passed.
    Can i specify my GMAIL ID in the field Mail Host and left blank the Mail Port so that the mail can be sent to my GMAIL Account.
    Please let me know if further details are required from my side.
    Thanks & Regards,
    Goutham.

    the below are the step to  configure  your  mail server  of anhy type ....
    Steps to perform in SAP:
    1. Transaction SM59 – Setup an RFC Destination for the execution of the email transfer
    a. Name: Internet Mail Gateway
    b. Connection Type: T
    c. Description: Internet Mail Gateway
    d. Activation Type: Start
    e. Explicit host:
    i. Program: c:<dir>mlunxsnd (I used c:sapmail)
    ii. Target Host: <Server_Name>
    f. (MENU) Destination -> Gateway Options
    i. Gateway Host: < Server_Name>
    ii. Gateway Service: sapgw00
    iii.<OK>
    g. SAVE
    2. Transaction SCOT – Setup a default domain for your system
    a. (MENU) Settings -> Default Domain
    i. <Default_domain> (i.e. [email protected], Domain – company.com)
    ii. This setting gives a default to any user who does not have their email address maintained in the system. <user_name>@<default_domain>
    3. Transaction SCOT – Setup of the Node for queuing the emails before transfer to Exchange
    a. Click on “INT” -> Create button
    b. Give Default name (I choose EXCHG, as this was the node type for the Exchange Connector)
    c. Give Description
    d. Assign the RFC Destination previously created (Internet Mail Gateway)
    e. Node: “Internet”
    f. Address area: *
    g. Supported address Types:
    i. All formats except the fllw
    ii. ALI, OBJ, OTF, SCR, URL
    h. Choose Ok and Save
    4. Transaction SCOT – Setup a job to execute the send process on the queue.
    a. (MENU) View -> Jobs
    i. Select the Create Button
    ii. Job Name: SAPConnect
    iii. Put Cursor on Variant: SAP&CONNECTINT *As you created an INT Node, you need to run the variant for all of the INT sending. You can select SAP&CONNECTALL, but if you are not using any other node types, you can run with SAP&CONNECTINT.
    iv. Select: Schedule Job Button
    v. Schedule job for a periodic run – approx. every 15 minutes
    vi. Save
    5. Transaction SU01 – Maintain each user’s email address
    a. Select users who require the ability to email from SAP
    b. Under the address tab, in SU01, maintain their email address.
    Steps to perform on the SAP system (operating System):
    1. Create a directory for the SAP programs.
    a. Create directory c:sapmail (Directory can be anything)
    b. Unpack the ML*.CAR file from SAP’s website
    c. Alternatively, copy the ML* files from /usr/sap/../run/ directory. This ensures version compatibility with your SAP instance.
    2. Create the directories for your “sendmail” program
    a. http://emailrelay.sourceforge.net/
    i. Download the emailrelay program
    b. Create directory c:winntspoolemailrelay
    i. Unpack the contents of the emailrelay zip into this directory
    c. create Directory c:reskit (Used to make the emailrelay program run as a service
    i. http://www.tacktech.com/display.cfm?ttid=197
    1. www.tacktech.com had some great instructions for creating a service on the NT side. (Thank you Tacktech)
    2. Use SRVANY to create the services, as documented below.
    d. Open command prompt
    e. Follow instructions for creating a service
    i. cd reskit
    ii. execute c:reskitinstsrv.exe "<SERVICE_NAME_Engine>" c:reskitsrvany.exe
    1. This service is the “engine”
    iii. execute c:reskitinstsrv.exe "<SERVICE_NAME_Send_Process>" c:reskitsrvany.exe
    1. This service is the “send process”
    iv. Modify the registry to represent the two new services
    v. View instructions for Parameters and Application Creation under the services in the registry
    vi. Command lines should be as follows:
    1. <SERVICE_NAME_Engine> - c:winntspoolemailrelayemailrelay.exe --as-server --no-daemon
    2. <SERVICE_NAME_Send_Process> - c:winntspoolemailrelayemailrelay.exe --no-daemon –-hidden --forward-to (your_mailhost):SMTP --poll 5
    vii. Start the services using service mgr.
    f. cmd prompt cd sapmail
    g. mlsomadm c:sapmailmailgw.ini (see below)
    3. Create a mailgw.ini file (This file is used by the mlunxsnd program)
    a. Open a command prompt
    b. Change to the directory c:sapmail
    c. Run command mlsomadm c:sapmailmailgw.ini
    i. This creates the parameter file for the send process.
    d. MAILGW.INI entries
    i. System Name: [SID]
    ii. Client: [000]
    iii. Username: [MAILADM] – no user required, as this is not being used for your connection
    iv. Password: [*******] – leave empty
    v. Language: [E]
    vi. Load Balancing: [N]
    vii. Hostname: [app_server_name]
    viii. System Number: [00]
    ix. Gateway Hostname: [ ] – you do not have to specify, it will use the default
    x. Gateway Service: [ ] – default will be used
    xi. Use SAP Router: [N]
    xii. Set Bcc Flag on Env..: [N]
    xiii. Trace Level <In..>: 1
    xiv. Trace file <In..> c:sapmailtracein.txt - Can be where ever you want
    xv. Sendmail Command: c:winntspoolemailrelaysubmit -–from <SENDER_ADDRESS>
    xvi. A warning may come up that says to not use the “–t” flag. IGNORE
    xvii. Codepage: [ISO-8859-1]
    xviii. Generate Notificat..: [N]
    xix. Trace Level <Out..: [1]
    xx. Trace File <Out..>: c:sapmailtraceout.txt - Can be where ever you want
    xxi. Update File c:sapmailmailgw.ini [Y]
    Steps to perform on the Microsoft Exchange System
    1. Allow the SAP systems to enter on port 25 to send mails using Microsoft Exchange (SMTP Communication)
    reward  points ....
    Girish

  • Host and listener "unavailable" on em dbconsole

    I'm running oracle 10g on linux.
    In Home/general there is not the name of the host and listener, only "unavailable".
    What could be?
    Oracle is running and I'm using it with Compiere (an erp java application).
    I'm getting problem to put the credential to do backup, and doesn't work. So I'm tring to see what could be.
    Maybe this error could be the cause.
    Many thanks for your help.
    Nicola.

    1) In a file called targets.xml
    2) Most people here refuse to read documentation, even when requested to do so by the Forums Etiquette post.
    For your convenience, I copied here the relevant part of the doc
    h5. 1.2.6.7.3 Using EMCA When Database Host Name or IP Address Changes
    When the database host name (including the domain name) or the IP address changes, deconfigure and then reconfigure the Database Console with the repository create command. Run the following command:
    {noformat}emca -deconfig dbcontrol db -repos drop
    emca -config dbcontrol db -repos create
    {noformat}
    or
    {noformat}emca -deconfig dbcontrol db
    emca -config dbcontrol db -repos recreate
    Just search for 'emca' on [http://tahitit.oracle.com] to get further info. As alll Oracle configuration tool names end in 'ca'
    finding the correct tool name (emca) is not difficult.
    Kindly avoid asking doc questions in the future.
    Regards
    Sybrand Bakker
    Senior Oracle DBA
    {noformat}

  • When use scan mode and FPGA simultaneously, why does the FIFO Read can not be used?

    Hello, I am using compactRIO-9025 to do a project and trying to use scan mode and FPGA simultaneously ( Hybrid mode). I have already build a project as the following tutorial.
    http://digital.ni.com/public.nsf/allkb/0DB7FEF37C26AF85862575C400531690 and I have NI 9205, NI 9023 in Scan mode and NI 9871 in FPGA mode in the same project.
    In the FPGA Target of the project,  I add a FIFO and tried to use it to log in data from NI 9871. I wired the module I/O node to FIFO Write in the target vi. However, when I  droped the invoke method to the block diagram of the host vi and right clicked it, there is no FIFO Read can be choose. Could you please help me to solve this problem?
    Thank you very much!!

    I am not aware that using the Scan Engine is blocking any access to a transfer FIFO. But please reread this from your quoted KB:
    Secondly, the number of DMA FIFO's that can be used in the FPGA code will be reduced, since the scan engine uses two DMA FIFO's. Most FPGAs have 3 DMA FIFO's, so there will only be one DMA channel left to use in the FPGA code.
    This means, you have only a single DMA FIFO left which is either Target to Host or Host to Target.
    Make sure that you configured the FIFO to be the correct direction for your needs...
    hope this helps,
    Norbert
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • Sending email to 10,000 addresses without knowing Host and Protocols!!

    Context:
    I am building an "eMail Marketing Campaign" application which takes a list of email addresses (unlimited) and sends an eMail to all of them.
    My servlet creates an instance of "MyMailHandler.java/class" and passes a list of addresses.
    Problem:
    If I want to send email to different user, do I need to know about everyOne's HOST and PROTOCOL. My application recieves list of addresses from a remote server of a data-selling-company so they don't have that info.
    Following is the code (hardCode!) of MyMailHandler.
    properties.put("mail.smtp.host", "MAIL.DMCDATABASE.COM");
    properties.put("mail.transport.protocol", "IMAP");
    Question:
    How do I send emails to receivers without knowing everyOne's host and Protocol?????? (new to JavaMail)

    No, you only need to know the name of your own mail host. It will send the e-mails to those 10,000 addresses for you. And the protocol for sending mail is SMTP, that's all you need to know to send mail. IMAP and POP are protocols for storing received mail messages and so are not relevant to your task.

  • How can I transfer more than 64 bit data from host to target?

    Hi all, I'm currently using PCIe-7851r fpga card to drive my device. There were 64 lines to be controlled. So what I did is generating the commands on the host pc and then transfer it to the target via DMA FIFO. The data type of the FIFO is U64, i.e. every one digit controls 64 DIO lines. But the question becomes complex when I transfer 66 line command. I tried to create 2 FIFOs, but I can hardly make the 2 FIFOs synchronized.
    I think I might be able to create 2 U64 arrays, one contains the original 64 line command,s and the other contains the 2 line info (a waste). And then I interleave them in the host and decimate them in the target. There should be enough cycles to to this. But I dont think this is a good solution. Is there any better method? Thank you.
    LabVIEW 2009, Windows XP, PCIe-7851R
    Regards,
    Bo
    My blog Let's LabVIEW.
    Solved!
    Go to Solution.

    Using the techniques highlighted in this tutorial:
    http://zone.ni.com/devzone/cda/tut/p/id/4534
    You could use code like this:
    Mark B
    ===If this fixes your problem, mark as solution!===

  • PO from SO via DI API:Base document card and target document card do not ..

    HI All,
    I am trying to create Purchase Order from Sales Order. This is possible by GUI (on Sales Order on logistics tabs Click On Purcase Orders CheckBox.
    I got the error message: -5002-Base document card and target document card do not match.
    The message itself can be understandable, because the Customer and Supplier has a different CardCode.
    I am sure I am using a correct code
    oPo.Lines.BaseType = BoObjectTypes.oOrders
    oPo.Lines.BaseEntry = sDocEntry
    oPo.Lines.BaseLine = iLineNum
    Where oPo is a Purchase Order document.
    sDocEntry is a Sales Order docentry and iLineNum is a Line number of Sales Order
    For other A/R to A/R and A/P to A/P documents are working fine.
    Has anybody found this error or has anybody created application like this?
    I am using sbo2007PL46
    Regards,
    J.

    Hi guys,
    this is still on the suggestion page:
    Link existing Purchase Orders to (Sales) Orders via DI API : View Idea
    I tryed with 9.1 PL 4 and it didn't work.

  • Running ABAP Web Dynpro Application without host entry of web server

    Hi All,
    I am trying to run a web dynpro application, its working fine when I have done host entry (host nam.domain.extension) of web server.
    But when I remove this entry from host file it not runs.
    Can you tell me the posibility of running this application without host entry? Based on this possibility I have to proceed my work. Please guide me.
    Thanks and Regards
    Sudhir Gupta

    Hi Sudhir ,
    See the below link , its necessary to provide FQDN.
    http://help.sap.com/saphelp_nw70/helpdata/en/67/be9442572e1231e10000000a1550b0/frameset.htm
    Regards
    Yash

  • USBOTG and Charge Simultaneously on Stream 8

    To keep this thread as efficient and productive as possible for all those who it will be useful to: Unless you have in front of you1. A schematic of the Stream 8 USB port (USB port and battery power circuit etc)2. Source code of the BIOS firmware and kernel which control the hardware Please DO NOT reply simpy to say "this is not possible".  Given the above being true, you do not have enough info to say "not possible". If no one replys with a solution, let it be called impossible by default. Also please do not reply to say "I don't know how"  or "but I know how to do this other thing" thats also not so helpful. A BIOS update or other software update may be required by HP, Microsoft or both to make this really intuitive, and completely possible, functionality available. And hopefully this thread can be a consolidated effort by all of us who have the Stream 8 to bring any such necessary changes about.  A majority of other tablet PC are capable of this.  It seems that only the Stream 8 and a few others have trouble with it. ~~~~ I desire the ability to use a simple, perhaps standard, inexpensive cable (with minimal active electronics inside) that allows me to host and use one or more USB devices on the Stream 8 via its USB micro B port while this cable can also be connected to a standard charger and charge the Stream 8 simultaneously.  This means the cable has a minimum of three connectors.  One possible configuration is as follows (leaving the normal charge cable aside): 1. USB Micro B Male - to connect to the Stream 82. USB A Male - to connect to the AC charger (ie the one that came with the Stream 8)3. USB A Female - one or more connectors to plug in USB data stick, keyboard, mouse or even a hub. Connector # 2. above will provide power to charge the Stream 8 via conn. #1 and also supply power to the external USB device(s) via conn. #3 while they are in use - all simultaneously. A plus if the same cable can act as a normal OTG without a charger for when no external power is available.  Maybe this will require a switch or some active electrontics inside. The final part of this goal is kind of important for various reasons.  I would like HP, the maker of the Stream 8, to state in writing the correct mode necessary to do this so that other manufacturers or even do-it yourselfers can make maximal use of their HP tablet equipment. ~~~~ The neat thing this will alow a person to do with their tablet, is to work at home using the tablet like a desktop PC by connecting a keyboard, mouse, perhaps external display (with USB to display adapter) and work for a long time without being time limited by battery life because the charger supplies the power to everything involved. If there is only one #3 connector on the cable then an additional hub of coarse would be required to provide support for those multiple USB devices at once.  However it would be better if there were multiple of the #3 connectors built in to the cable itself.  This would be best because a proper USB hub also requires its own power.  Only one power adapter would be needed if the whole thing were integrated into one. ~~~~ I would really like replys from anyone who has already accomplished USB OTG plus simultaneous charging with the Stream 8. (independant of any published "correct" way is also welcome) The date today is 2015-01-16.  If by 2015-02-16 (one month) no one has posted a solution then lets start to bug HP and Microsoft about it shall we? ~~~~ Technical Background: I understand the possibility that the tablet software and or firmware needs to make a decision about which way power is flowing on the power pins of the USB mirco B port. I know that with proper design the electronic circuit carring these power signals inside the tablet could be sensitive to what is plugged in and safely decide for itself what to do without any need for software control.  For example by periodically testing/sensing voltage differentials or current direction to see which sides of the connector can supply power. But that is only one of many "could bes" Furthermore this may be non-standard with respect to the USB standard.  What appears to actually be the case with many OTG+Charge cables is that physical cues built into the cable or charger are used to signal to the tablet what the situation is.  Then the tablet's firmware/software recieves the signal, interprets what the situation is intelligently and responds by flipping the correct hardware control bits to turn on, or off power flow at the port and also control its direction in or out. I am not familiar with the USB standard.  Perhaps I could do more research, if I had faith that HP followed it with the Stream 8 or even that the standard covered this situation explicitly. But to a degree it seems like I am having to invent something that should intuitively just exist as it does with other tablets. No?  Maybe I am overthinking but I can't find any USB OTG + Charge cables that specify compatibility with the HP Stream 8. Anyway, I have been made familiar with two methods other tablets use to send the above mentioned signal to the hardware/firmware/software of the tablet to clue it in that it is time to charge vs. time to OTG or both. The first method is a 0 Ohm to 200 Ohm short between USB A pins 2 and 3.  Those are the bidirectional, differential data lines D- and D+ respectively.  In data mode all data goes back and forth on these lines.  When you charge via a data cable, it is the charger module which places this short, not the cable.  I have measured the short on three different chargers.  It is 0 Ohms on two of them, one of those being the charger which came with the HP Stream 8.  The other 0 ohms was generic.  The third was for an apple iPad and it measured about 53KOhms.  That is probably not the 0-200 Ohm resistor but probably it is the termination impedance indicating that there is some communication intelligent serial port in the charger itself.  Let it up to Apple to be different. This method is somewhat moot because this mode of signaling would prevent OTG + Charge because it seems unlikely that you'll be able to OTG when the data lines are shorted to one another and loaded down with such low impedance.  I could be wrong about this. . .  The other method I have seen suggested to work with some tablets and phones other than the Stream 8, is to short the USB Micro B pin 5 to pin 4 with 0 Ohms to 100,000 Ohms. USB B has 5 pins.  USB A only has 4.  The extra pin on B displaces the GND pin from pin 4 to pin 5 and makes pin 4 an ID pin. So this signal applies a pull-down to the ID pin (pin 4) or in some cases I have seen it suggested to short it down with 0 Ohms. Dead shorting things always makes me nervous.  If ID is a simple high impedance normally high input, a resistor could be used to make the voltage well below the low or zero threshold while also preventing the risk of damage when fooling with a device you don't have the schematic for. Still, 100K is a little high for a "pull down" in most situations I am used to.  Even a 10K would be iffy. A 1 K or 2 K seems pretty safe but then things are lower and lower current these days. . .   Anything but a dead short though if possible. So it seems possible to me that the device might be able to "identify" by the specific value of the resistor that is here.  In other words the resistor is not a pull down but actually an analog ID signature, in which case the exact value will be critical. So if this is the case, a guess isn't going to work. Obviously in any such scheme as described above, some chip inside the Stream 8 would need to be responsible for supporting such intelligence. I am hoping that the Stream 8 has such a chip. Likely a register inside that chip would reflect at all times what the state of the ID pin is with a binary number.  All that is needed is for the BIOS to address the chip and the register in it and read that number via the bus to determine what is going on at the port. Finally it would use that info to send hardware control signals to the power electrontics to set the proper direction for power to flow etc.  (and change the state of the icon on the screen of coarse) I am not sure if the ID pin method described is a USB standard or not either. There may possibly be a third way. But I do not suspect it would be possible with a non-active external device. In any case too complicated for the novice DIY for sure. The apparatus would need to act is some kind of bus extender.  Like an active hub.  But it would use the serial USB data lines handshake and in addition to replicating one or more additional USB ports, intelligently inform the tablet to get with the program which is "now we are going to otg and charge at the same time." This requires an intelligent external device with a CPU in it probably. It seems to me that many other tablets have managed accomplish the goal here witho the necessity for an intelligent external device and so the Stream should also be able to do so. There is a device which claims to be able to work with the HP Stream 7 and 8 and even provides ethernet and DVI ports in addition to the USB and of coarse charges the stream as well.  But its expensive because it is active.  Se here: http://amzn.com/B00OVDE0GC It is called a "Docking Station" A reference for a product that does exactly what I want (possibly without active electronics) is here: http://amzn.com/B00LTHBCNM It is by Kirin and it is a squid type device with four USB ports.  It does precisely what my objective is.  But reading in the reviews a Stream 7 user indicated that it would not OTG and charge, not exactly clear if it worked as an OTG USB hub or not.  Another reviewer indicated that it would not even support a single USB device much less charge on the Stream 8.  This device has a switch on it. I forgot to mention that some "hackers" have claimed to succeed with other tablets to trick their devices by using a multi step process to plug things in.  Usually in general they would get the tablet connected and charging first, then they would flip a switch or something removing whatever resistor or signal was presented by the first switch position. For whatever reason the tablet would continue to charge. Then the data lines would be free and they would plug in a usb stick and it would mount up correctly even as the tablet was still charging. Its like the power circuit has a latch that will not allow it to flip to "power flow out" mode so long as it senses power is still flowing inward regardless of what software is telling it.  Complete guess here. Such tricks  seem iffy to me.  Changes in the BIOS could change the way this works.  Also you can't be sure what is really happening if you don't have a schematic.  You could damage your tablet.  A lot of people go by the charging icon indicated in the OS to know if the tablet is charging.  But I am a low risk kind of guy and my policy is generally to not intereperet indicators to have any meaning at all the once a device is operating in a non standard setting.  Especially when its something i didn't build and couldn't fix if I fry it. Hypothetical reasoning: tell me what sensory data actually drives the state of the on screen charging indicator?  Does it reflect the hardware control bit that actually programs the power direction and state on the port?  Or does it measure the direction of power flow, say in the battery supervisory section of the circuitry?  Point is - none of us have a schematic because it is proprietary. To really be safe depending on how smart the hardware electronics are, the port needs to be in a deliberate "power flow in" mode. If it is in a "power flow out" mode and power is being delivered externally as well you wind up with the two power supplies driving the same power nets.  In that circumstance, the two opposing regulators which are both attempting to drive 5 V may have slightly different voltage calibrations.  That could cause them to fight each other with over 100% of their current capacitiy.  For example if one attempts to regulate 4.95 V actual and the other and the other attempts to regulate 5.05 V.  Current will then flow to the tune of 100 mV / a couple milliohms in the wires connecting the two.  This could be several amps. (a lot)  In other words, like I said:  You want the tablet to know that power is coming in not going out and to automatically hit the necessary internal switches to make this happen. Probably the tray icon should accurately indicate this but in some goofy situation it might not. There may be a chance the icon could indicate charging and still be burning up or stressing some circuit of the tablet or charger. Another possible thing I could see happening is if you play with those resistor signalled types enough you might find a resistance value that winds up placing the device in an intermittant state.  In other words it keeps flipping back and forth rapidly between OTG and charge.  It may give the illusion that it works.  You may have marginal communication with your USB devices and the battery might even charge.  But still lots of stress will be on the power circuit. It is hard for me to risk a perfectly good tablet if I am not sure exactly what I am doing. If some brave individual performs their own experimentation and verifies that it charges and OTGs and you tell the rest of us, then you'll be a hero. Maybe one of you has good knowledge about the USB standard to be more confident in such an experiment . . . like how is the ID pin 4 REALLY supposed to work for example? That is what I know so far.  If you think you can help further, thanks in advance, or if this has helped you, then your quite welcome.

    To everybody who replied, thanks very much for your input. Firstly, beegmouse those two links are a great find.  Lots of good info. Dell™ Micro USB Dongle for Data and ChargingHow To Turn A $99 Tablet Into A Workstation! A few things still worry me. 1. The article is entirely about the Stream 7 not the Stream 8 (minor). 2. In the comments below the article a few people indicate that it charges, but slowly or remains at a steady power state. One of the commenters also provides a link to another similar OTG and Charge Device. Universal usb OTG Charger HUB cable for Tablet PC thinkpad 8,X98, M80ta,WT-8,Miix2,ME-400C,V8P,T100TA,W4-820,V975I,more models One commentor, Martinot states:     "I know others who got this one to work with HP Stream:" Then Martinot reposts the same thing but with a slight correction:       "I know some who got this one to work with HP Stream 7 and other Windows tablets:" So is it only Stream 7? or other Streams too? The charging "slowly" part kinda scares me.  It seems to indicate somethings not right.I don't want to fry my charging circuit and wind up having to RMA it.  Of coarse it could just be these people's perception as well.  Like watching grass grow.  I charged mine and it is normally kindof slow. It takes the whole night to charge when it is shut down and using the supplied cable and charger. Finally from the DIY perspective - Where's the magic?  I notice that the Dell device specs say that the Micro B female port on it is dedicated for charging.  So you connect your supplied cable and charger to that and the USB device to the other port.  (in the absence of a dock or USB hub)  I suspect there's an open on the data lines in the female micro B port of the DELL thinger.  That way the 0 Ohm short on data +/- that is completed by the charger doesn't make it through the DELL thinger to the tablet.  But does the dell thinger replace it with something else?  Can't be anything very low impedence or the data to the USB device would be too loaded down to signal. Maybe it puts something on pin 4 the ID pin.  Really hard to say. Also difficult to get probes on that little Micro B male.  I need to get some push pins or something super tiny to probe those tiny pins. ~~~ Thanks for your post and thread reference leo_kendall.(Parallel Thread on This Forum: OTG, charging and extrenal batery pack works HP stream 7) leo_kendall says that it charges "slowly" using this method as well. Others in that thread report slow charging, but one said no charge at all . . . maybe did it wrong? Interesting that you need to disable the Microsoft ac adapter device driver. Also thank you to eriri-el, I actually saw that entire video even before I posted the first time. Remember that the video demonstrates this with a Toshiba something or other, not a Stream 8. One thing that is clear to me is that tablets all have unique behavior with respect to OTG plus charge. Still to address the idea, I think this may almost be electrically identical to  leo_kendall's method.  However it could be slightly different at the Micro B end because one begins life as an OTG cable.  The other is something different. I researched the Y cable at Startech.   3 ft USB Y Cable for External Hard Drive - Dual USB A to Micro B The purpose of the cable is to provide the ability to connect the USB Micro B end to a single power hungry client USB device - such as external hard drive.  The other two branches go to the PC in normal use. One provides the actual USB data connection with the standard 500 mA of power. The other (red one) provides an additional 500 mA of power from a second USB port.  The point is to provide double the power to an ext HDD.  There are no data wires in the red one. In the linked video, the cable is being completely repurposed.  Not that it's an invalid idea, you just have to be careful when trying to be smarter than the designers. Basically both methods place all three ends (Tablet, Charger, and USB Device) on the same common power bus.  That is, sharing the same +5V and Ground nets. How these two methods may differ has to do with that fishy ID pin (pin 4).  leo_kendall started with an OTG cable.  Whatever the OTG cable had on pin 4 before, I think it probably retained in his mod.  Be that a resistor to gnd pin 5, a short to ground pin 5 or whatever.  Its probably embedded in the molded plastic of the Mirco B connector which was not cut open or modified right?  Who knows what is on pin 4 until you get a DMM connected to some tiny push pins and measure pin 4 on that particular OTG cable.  Whatever is on there, It makes sense that it signals to the tablet "Hey, I'm an OTG cable, do OTG stuff."  In the tablet's sense of the world, I think "OTG stuff" doesn't  include charging.  Hence why leo_kendall had to disable the ac adapter device driver.  Intuitively, to me "OTG stuff" would mean put out power to the connected device not take in power.  But they say it works so . . . What this means is connect the Tablet's battery to a +5V voltage regulator with a 500 mA current limiter heading OUTwards on the port.  Voltage regulators and current limiters are usually one way things.  And trying to put power through them the wrong way should not work at all.  If it does its because additional circuitry was implemented to allow it. But can you count out the designer to have gone that extra mile? Unless there is no signal at all on pin 4 or whatever. . .  Maybe the power nets of the tablet are smart enough to sense the power level inside and outside and judge from that to determine if it needs to supply power out or drink power in. I mentioned in my first post that "could be" So the difference is .. .   eriri-el's Startech Y cable is made for a completely different purpose. It might have the same thing on pin 4 or something different.  I can't tell from here.  Its not an OTG cable I know that.  Does an OTG have some special thing on pin 4?  I just don't know.  But the guy in the video from eriri-el didn't mention needing to disable his ac adapter device driver. ~~~ So some of you have working OTG plus charge.  I am still not 100% convinced of the safety.  I know I'm a chicken.  But that's just me. Needing to disable microsoft drivers, not unusual. Using Y cables for things they are not intended for, I dig that too. Cutting open OTG cables and twisting wires together.  Sure!  May I suggest that anyone trying this uses either some heat shrink tubing or electrical tape to completely insulate each wire once its connected. Charging more slowly than normal bothers me. Then again maybe it just charges slow because its booted up and the USB stick uses power as well. ~~~   What progress have I made?  Well not much in the way of OTG plus charge.  This cable has positively worked for a USB mouse and USB keyboard on my Stream 8: Kirin Micro USB Host Cable Male to 2x Type a Dual USB Female OTG Adapter I know I said not to do that, but it's relevant. I used a DMM (Ohmeter Setting) with alligator clips and some safety pins with a piece of kleenex to insulate them from one another. I measured between the Micro B pin 4 and 5 (ID and GND) on the above Kirin (OTG) cable and got close to zero Ohms in both polaritys. (Red probe on pin 4 while black on 5 AND red probe on 5 while black on 4) I measured 26 MOhms between the D+ and D-  (3 and 2)on the Mirco B.  (Hi Impedance) The power pins were straight through to both USB A connectors. Because its a dual port, I know it has to be a port replicator (hub) so there are some active electronics between the data lines, and those chips being powered by the +5V bus that shared three ways. So the Micro B end looks just like this electrically: ID Pin Schematic In the Kirin there are of coarse two USB A ports, and the D + and - are not straight through but have a replicator device in the middle. The most relevant thing is pin 4 I think.  I have seen it suggested to use a resistor as the ID pin short.  This is the first real OTG cable I have had my hands on to put a probe on it and it uses a wire not a resistor. . .  go fig.  Wire cheaper than cheapest resistor ?    yes indeed. I could probably do with this cable what leo_kendall showed without cutting it open by simply connecting the necessary gender changer cable from the charger to one of the Kirin's USB As.  But if that cable puts through both D +/- lines  the D+ to D- short seen at the charger might (digitally) do strange things to that port on the replicator.  A homemade USB A male - male power only cable then.  Now I just have to tell myself its safe to try. Another thing I noticed about the Kirin's Micro B male is that the pins are recessed at three different levels so as to create contact in a sequence vs all at once.  Level 1 being the first to contact, then 2 and 3 last.1. +5V2. D+ D- GND3. ID One final link USB Micro B Pinout for Hosts The last sentence on the page above is my favorite part "Additionally, most devices can receive power in host mode, even though this is not part of the standard." Well I have had enough of this for today.  I will be sure to update if I get this working.  For now be safe with your tablets all. 
    Thanks again for your ideas and input.

  • The source and target structure have a different number of fields

    Hi,
    I am new to workflow and I am trying to create an attachment in Workflow (SAP ECC 6.0) and pass it through to a User Decision (User Decision works fine) however the workflow is failing on the attachment step with u2018The source and target structure have a different number of fieldsu2019. The bindings check ok. Please see details below.
    I have used document u2018Creating Attachments to Work Items or to User Decisions in Workflowsu2019 by Ramakanth Reddy for guidance. Thanks in advance.
    1) Workflow containers (SWDD)
    WORKITEMID (import)
    ZSWR_ATT_ID (export)
    SOFM (export)
    2) Task Container (PFTC)
    1 Import parameter defined u2013 WORKITEMID (swr_struct-workitemid)
    2 Export parameters defined
    - SOFM (Ref. obj. type SOFM)
    - ZSWR_ATT_ID  (swr_att_id-doc_id)
    Binding task -> Method
    Binding for 1 parameter (import) defined
    Task <- Method
    Binding for 2 parameters (export) defined
    3) Z  BOR object created with a Method, Method Parameters and Event (SWO1)
    1 import parameter defined
    2 export parameters defined
    Method calls FM SSF_FUNCTION_MODULE_NAME, CONVERT_OTF, SCMS_XSTRING_TO_BINARY and SAP_WAPI_ATTACHMENT_ADD
    Workflow is triggered by FM SAP_WAPI_CREATE_EVENT, Return_code = 0
    Event_id = 00000000000000000001
    Test results
    A) Triggered by ABAP/ FM SAP_WAPI_CREATE_EVENT - SWI2_DIAG results
    Work item  14791: object <z bor object name> method <method name> cannot be executed. The source and target structure have a different number of fields (this message is repeated 3 times). Error handling for work item 14791. No errors occurred -> details in long text (message is repeated 3 times).
    Message no. WL821, OL383, WL050 in long text
    B) Z BOR Test method <execute>
    Enter workitem id.
    Runtime error - Data objects in Unicode programs cannot be converted. The statement "MOVE src TO dst" requires that the operands "dst" and "src" are convertible. Since this statement is in a Unicode program, the special conversion rules for Unicode programs apply.                                        
    In this case, these rules were violated.   
    Program                             SAPLSWCD                
    Include                                LSWCDF00                
    Row                                    475                     
    Module type                        (FORM)                  
    Module Name                      MOVE_CONTAINER_TO_VALUE           
    C) Z BOR Test method <debugging>
    Enter workitem id.
    SAP_WAPI_ATTACHMENT_ADD, return_code = 0, message_lines  = Attachment created            
    both  swc_set_element container work ok
    Runtime error occurs after end_method executed. Data objects in Unicode programs cannot be converted.
    D) Workflow test
    Enter workitem id <execute>
    Task started> Workflow log> Status = Error
    Workflow errors in Attachment step (however Office document can be viewed in details for step).

    Problem has now been resolved. Problem was related to use of swr_att_id structure and swc_set_element statement in BOR program - problem resolved by only setting w/f container to swr_att_id-doc_id.

  • Not Able to Access the Properties of Workspace and Target

    Hello
    I have install PB 11.2 Build 9027 on my laptop ( Winows 7 (64 bit))). PowerBuilde is open and able to see the existing code.
    But when I am trying to access the properties of Workspace or target for Source code control Setup, Properties will not come and nothing happen, I am not able to view the properties of Workspace and targets.
    One more think I notice ,when I was trying to create new application (File > New > Target Tab > Application)  then window will not open.
    Please provide me some suggestion on this issue.
    Thanks
    Amit Maheshwari

    Hi,
    You might find a much larger audience for technical questions if you open a discussion at the PowerBuilder Developer Center
    PowerBuilder Developer Center
    Thanks,
    Ben

Maybe you are looking for

  • Where is Adobe?

    I, amonst others have unanswered questions in this forum. It would be nice if there was more active support here from Adobe.

  • Calculating total time from a query

    Hi everyone, I have a simple database and one of the fields in this database is time spent on stuff, for example a bike ride lasted 00:45:00, 01:33:03, 01:23:03 ETC what I am trying to do is calculate total time. so do a sum of that column. Simple en

  • Change column width in the run time

    Hi, everyone: I have a form with a master and a detail block. The detail block has a tabular layout. I want the user of the form being able to ajust the width of the particular column(s) in the run time by, e.g. dragging the border of the column(s) t

  • How to manage the operations on service order ?

    Hello, Do you know some bapi or MF to manage the operation on service order  (IW32). I have to create some operation, and in dialogue mode Iu2019m using  "Task list selection,  to reference object." But I need to do it by a bapi or MF. Tks a lot. R.

  • Batch Report Print First for Invoices

    Hello Experts. Is there a way to set the batch report to print first, rather than the invoice? It doesn't seem like I am able to create a print sequence because the batch report is not an option when setting up the sequence from invoice PLD. Any help