Xtra: trouble capturing windows message

We are trying to use the RegisterNotificationClient in an
Xtra to capture couple windows messages from an external DLL.
I basically have two questions:
1. Is using RegisterNotificationClient the right way to
capture windows messages from an xtra?
2. If the answer to 1 is yes, then I have another question as
when we try to set up the parameters for the
RegisterNotificationClient I have a misstmatch in the nid, second
parameter to specify the id of the message to be captured. I have
for windows an integer constant, but the nid param expects a GUID
number ...
Thanks!

Thanks for the reply Tom. (BTW I'm not the original poster.)
You are correct- It is a USB drive formatted FAT 32 . After my original post, I erased the drive and started over with a clean slate. This was successful for tape one (about 60 minutes). About twenty minutes into tape two though, it was deja vu all over again. FC froze, I force quit, and lost all of what I had captured from tape one in the process. I unsuccessfully tried to recapture tape one. Same problem again.
Although this is the first time I've tried to capture through FC onto an external drive, I've got three other USB drives full of video I've captured from VHS with the same computer through a DV encoder. When you say USB is not supported by Apple for video applications, does that mean video editing applications? As for complete information, apologies but I'm not exactly sure what other info. you mean. Please let me know. Thanks again. I appreciate the time.

Similar Messages

  • Is it possible to capture windows messages in java?

    Hello All,
    I am new in this forum & it's my first question.
    Plz help me as soon as possible.
    Thanks

    You can run a dos command and capture its output.
    However you cannot snoop a windows program to see what it is doing in Java.

  • Accessing DLL buffer data after receiving Windows Message

    Hi,
    I am programming MS4404 bar code scanner using LabVIEW. This is a miniscan and does not have trigger button. So we need to trigger it using Software. 
    Could communicates with scanner to enable. disable, beep, etc....issue is with the decoded data.
    DLL put data in the allocated buffer, and send a windows message WM_XXXX to application. Problem is to check these windows messages and copy the buffer data into application..............struck up here..........There was an example for this scanner but that is in VC and it is using ON_MESSAGE function to catch windows message and memcpy() to copy buffer data into local.........................Not sure how to go ahead in LabVIEW
    Appreciate any help from fellow members...........
    Thanks in advance
    Anil Punnam
    CLD
    LV 2012, TestStand 4.2..........

    Little advancement in the issue......
    I am able to capture windows messages using Windows messages queue library (found on ni.com), Now the issue is with creating buffer for DLL and pulling data from that DLL on successfull Decode of data from scanner.
    I think I am going wrong in giving cirrect data type while creating buffer here.
    Below is the description of the function from manual
    SSIDLL_API int __stdcall SetDecodeBuffer(int nComPort, unsigned char *pData, long max_length);
    where:
    . nComPort is the COM port number used in the call to SSIConnect. pData is a pointer to the destination buffer for decode data returned from the scanner
    . max_length is the size in bytes of the destination buffer 
    I am sure I am going wrong about the pData parameter.
    I need to create this buffer before decoding, so the scanner fills this buffer with decoded data.
    Thanks in advance for your help.
    Anil Punnam
    CLD
    LV 2012, TestStand 4.2..........

  • What driver or software patches do i need to install in my windows 7 laptop, in order for the laptop to capture Bluetooth messages, which is possible with window 8?

    Hi,
    i am connecting a Bluetooth device to my laptop. I notice that Message Analyzer could capture Bluetooth messages only if I am using windows 8? I am using window 7. What driver or software patches do i need to install in my windows 7 laptop, in order for
    the laptop to capture Bluetooth messages, which is possible with window 8?
    Also, i notice that using window 8, i am able to capture Bluetooth message but i am not able to display wireless perfromance statistics such as signal strength, throughput, etc? Is there a way for me to get such information.
    Please help.

    If you look at the link you sent me:Default Trace Scenarios
    http://msdn.microsoft.com/en-us/library/jj659262.aspx
    "Windows 8 Bluetooth (Windows 8/Windows Server 2012 or later) 
    Troubleshoot Bluetooth issues"
    So what about Windows 8 earlier? Not supported?
    My question: What driver or software patches do i need to install in my windows 7 laptop, in order for the laptop to capture Bluetooth messages, which is possible with window 8?

  • Capture Windows system messages using RegisterWinMsgCallback()

    Hello ,
    I have programmed a socket server  to capture the socket message, this code phase using the Windows API "WSAAsyncSelect()" to register some specific messages, and when the client connect the server, it can trigger some events. the code phase as follows:
    int main ()
        net_addrs.sin_family = AF_INET;
        net_addrs.sin_port = htons(CTRL_PORT_PAS);
        net_addrs.sin_addr.S_un.S_addr = inet_addr("192.168.0.101");               
        res = bind(sockt, (struct sockaddr *)&net_addrs, (int)sizeof(struct sockaddr));
        listen(sockt, NUM_THD);
        hwnd = (HWND)GetCVIWindowHandle();
        wmsg = RegisterWinMsgCallback(WindowsMsgProc, NULL, NULL, 0, &res, 1);/* Register windos call back*/
        res = WSAAsyncSelect (sockt, hwnd, wmsg, FD_READ|FD_ACCEPT|FD_CLOSE);
        DisplayPanel (dumyPanel);
        RunUserInterface ();
        closesocket(sockt);
        WSACleanup();
        DiscardPanel (dumyPanel);
     The callback function code :
    void CVICALLBACK WindowsMsgProc (WinMsgWParam wParam, WinMsgLParam lParam, void *callbackData)
        if (wParam != sockt)
            MessagePopup("Winsock callback error", "Not for the socket");
            GenLog("quit");
            return ;
        switch (lParam)   
            case FD_READ:
                break;
            case FD_ACCEPT:
                MessagePopup("ooook", "have a connect request");
                break;
            case FD_CLOSE:
                 GenLog("quit");
                 break;
            case WM_DESTROY:
            case WM_QUIT:
            case WM_CLOSE:
                 GenLog("quit");
                //QuitUserInterface(0);
                break;
    The question is , if in the windows task manager to kill the process, Windows should send a WM_DESTORY or WM_QUIT message, but I find the message is never to capture by the callback function, because GenLog() never worked. Please give a support what is wrong in the above code. thanks.
    David

    David,
    In order to catch an event like WM_QUIT, you would want to use installWinMsgCallback instead of registerWinMsgCallback. InstallWinMsgCallback will look for windows messages while registerWinMsgCallback will look for user defined messages. Having said that, installWinMsgCallback cannot be used to capture WM_QUIT or WM_DESTROY. To catch an event of your application closing under normal circumstances, you should use the EVENT_CLOSE in the panel callback. Terminating the process with the End Process function of the task manager will not send a WM_DESTROY or WM_QUIT that can be caught by your application. Terminating the process is not a normal exit condition for an application and typically is not expected to be handled.
    National Instruments
    Product Support Engineer

  • Capture Windows WM_DEVICECHANGE message and respond it

    When a usb device being plugged in or off a port, the system can detect the message. Some solution is that using the "InstallWinMsgCallback ()" function to process the message, this way need that there must be a special cvi panel to receive the message. Due to my application is a Windows service, so I can not make a panel. I'd like to know is there any way to capture the message using the "RegisterWinMsgCallback()" function? If it will, how to do this? Thanks.
    David

    Hello ibalhashim,
    From your description, do you mean that after remapping the fb to ctrl, then only the button down and up are being sent?
    If it is, please share us how you have remapped the keys and please test if removing the remapping operations, the WM_INPUT message would restore. This would help narrow down this issue to see if it is caused by the remapping operations or the win32 app.
    Regards.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • I have trouble viewing the messages app window in OS X 10.9

    I have trouble viewing the messages app window in OS X 10.9
    help me!!

    Define trouble please ...
    What exactly happens ?

  • How to capture ALV messages(popup window) in BDC...

    Hello Experts,
    I am currently doing a recording for transaction ABT1(Intercompany asset transfer)
    and I noticed that messages are displayed via ALV popup if you post it. The messages
    contain the posting information(what company it is posted, document number, etc)
    Now, is there a way to capture those messages? because I noticed that it is not captured
    in my recording so I have no way of knowing if it was successfully posted or not.
    Also, is there a way to supress transaction/status messages in a transaction?(E.g. posting
    will take place in an earlier fiscal year, etc)
    Hope you can help me guys. Thank you and take care!

    Hi,
    have a look at fm 'AMDP_MESSAGE_SEND'.
    it is used in transaction ABT1.
    you can as well use this:
    CALL FUNCTION 'MESSAGES_INITIALIZE'.
    LOOP AT it_return_bapi.
        CALL FUNCTION 'MESSAGE_STORE'
             EXPORTING
                  arbgb                   = it_return_bapi-id
                  exception_if_not_active = ' '
                  msgty                   = it_return_bapi-type
                  msgv1                   = it_return_bapi-message_v1
                  msgv2                   = it_return_bapi-message_v2
                  msgv3                   = it_return_bapi-message_v3
                  msgv4                   = it_return_bapi-message_v4
                  txtnr                   = it_return_bapi-number
                  zeile                   = ' '
             EXCEPTIONS
                  message_type_not_valid  = 1
                  not_active              = 2
                  OTHERS                  = 3.
      ENDLOOP.
    CALL FUNCTION 'MESSAGES_STOP'
           EXCEPTIONS
                a_message = 04
                e_message = 03
                i_message = 02
                w_message = 01.
    IF NOT sy-subrc IS INITIAL.
        CALL FUNCTION 'MESSAGES_SHOW'
             EXPORTING
                  i_use_grid         = 'X'
                  i_amodal_window    = i_amod_window
             EXCEPTIONS
                  inconsistent_range = 1
                  no_messages        = 2
                  OTHERS             = 3.
      ENDIF.
    Best regards
    Edited by: pablo casamayor on Jun 23, 2008 8:31 AM

  • Trouble capturing HD media ...

    I am having trouble capturing HD media from my Sony HVR-Z1E! Three months previous I had captured 18 hours of HD media with no problems. Presently when trying to capture FCE engages the camera into play but the capture preview window remains black with the message “cueing tape”. The tape keeps playing but nothing else happens.
    Any ideas?
    G4   Mac OS X (10.4.5)  

    I've gotten this suggestion from a lot of different places, but it doesn't help me if I ever delete my captured footage and then need to reedit. If I go the "Capture Now" route will the program remember where the clips belong in my timeline or can I expect to have to start from scratch if I ever delete my footage (which is likely, since HDV takes up quite a bit of space)?
    Also any suggestions on how to avoid a non "I" frame? Sometimes all it takes is for me sitting there telling it to capture again and again before it finally sticks.

  • Is it possible to resize the log and capture window?

    Hi,
    Using Final cut pro, I would like to make my capture window a bit bigger while capturing. I am capturing footage via my Blackmagic Infinity card and get the input through an HDMI cable. I'm capturing in Apple Pro ress on 720p, 59,59 fps.
    For a good overview of what I'm capturing at the moment, I would love to have a bigger capture window. For all I know, FC pro doesn't support the resizing of the log and capture window. Anyone an idea on how to solve this?
    Thank you.

    In my case, the capture window is adjustable if I am capturing SD (DVCAM) video. I can also use the scopes in this case. (Good if you are recording to disk, or using a laptop for monitoring.)
    However, both features (adjustable capture window and scopes) are not available if capturing HD (HDV in my case) video.
    Message was edited by: amarasme

  • Trouble Installing Windows 8.1 on Yosemite

    I am having trouble installing Windows 8.1 using the Bootcamp utility on OS X Yosemite. I downloaded the ISO file for 64 bit 8.1 from Microsoft and put it onto an 8gb USB drive using Bootcamp. My Macbook Pro is an early 2011 (MacBookPro8,2) and is currently running OS X 10.10.1. I know that my MBP doesn't usually support booting from a USB, so I modified the info.plist file using the steps outlined in this thread:
    Enable Bootcamp to install from usb for OSX 10.9**WORKS**
    This got it to give me the option to boot from the USB when I held the option key on startup.
    I have tried the following methods for installing with different errors for each:
    1. Installing using Bootcamp created partition
    For this, I went through the normal steps in bootcamp and when I got to the disk partitioning stage, I tried to format the drive 0 partition 4 using the format button. After formatting, it wouldn't allow me to continue because of this error: "Windows cannot be installed to this disk the selcted disk har an MR partition table. On EFI systems, windows can only be installed to GPT disks." This lead me to this thread: Windows can't be installed on Drive 0 Partition 4.. It mentions a difference between EFI v. preUEFI installations, but I don't know how to do a preUEFI installation. Enlighten me anyone?
    2. Creating a "free space" partition with Disk Utility
    For this, I created a free space partition in disk utility and used the Window's installer to format the partition. This allows me to get to the very end of installation, but I get the error message: "Windows could not update the computer's boot configuration. Installation cannot proceed."
    BTW, FileVault is turned off.
    Any help would be much appreciated!

    Hi mgallego,
    Which step did the error start to occur ?Have you tried to install it again to have a check ?As the information stated, we can restart the machine to have a check.
    Here is a link for reference of the requirements of the Windows 8.1 .
    System requirements
    http://windows.microsoft.com/en-HK/windows-8/system-requirements
    There may be a hardware issue here, it is also recommended to look for help from the manufacturer for help.
    Best regards
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Trouble capturing on final cut express hd and imovie

    I am having trouble capturing media in fc express as well as imovie. my footage is HD. when I start to capture the media goes in normal for like 2 seconds, then it says that the capture is 95% behind(in fc express) or that it is capturing at 1/8 speed (imovie). even when i stop the capture in order to let it catch up to real time,the media freezes up so that i cant really view it. i dnt know what i am missing.Ive even tried to use a different firewire cable. any suggestions?
    Message was edited by: sscstudios
    Message was edited by: sscstudios

    Thanks for the reply Tom. (BTW I'm not the original poster.)
    You are correct- It is a USB drive formatted FAT 32 . After my original post, I erased the drive and started over with a clean slate. This was successful for tape one (about 60 minutes). About twenty minutes into tape two though, it was deja vu all over again. FC froze, I force quit, and lost all of what I had captured from tape one in the process. I unsuccessfully tried to recapture tape one. Same problem again.
    Although this is the first time I've tried to capture through FC onto an external drive, I've got three other USB drives full of video I've captured from VHS with the same computer through a DV encoder. When you say USB is not supported by Apple for video applications, does that mean video editing applications? As for complete information, apologies but I'm not exactly sure what other info. you mean. Please let me know. Thanks again. I appreciate the time.

  • CAPTURE WINDOW DOESN'T OPEN IN CS5

    Premiere CS5 seems to be working, but for the capture window will not open at all. 
    so i can't import video into the program
    Thanks
    [Personal info removed.]
    Message was edited by: Jim Simon

    Yes i did read your post. And please do not write in capital letters, that is considered shouting.
    But there are people that want to use the capture window for the wrong reasons. Hence my explanation.
    Hold shift+alt while opening Premiere that resets some features.
    See if that will help.
    Bob: the capture window is under File and Window. Shortcut is F5.

  • Crashes every time I exit, even using exit under file tab, has trouble recovering windows and tabs, reset crashes.

    Whenever I start Firefox I get an error message that it has trouble recovering windows and tabs and gives me an option to close the windows displayed or restore the last window. It does this each time regardless of the last window. Each time I exit it crashes and I send a crash report. I tried a reset and it crashes. I have done complete virus and malware scans and have found nothing.

    Please perform the following steps to give us a crash report ID that helps us find out more about the cause of the crash.
    #Enter about:crashes in the Firefox location bar (that's where you enter your website names) and press Enter. You should now see a list of submitted crash reports.
    #Copy the most recent 5 report IDs that you see in the crash report window and paste them into your forum response.
    More information and further troubleshooting steps can be found in the [[Firefox crashes]] article.

  • Sudden Trouble Downloading Some Messages

    All of a sudden I've discovered I'm having trouble downloading some messages from my ISP's server to my mid-2007 17" MBP running OS X 10.5.6 and Mail 3.5. I found this was happening when an expected message failed to arrive. I looked on WebMail and found the message sitting there but it wouldn't d/l to my laptop. With a little more investigation I discover there were two other messages that had failed to d/l also. All these were small bill pay notices--two from one bank and two from another. The messages from each bank were sent within minutes of each other. Of one pair my machine received only one message, of the other pair, it received neither message.
    Going to my wife's Pismo running 10.4.11 and Mail 2.1.3 I found that all four messages downloaded no problem. We both have our Mail prefs set to retain messages on the server for one week.
    I got on support chat with my ISP to try to figure out what's going on. That support person eventually had me try to forward the three missing messages to myself from WebMail. In this manner I was able to forward two of the three to my laptop--all forwarded OK to my wife's. The one remaining message still refuses to d/l or forward to me. It's just plain stuck there as far as my computer is concerned. Who knows how many other messages are in this state; I only checked on messages I was expecting.
    Since this problem began all of a sudden, I'm thinking it might have something to do with Apple updates. I just updated to 10.5.6 a few days ago. I can't remember when Mail was updated. Is there some way to examine my update records to pin it down? I don't see a Receipts nor a Packages folder anymore. In a sense I'm reporting on a problem that might be coming up for others too.
    John Hixson

    To diagnose problems with Thunderbird, try one of the following:
    *Restart Thunderbird with add-ons disabled (Thunderbird Safe Mode). On the Help menu, click on "Restart with Add-ons Disabled". If Thunderbird works like normal, there is an Add-on or Theme interfering with normal operations. You will need to re-enable add-ons one at a time until you locate the offender.
    *Restart the operating system in '''[http://en.wikipedia.org/wiki/Safe_mode safe mode with Networking]'''. This loads only the very basics needed to start your computer while enabling an Internet connection. Click on your operating system for instructions on how to start in safe mode: [http://windows.microsoft.com/en-us/windows-8/windows-startup-settings-including-safe-mode Windows 8], [http://windows.microsoft.com/en-us/windows/start-computer-safe-mode#start-computer-safe-mode=windows-7 Windows 7], [http://windows.microsoft.com/en-us/windows/start-computer-safe-mode#start-computer-safe-mode=windows-vista Windows Vista], [http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/boot_failsafe.mspx?mfr=true" Windows XP], [http://support.apple.com/kb/ht1564 OSX]
    ; If safe mode for the operating system fixes the issue, there's other software in your computer that's causing problems. Possibilities include but not limited to: AV scanning, virus/malware, background downloads such as program updates.

Maybe you are looking for

  • HELP!!! No one answers my posts. Itunes freezes computer

    My itunes has suddenly decided not to let me import anymore. I have tried multiple CD's. It will start importing, get through one or two songs and freeze up the whole computer so I have to cold start it. It does this when i load songs to my folders t

  • Problem with 10.6.8 update

    I had a couple of kernel panic reports after updating to 10.6.8 This happened while playing starcraft II Here is the report Interval Since Last Panic Report:  8580 sec Panics Since Last Report:          2 Anonymous UUID:                    D4ED497D-3

  • How to Include Feedback in Your Website without Using the Blog or Podcast

    Hi All, I have been looking at the websites that people have created using iWeb and some have included feedback forms with boxes where visitors can enter their e-mail addresses and then comments in individual boxes and then click on a send button. Ho

  • How to read a file on specific  Directory

    How to read a specific file on specific folder , For ex , in D: contain lot of directory , Let as assume �program �- Directory. �xxx.txt�-file, How to read �xxx.txt� file from program Directory, Give me simple pgm ,

  • TERM=sun-color

    I have recently discovered a new feature of Solaris 10 which is to have colours within my shell by TERM=sun-color. I use bash. The problem is that the screen is not cleared, so for example if i type in ls, and then vi a file, the output from the ls i