Task timeout in VI but not in MAX

I am reading 21 analog signals from a 6225 DAQmx and I also want to read 2 frequencies. I am using the two counter inputs for this. I have gathered all DAQmx reading in one VI and created (in MAX) one task for the analog channels and two tasks for the two frequencies. I have separated the three readings in a secuence structure, first a read the analog signals and then the first frecuency and the the second.
My problem is that I get a timeout error from one of the frecuency readings as if no signal were connected but when I test the same task in MAX it works fine. I am uncertain on how to use Start Task and Stop Task or Clean Task but I believe that I should use Start Task and Clean Task. For the reading I have configured DAQmx Read to Counter DBL 1Samp.
What can I have done wrong?
I've attached the VI.

Hello!
I looked at your VI and the main problem with it is that you don’t control the order in which the program will execute. As it is now in the program you have uploaded there is nothing that controls in which order the control tasks will execute. Insert ‘DAQmx Stop Task.vi’ before each ‘DAQmx Clear Task.vi’ and if you want to achieve sequential behavior use the error cluster to control the order. Just wire the error cluster the upper code snippet that handles the analog input to the middle code snippet where you handle one of the counter parts and so on.
Hope this will help!
Regards,
Jimmie A.
Applications Engineer, National Instruments
Regards,
Jimmie Adolph
Systems Engineer Manager, National Instruments Northern Region
Bring Me The Horizon - Sempiternal

