Runtime Error (My VC++ program not responding)

I wrote a VC++ program to send out voltage output to controller. The call function is like shown below:
volt(double Vx, double Vy);
I am using SingleAO in my VI and not DAQmx because the controller doesnt support it.
When my program runs, it is okay but after awhile it doesnt respond. My program calling the function is a loop.
My questions are:
1) Is there a max number of function can be called?
2) Any possible reason why my program hangs?
Thanks

Hi jw81,
Without seeing all of your code, it is difficult to say why you are getting the error.
My first question would be why wouldn't your controller support NI-DAQmx? Since you are programming in C, all you would need to do is download NI-DAQ 7.3 and install it. With NI-DAQ 7.3, you will be given a C API to program NI-DAQmx. You can get NI-DAT 7.3 here:
http://digital.ni.com/softlib.nsf/websearch/BEC182021CEB566C86256EEE00696562?opendocument&node=132060_US
If you still wish to program in Traditional NI-DAQ I would suggest you start with one of the shipping examples. See if you can get them to work. If not, let me know which example you are using and what error you are getting.
Traditional C examples: C:\Program Files\National Instruments\NI-DAQ\Examples\VisualC
-Sal

Similar Messages

  • Acrobat Pro is now constantly giving me the error message (program not responding) when I try and perform any kind of action.

    Acrobat Pro is now constantly giving me the error message (program not responding) when I try and perform any kind of action.

    Hi cruzsanta03,
    Can you please let us know the following:
    - Operating System;
    - Complete version of Acrobat installed;
    - Experiencing this issue with a particular file or all PDF files;
    - Experiencing this issue while performing a particular task or with any task;
    - Files are saved on the local machine or on a share drive;
    - Launch Acrobat in Safe Mode and then check the issue. Hold 'Shift' key and launch Acrobat, and then check the issue.

  • Help with the program not responding error

    I just joined the CC and in Illustrator I keep getting "program not responding" please advise,
    Eleanor

    Do you have Tahoma and Verdana fonts enabled on your system?
    Also see this other relevant link:
    http://forums.adobe.com/thread/1309484
    Nancy O.

  • RUNTIME ERROR IN GENERATED PROGRAM. Overflow converting ''

    Hi,
    While executing the below code i am getting the error
    " RUNTIME ERROR IN GENERATED PROGRAM. Overflow converting ' ' am new to ABAP , can anyone kindly help me where i have went wrong ? .
    IF ( V_DO_CDS_NAME_MAIN <> '' ).
        ABAP.
            DATA: ref_it_tab TYPE REF TO data,
                  ref_wa TYPE REF TO data.
            FIELD-SYMBOLS: <fs_itab> TYPE ANY TABLE.
            FIELD-SYMBOLS: <fs_wa> TYPE ANY.
            FIELD-SYMBOLS: <fs_field> TYPE ANY.
            CREATE DATA ref_it_tab TYPE STANDARD TABLE OF (V_DO_CDS_NAME_MAIN) WITH NON-UNIQUE DEFAULT KEY.
            ASSIGN ref_it_tab->* TO <fs_itab>.
            SELECT * FROM (V_DO_CDS_NAME_MAIN) INTO TABLE <fs_itab> where C1 = V_WORK_ITEM_ID_MAIN.
            CREATE DATA ref_wa LIKE LINE OF <fs_itab>.
            ASSIGN ref_wa->* TO <fs_wa>.
            loop at <fs_itab> assigning <fs_wa>.
                assign component 'CLIENT' of structure <fs_wa> to <fs_field>.
                V_CLIENT = <fs_field>.
                assign component 'C0' of structure <fs_wa> to <fs_field>.
                V_C0 = <fs_field>.
                assign component 'C1' of structure <fs_wa> to <fs_field>.
                V_C1 = <fs_field>.
                assign component 'C2' of structure <fs_wa> to <fs_field>.
                V_C2 = <fs_field>.
                assign component 'C3' of structure <fs_wa> to <fs_field>.
                V_C3 = <fs_field>.
                assign component 'C4' of structure <fs_wa> to <fs_field>.
                V_C4 = <fs_field>.
                assign component 'C5' of structure <fs_wa> to <fs_field>.
                V_C5 = <fs_field>.
                assign component 'C6' of structure <fs_wa> to <fs_field>.
                V_C6 = <fs_field>.
                assign component 'C7' of structure <fs_wa> to <fs_field>.
                V_C7 = <fs_field>.
                assign component 'C8' of structure <fs_wa> to <fs_field>.
                V_C8 = <fs_field>.
                assign component 'MESSAGE_ID' of structure <fs_wa> to <fs_field>.
                V_MESSAGE_ID = <fs_field>.
                assign component 'TIMESTAMP' of structure <fs_wa> to <fs_field>.
                V_TIMESTAMP = <fs_field>.
                assign component 'EXTRACTKEY' of structure <fs_wa> to <fs_field>.
                V_EXTRACTKEY = <fs_field>.
                assign component 'STATEID' of structure <fs_wa> to <fs_field>.
                V_STATEID = <fs_field>.
                assign component 'DEVICE_ID' of structure <fs_wa> to <fs_field>.
                V_DEVICE_ID = <fs_field>.
            ENDLOOP.
        ENDABAP.
    ENDIF.

    Hi Mubeen,
    While Copying the cotes have come closer otherwise its working fine , i was able to find the error .
    There are ten predefined ABAP data types. There are 100 possible type combinations between these elementary data types. ABAP supports automatic type conversion and length adjustment for all of them except type D (date) and type T (time) fields which cannot be converted into each other.
    I commented the TimeStamp part where i had given the ABAP Type as D and it started working .
    But now i want to display the content of  "TimeStamp"  field but i am not able to do so .
    This is the format in which it has to be displayed 2009.011.915.3353.
    Which ABAPTYPE i need to use ?.
    i am able to display in this format 20090119153353
    regards
    Harsha

  • SCREENSAVERS AND PROGRAM NOT RESPONDING.

    Whilst trying to change screensavers to holiday mobile i changed source to hardrive to try to import some photos .now the apple preloaded screensavers ken burns holiday mobile mosaic etc dont work and program dosnt respond just shows multicoloured spinning circle .
    The only way to clear is to force quit which shows program not responding  lettering of which is in a  differient format to other programs in force quit box such as safari.
    Can anyone help

    Hope this helps
    FORM list_view.
      g_repid = sy-repid.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
           EXPORTING
                i_callback_program = g_repid
                i_callback_pf_status_set = 'PF_0100'
                is_layout          = g_layout
                it_sort            = g_sort[]
                it_events          = g_events[]
                it_fieldcat        = g_fieldcat[]
                i_save             = g_save
           TABLES
                t_outtab           = IT_TABLE
           EXCEPTIONS
                program_error      = 1
                OTHERS             = 2.
      IF sy-subrc <> 0.
        MESSAGE e208(00) WITH 'Error: ALV Grid'.
      ENDIF.
    ENDFORM.                    " layout_build
    FORM PF_0100 using my_exclude.
      SET PF-STATUS 'PF_0100'. " EXCLUDING my_exclude. use is you want to exclude buttons
    ENDFORM.                "end custom PF Status

  • Itunes program not responding

    My Itunes program is not responding. Any ideas what I need to do to fix the problem?

    I´ll take my chances and reply to this as I have exactly the same problem.
    (1) do you have Norton Internet Security 2005 installed on the PC?
    No, F-secure AV 2006. Still, I disabled it
    (2) try launching your QuickTime. does it:
    Launching QT before iTunes works well. No problem. Launching QT after I´ve tried to launch iTunes, nothing happens.
    All the processes remains under the processes tab.
    The itunes.exe is impossible to kill though. I can remove any other process but this one is impossible.
    I tried reboot, disabled the internet connection and my anti-virus but it still refuses to start. I just get the hour clock, that disappears and then...nothing. Not even an error message.
    Oh, I forgot: after I´ve tried to start iTunes I can´t access Explorer. Program not responding. So I must reboot after every attempt to resolve the problem.
      Windows XP Pro  

  • "Program Not Responding" and cannot shutdown the computer? Help?

    I have a TouchSmart tx2, upgraded from Vista to Win 7 Ultimate, 32-bit.  The BIOS version is F.03, Released 2008 11 25.  My computer will not shut down...I get a blank screen and the constant whirrrrrr of the hard drive but it will not shut down and I am forced to do a hard shut down and restart in SAFE mode.   Further, I get the "Program not responding"  problem 6 to 7 times a day while running Outlook, and several other programs.  I'm not sure what to do at this point?  Help?

    Same problem here since an upgrade to the recent xbmc version.
    - hal removed
    - udisks and upower installed
    - my user is in the 'power' group
    I start X via /etc/inittab:
    x:5:respawn:/bin/su lynix -l -c "/bin/bash --login -c 'startx xbmc'>/dev/null 2>&1"
    and my .xinitrc is:
    #!/bin/sh
    nvidia-settings -l
    if [ "$2" == "xbmc" ]; then
    # start XBMC
    exec ck-launch-session /usr/bin/dbus-launch --exit-with-session /usr/bin/xbmc --standalone -fs --debug &>$HOME/.xsession-errors
    else
    # start openbox session
    exec ck-launch-session openbox-session &>$HOME/.xsession-errors
    fi
    Any hints what could be wrong?

  • Brand new with performance issues -- programs not responding, system hanging

    Just this morning I began migrating from a Dell Inspiron 1525 laptop that has been generally reliable for the better part of 3 years (monitor housing is literally falling apart but still works great... check E-Bay later for spare parts! lol)... migrating to a Toshiba Satellite C655D-S5136 laptop running Windows 7 64-bit.  It's literally right out of the box 5 hours ago and I've been reinstalling programs, transferring files, etc.
    The problem is that I'm already noticing a lot of performance issues.  The system (and/or programs) seem to get caught often... resulting in frequent "Program not responding" messages (some of which the system manages to bypass)... and a few of the "This program closed unexpectedly" or "This program stopping responding... do you want to check online for a solution or just close the program?" messages.
    This is happening on multiple programs... tax prep software TaxAct update dialog hangs after 256 bytes downloaded every time, AVG Anti-Virus was hanging although never gave me a not responding message, Internet Explorer has stopped responding a couple times, Windows Live Mail did often, especially when I was using IMAP (since changed to POP3 and problem seems to have resolved but still).  Even opening the start menu a few seconds after plugging in an external hard drive lagged the system like hell for a full two minutes until it caught up with itself.
    This is unacceptable in a brand new machine.  I was getting a few errors like this on my Dell every now and then but I chalked it up to an old machine that had never been wiped and had a failing hard disk.  I understand the computer moving slower, especially as I've been installing a lot, running antivirus, downloading all at once, but no way programs should simply stop responding this often.  I could do twice the activity on my Dell and have no issues.
    I've uninstalled several of the preloaded programs... the antivirus, quickbooks, etc.  I've also disabled and/or uninstalled several of the other programs like Toshiba Reeltime and Toshiba Zoom Manager or whatever that was.  Nothing has seemed to help.  And that's not surprising... the speed is great, it's that programs are getting caught so often, sometimes every time or every other time I open up a program.
    Is this a Windows 7 thing? (This is first time using Windows 7, coming from Vista).  Is it a Satellite thing?
    Anyone have any suggestions?  Is it possible there's just some component that's bad?  Processor, RAM, etc.?
    Thanks... very frustrated!

    I may have found a solution. I changed my startup programs and stopped some of the Toshiba software from running at startup. The ones I stopped are listed below. I have used the laptop heavily for two days now and have not had any problems. It actually runs very fast. I hope this will help.
    Toshiba Reel Time
    Toshiba Sleep
    Toshiba PC Health Monitor
    Toshiba WebCamera App.
    Toshiba Power Saver
    Toshiba Message Center
    Toshiba Service Station
    SmartFaceVWatcher
    Toshiba Online Backup
    Toshiba Zooming Utility
    Toshiba eco Utility
    Toshiba App Place 
    Message Center
    For people that don't know how to change these, here are the instructions.
    Click Start > Type msconfig in the search box > open msconfig > click on the startup tab > remove the checkmarks next to the above programs > restart computer.
    Doing this may not fix your problems, but it did fix mine.

  • RW-50015: Error: - HTTP Listener is not responding -- on resh installation

    Hi
    I am trying to install R12.0 version on RHEL4 (VMWARE on windows).
    While installation i am getting error while validating system configuration (for HTTP, Virtual Directory, Login Page,JSP and Help page)
    Error is
    HTTP checking url http://r12.loclhost:8000
    RW-50015: Error: - HTTP Listener is not responding. The service might not have started on the port yet. Please check the service and use the retry button.
    when i try to $INST_TOP/admin/scripts/adstrtal.sh apps/apps am getting error for opmn,form service.
    opmn log file says.
    getaddrinfo(localhost, NULL, 1) failed (Temporary failure in name resolution): Connection refused
    when i try to check $INST_TOP/logs/ora/10.1.3/Apache/ for error log and access log , i could not find any file in this location.
    bash-3.00$ cat /etc/hosts
    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    192.168.3.1 R12.localhost R12
    I hope some issue with http service, kindly help me.
    Thanks
    Krishna

    bash-3.00$ adopmnctl.sh start
    You are running adopmnctl.sh version 120.4
    Starting Oracle Process Manager (OPMN) ...
    adopmnctl.sh: exiting with status 2
    adopmnctl.sh: check the logfile /mnt/ext/applvis/inst/apps/VIS_r12/logs/appl/admin/log/adopmnctl.txt for more information ...
    bash-3.00$ adopmnctl.sh status
    You are running adopmnctl.sh version 120.4
    Checking status of OPMN managed processes...
    Unable to connect to opmn.
    Opmn may not be up.
    adopmnctl.sh: exiting with status 0
    adopmnctl.sh: check the logfile /mnt/ext/applvis/inst/apps/VIS_r12/logs/appl/adm in/log/adopmnctl.txt for more information ...
    03/05/11-23:25:28 :: adopmnctl.sh version 120.4
    bash : vi mnt/ext/applvis/inst/apps/VIS_r12/logs/appl/adm in/log/adopmnctl.txt
    03/05/11-23:25:28 :: adopmnctl.sh: Starting Oracle Process Manager (OPMN)
    getaddrinfo(localhost, NULL, 1) failed (Temporary failure in name resolution): Connection refused
    getaddrinfo(localhost, NULL, 1) failed (Temporary failure in name resolution): Connection refused
    getaddrinfo(localhost, NULL, 1) failed (Temporary failure in name resolution): Connection refused
    opmnctl: opmn start failed.
    03/05/11-23:25:35 :: adopmnctl.sh: exiting with status 2
    Kindly help me to resolve this issue.
    Thanks
    Krishna

  • When I open Firefox I have to try several times because a Runtime Error with the program C:\Windows\System32\regsvr32.exe

    when I open Firefox I have to try several times because a Runtime Error with the program C:\Windows\System32\regsvr32.exe

    '''Try the Firefox Safe Mode''' to see how it works there. The Safe Mode is a troubleshooting mode, which disables most add-ons.''
    ''(If you're not using it, switch to the Default theme.)''
    * You can open the Firefox 4.0+ Safe Mode by holding the '''Shift''' key when you use the Firefox desktop or Start menu shortcut.
    * Or use the Help menu item and click on the '''Restart with Add-ons Disabled...''' menu item while Firefox is running.
    ''Don't select anything right now, just use "Continue in Safe Mode."''
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before using the Firefox shortcut (without the Shift key) to open it again.''
    '''''If it is good in the Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one.
    Please follow the [[Troubleshooting extensions and themes]] article for that.
    ''When you figure out what's causing your issues, please let us know. It might help other users who have the same problem.''

  • Crystal Report Runtime Error 9.0.Could not open the report

    Hi,
    Getting the Crystal Report Runtime Error 9.0.Could not open the report while Run on Launch Application. Actually in Launch Application, created a link for exe which is having crystal reports. We can open the Crystal Reports from the exe outside B1.
    Note: SAP 2007, Crystal Report 2008 is using.Normally can open crystal report.
    Any help to fix the error is appreciated.
    Thanks & Regards,
    Parvatha Solai.N

    Hi,
    Please post screen shot of error message here.
    Thanks & Regards,
    Nagarajan

  • Firefox 4 is freezing on GMail tab at frequent intervals on Windows 7, resulting in a message "Program not responding". Remains open but becomes unresponsive for a fill minutes or seconds. And problem repeat, repeat...

    Firefox 4 is freezing on GMail tab at frequent intervals on Windows 7, resulting in a message "Program not responding".
    Remains open but becomes unresponsive for a fill minutes or seconds. And problem repeat, repeat...

    Check this out;
    http://www.clamxav.com/ free malware scanner for Mac OS X
    https://discussions.apple.com/docs/DOC-3291

  • I have a program not responding in paralellels 7, how to I get it to stop.

    I have a program not responding in paralellels 7, how to I get it to stop. I am running OS 10.7.4.

    Firstly, you'll need to open up the Windows Task Manager by pressing CTRL + ALT + DELETE. From there, simply find your unresponsive program, right-click and select Go To Progress (not End Task). The Processes tab will open and your program should be highlighted. Now, press the End Process button and select Yes. It instantly closes the problem
    http://operating-systems.wonderhowto.com/how-to/quickly-force-quit-any-program-w indows-414334/

  • Multiple programs not responding

    Hi ,
       I'm having a problem with my imac when i log in everything freezes up i have managed to get the activity monitor working before mail and safari get stuck with the dreaded spinning ball ( they both open at log in ) .The monitor eventually comes up with the message program not responding.when I click on the finder it also comes up as not responding and I have to switch off with the power button. I have logged on in safe mode and gone into disk utility and there is no problem with the hard drive i have also repaired disk permissions and i am still having the same problem. When i log into my wifes account everything is working fine .I was wondering if anyone could help me! 

    Hi ...
    User specific troublehooting help here >  Isolating an issue by using another user account

  • Program not responding-elements 8

    I'm using Elements 8 with Windows 7 on a Dell Studio XPS computer and am having several problems.
    When I open Elements 8, I get a screen that says "Buy more storage" following which I get a screen that says "Welcome to Elements!" and offers tour options.  There's a "cancel" button that appears for a couple of seconds to bypass these screens but, if I don't hit it very quickly it goes away and I'm stuck with the tour choices--the organizer and edit options are grayed out and not accessible.
    When I do hit the cancel fast enough and go to the organizer, I receive a "program not responding" message after almost everything I try to do--access preferences, get photos, etc., etc. I really can't do anything without the "program not responding" message making an appearance.  In addition, the only menu at the top of the organizer screen on the left half is a down arrow with no text.  That allows me to select file, edit, etc. but is this the way it should be?
    I managed to disable the analyzer but it didn't make a difference.  I uninstalled PSE and reinstalled it but it didn't make a difference.  Can anyone offer help?  I'm getting pretty frustrated with this useless program!

    For the welcome screen problem, just don't go there. Go into the program files and make a shortcut to the actually .exe file for the editor, the organizer or both, and use that to start PSE in the future.
    For the disappearing menubar:
    http://www.johnrellis.com/psedbtool/photoshop-elements-faq.htm#_Setting_the_Windows

Maybe you are looking for