Similar Messages

  • PCI7030/60​40 recognised by XP but not by MAX

    My PCI7030/6040 card is recognised by the device manager of Windows XP but not by MAX 2.2 / NI-DAQ 6.9.3. It uses a non shared IRQ (10).
    What do I have to change ?

    Do you have the LabVIEW Real-Time Module and the Real-Time component of NI-DAQ installed. Most likely, you installed NI-DAQ before LabVIEW RT and NI-DAQ did not install the RT component. You can check this by modifying the installation in Add/Remove Programs and adding the RT component if it isn't present.
    Regards,
    JR A.
    Application Engineer
    National Instruments

  • Task fails on server but not on my development PC

    hi
    I have this annoying error on my server but not in my PC,
    When I run the task from VisualStudio2010 it works perfectly. Then I deploy the package to my SqlServer2012 "Intgegration Services Catalogs" and run the deployed package from the SqlManagementConsole I got the error.
    The source is an oracle DB and the query wich calculate the field "MONJTO_HRSEXTR" do it with this "sum(nvl(h.monto,0)) monto_hrsext" on the select statement.
    I guess the problem is SSIS thinks that the column MONTO_HRSEXTR is "Unicode string[DT_WSTR]" with "lenght=38" and when the conversion process try to cast to Decimal(12,2) it fails. There are 2 big questions here
    1.Why it works on my development PC and not in the server when deployed?
    2.why the "Data Conversion Transtormation Editor" thinks the field is a  Unicode string[DT_WSTR] if that field is a sum result from numerics fields in the oracle table
    Thanks a lot!!! for any Idea
    Salu2 Sergio T

    Hello
    Thanks for your time, I made a modification
    to the package to redirect all rows
    that cause error
    All errors are rows with decimal values
    ​​such as "11.3" "33.44"
    All values ​​are using "," instead of
    "." and that's the problem
    what is strange is that the same source,
    in both cases the same database
    It will be something related to the
    configuration of the oracle client on the Windows
    server? The Oracle is in another server, a unix server.
    I do not know much about oracle.
    I know we use TSNnames for connecting, but I really don't know what to see, any idea??
    thanks again for your time Jan
    Salu2 Sergio T

  • Noise pickup in Labview but not in MAX?

    Hello,
    I'm having some problems with picking up what i assume are noise peaks while running labview VI's. These peaks are not present when i look at MAX... only through labview. For example, i get periodic peaks of +- 2 degrees in a simple TC VI. Same thing occurs with other VI's i have created. Could i be missing something in my programming, or is it simply a physical connection somewhere?
    Thanks,
    Mike

    Mike,
    Are you using the same data acquisition rate? It is hard to see how it could be a physical connection if you are sure you are using the same analog input channel. Is the input configuration the same (Differential, RSE, or NRSE)?
    Allen

  • 200 ms UDP Read timeout causes error ( but works in UDP Receiver.vi)

    A 200ms timeout works in the UDP Read in the UDP Receiver.vi, but doesn't seem to work in general (get error 56 - network operation exceeded user-specified or system time limit). Any idea why a 200ms timeout doesn't work in general (when I construct my own UDP receiver vi)? I have examined the properties of the numeric constant which specifies the timeout. It appears to be the same as the numeric constant in the UDP Receiver.vi, but apparently there is some subtle difference. TIA.

    Mercurio-
    Here is the code. It works with a timeout of 25000ms, but not with a timeout of 200ms. Thanks.
    -jesse
    Attachments:
    UDPR.vi ‏22 KB

  • After updating waterfox 12.0 to 15.0, but while launching from task bar its giving error not compatable version 15.0 min/max version 12.0

    after updating waterfox 12.0 to 15.0, and i opend the app and pin it to the task bar (windows 7 64bit enterprise edition) but while launching from task bar its giving error not compatable version 15.0 min version 12.0 ,max version 12.0

    Such an error is caused by some files that weren't updated successfully, so you are left with a mixture of files from different Firefox versions.<br />
    There is usually some security software involved that protects .ini files against modification (update).
    You will still have to do a clean reinstall and delete the Firefox program folder before reinstalling a new copy of Firefox.
    *C:\Program Files (x86)\Mozilla Firefox\

  • Why does the counter work in MAX, but not Labview?

    Please help, I have been away from Labview for over 3 months, and I am quite rusty....
    Last year, I successfully configured NI9401 to measure period (seconds) by counting the rising edges of my sensor signal.  Since then, I have aquired a new PC, and loaded all my software into it, including the Labview VI's that successfully worked on the old computer.
    I can see the digital signal using MAX and the test panel for the NI9401, so, I know my wiring and my TTL signal is OK, but, when I try to run the attached VI, nothing happens except the error below..  How do I tell this VI to look for the signal on MOD3/CTR0 and channel 14?
    Thanks. I am sure it is a small adjustment...this worked fine a few months ago...not sure what is wrong now.
    Thanks,
    Dave
    Solved!
    Go to Solution.
    Attachments:
    continuously measure period buffered_singlechannel_forum_feb_23_2012.vi ‏20 KB

    OK, now.  Resolved the issue. The vi is fine, but, some shaky wires were identified...worked in MAX but not in the vi.  Now that the connections have been tightened up, it works for both.  Sorry for the inconvenience.
    Dave

  • V6.01, Windows 7, click on icon, "firefox is already running but not responding" Task manager doesn't know about it. I can't quit it or get it to load. Brand new install. What to do?

    Brand new Lenovo computer, Windows 7 Home. New install of Firefox 6.0.1, set as default browser, don't launch when I click done. Icon appears in tray. I click the icon, and a message says "firefox is running but not responding. To open a new window, you must first close the existing process, or reboot". It's not obviously running. I can't find a way to make it quit. Task manager doesn't list it as a current application. Uninstall using the control panel uninstall function and then reinstalling gives the same message. Rebooting doesn't fix the problem and gives the same message. Firefox had been working until I tried to update my bookmarks.

    No can do. I can delete the current profile and install Firefox, which should create a new blank profile. The message still says "Firefox is already running." I can place my old profile in the proper folder, and Firefox will still be already running. I can't actually use Firefox, because even though the message says it is running, there is nothing on the screen I can access.
    After uninstalling Firefox, deleting the two items left in the Programs folder, and deleting the profile again, it still didn't work. I then got frisky and from the Roaming folder I deleted the Mozilla folder which contains the Firefox folder which contains the now empty Profiles folder. That worked, and a new set of folders with a new blank profile were created. So apparently it was the empty folders that never got deleted that were causing the issue.
    Thanks for your suggestion. It got me thinking.

  • Firefox 29.0.1 on Windows 7 (64-bit): ALWAYS get "Firefox is already running but not responding..." error and need Task Manager to close/restart Firefox.

    I run Firefox 29.0.1 on Windows 7 (64 bit) and I get the "Firefox is already running but not responding. In order to open the program you must close the existing window." error. EVERY TIME I try to start Firefox. The posted solution works to start the program, but it is not a permanent solution. I go through the Task Manager and end the old Firefox process, then I can open a new window. While working, I can open multiple tabs and multiple windows, everything seems to (usually) work the way it should. Then after I completely exit Firefox, in order to open the program again I need to fix the SAME error again. Every time. It doesn't seem to hurt anything really, but it is quite annoying.
    I used to get this same error on some of the older Firefox versions but it was only once in a while. With the new 29.0.1 it is literally EVERY TIME I TRY TO RUN FIREFOX!!!!
    So, down to the big question: is there a permanent fix for this yet? Or will there be one included in the next version update? Or am I going to have to go back to Internet Explorer? I know I am not alone in this experience; i've seen several other users posting similar questions but none of them received satisfactory answers. So what's the story here, team Firefox?

    '''https://support.mozilla.org/questions/997866?esab=a&s=&r=1&as=s'''.<BR>
    This is not a cure but will make it easier if Firefox locks up.

  • DAC Task are queued but not running

    Hi Everybody,
    Currently we are running the ETL for only Financials and there are 394 tasks in total out of which 285 have been completed successfully. At times some of the tasks would just get stuck on particular action. For e.g The analyze task after dimension population would remain in the queued status and would never switch to run mode. So we had to abort the ETL and restart it. This action resulted in successful completion of the previously queued task. Now for past two days the ETL is once again stuck (queued but not running).
    For e.g The following task is showing status of running
    51     SIL_InventoryProductDimension_SCDUpdate     Running     2009-03-02 21:09:59.0                    DataWarehouse     DataWarehouse     SILOS          Update Slowly Changing Dimension     Informatica     0     0     -2     CUST R11 5 10
    But if I right click on the details
    I get this
    1     SIL_InventoryProductDimension_SCDUpdate_Full     Running     2009-03-02 17:40:41.0     2009-03-02 21:09:09.0     3 hour(s), 28 min(s), 28 sec(s)     Verifying if workflow still running on Informatica Server 'Oracle_BI_DW_Server'.
    If still running will attach to the workflow.     DataWarehouse     Informatica     0          -2     0
    And the remaining detail tasks for this are in queued status.
    What could be the reason?
    Does it need the Infomartica workflow manager open? It is open currently open but must have been accidently closed in between.
    Informatica services have always been running.
    Thank you very much
    Nilesh
    [excel dashboard|http://www.exceldashboard.org]
    dashboard Software
    [Access Dashboard|http://www.accessdashboards.com]
    [Dashboard Reporting|http://www.reportingdashboard.com]
    Edited by: njethwa on Jan 6, 2010 5:39 PM

    Hi
    This Sometime happens with DAC.We faced the same issue and had an SR open with Siebel for almost 2 weeks,they Couldnt help us out.
    Restart your DAC Server and Do a Dryrun and then run your full ETL .
    The Analyze task would not hang anymore.
    I dot have any logical reason why this happens,but i am guessing it has to do with some java heap memory.So restarting the Server would free up the memory.(i am guessing but not sure).
    But it Works.
    Try it
    Let me know if this helps
    Thanks
    H

  • Firefox is already running but not responding,No process in task manager,Restart and uninstall not useful.Profile manager error

    So one day when I opened my mozilla firefox Ive got the "Firefox is already running but not responding.To open a new window,you must first close the existing firefox process,or restart your system."
    So I checked my task manager but there is no process,I then checked hours in the internet to find a solution.Yes,I also checked for solutions in this site.Then,I try uninstalling and restarting,it also didn't work,Next I also tried downloading profilemanager and tried to run it but as unlucky as I can be,it also didn't work. Please help :(

    The Reset Firefox feature can fix many issues by restoring Firefox to its factory default state while saving your essential information.
    Note: ''This will cause you to lose any Extensions, Open websites, and some Preferences.''
    To Reset Firefox do the following:
    #Go to Firefox > Help > Troubleshooting Information.
    #Click the "Reset Firefox" button.
    #Firefox will close and reset. After Firefox is done, it will show a window with the information that is imported. Click Finish.
    #Firefox will open with all factory defaults applied.
    Further information can be found in the [[Reset Firefox – easily fix most problems]] article.
    Did this fix your problems? Please report back to us!

  • Cannot expand viewer for ESPN3. The task bar at the bottom is not visable. It works with Internet Explorer, but not with FireFox

    There is a task bar that should be visible so you can expand the viewer to the full size of your computer screen. I can open up internet explorer and it works, but not in FireFox. This is when using ESPN3, or ESPNWATCH.

    A good place to ask questions and advice about web development is at the mozillaZine Web Development/Standards Evangelism forum.
    The helpers at that forum are more knowledgeable about web development issues.
    You need to register at the mozillaZine forum site in order to post at that forum.
    See http://forums.mozillazine.org/viewforum.php?f=25
    You need to post a link to the website or post relevant parts of the code.

  • I am using Outlook 2010. Changes made to my iPhone 4 or my iPad2 appear on each other (tasks, calendar, Contacts) but not in Outlook. Why is this?

    I am using Outlook 2010. Changes made to my iPhone 4 or my iPad2 appear on each other (tasks, calendar, Contacts) but not in Outlook. Why is this?
    Also, changes made in Outlook do not appear on Phone or IpAd

    I'm guessing outlook doesn't support iCloud or vice versa or the settings for iCloud in Outlook are turned off. Just a guess though I don't use Microsoft products if I can help it.

  • Device works using max but not with VI

    Hi All..
    I am able to control a kepco power supply with comminicating by MAX. But with VI (7.0) that has the same command structure it s not possible..Moreover, i dont get any error message either. Could you have a look the VI attached and make ur comments.
    thanks
    Attachments:
    sweeping current.vi ‏79 KB

    I have localized where there are something strange happening.
    I attach 2 VIs one of which works but not other one. The only difference is that  the working one writes data to Writing VI via buffer. When I change buffer to string it doesnt? It doesnt any make any sense to me.. What is wrong?
    Attachments:
    writing_data_not_works.vi ‏50 KB
    writing_data_working.vi ‏47 KB

  • PCI-6703 on MAX traditional daq but not on daqmx

    Im using MAX 3.1.1 (with NI DAQmx 7.3.1f0) and its listing my device 6703 on the traditional daq list but not on the DAQmx. I'm trying to utilize the Express VI to use this card but since it does not apear on the list I can use it. I already tried F5 several times.
    Thanks fot the help.
    --Aaron

    PCI-6703/6704 are supported by traditional nidaq, and nidaqmx 7.4 and higher.
    They are not suppoeted by NidaqMx 7.3.
    if you want to use Nidaqmx, upgrade to the latest NIdaq driver.

Maybe you are looking for