Simultaneous use of ctr0 and ctr1

I am writing a program that will lead the two lasers with a modulation of the square wave and who reads the data synchronized with the modulation. Must that I control lasers using two channels of the AO and that (actually I want to trigger IT starts when the AO is rising or falling). I want to start the tasks of the AO and keep the lasers (e.g., continuous mode) running while only a finite number of samples is taken for measures to HAVE it. For this, I tried to use the counters all together, that is I use the meter to trigger both the AO and tasks of HAVE it. This works well if I am doing this for one of the lasers, but whenever I try to use both of them I get an error (-89137);

AQmx writing (analog 1-d Wfm NChan NSamp) .vi:1
Property: Start.DigEdge.Src
Property: Start.DigEdge.Edge
Source device: Dev1
Source Terminal: Ctr0InternalOutput
)

Note that I have one of them triggered off ctr1 and the other off ctr0, which I think should provide independent scrutiny, but I think that they are somehow interferes with the other.

I would appreciate any help in getting it works! I have attached the code examples which usually shows what I'm trying to do. Note that the first task works, but the second task gives error. If you order the same thing happens (i.e. 1st task work, second fails). Note that in the example code here I left out the part where I would actually then acquire samples HAVE (who would just a moment to have a loop that starts the collection HAVE, samples and stop collection of HAVE it).

Thanks for your help!

If you did a search for this error code or message, you would have seen many posts related and all provide the same answer. You have a clock unique convert for analog output and the DAQmx driver not to create more than one task for the resource. As you have already noted, you can use a single task with several channels.

Tags: NI Software

Similar Questions

  • temporarily, the computer freezes and buzzes then restarts then simultaneously using spider solitaire and play itunes worked fine util is about 2 weeks.

    Fix a computer temporarily freezes and buzzes, then restarts when simultaneously using spider solitaire and playing itunes worked fine util is about 2 weeks. Dell vostro, windows 7, office 10, itunes 10.6.3

    Help!

    Hello

    1 done only if you use iTunes and solitaire spider together?

    2 have you made any changes to the computer before the show?

    Method 1: Uninstall and reinstall ITunes and see if this is useful:

     

    Reference:

    Uninstall or change a program:

    http://Windows.Microsoft.com/en-us/Windows7/uninstall-or-change-a-program

     

    Method 2:  Put the computer in a clean boot state and see if that helps.

    A clean boot to test if any element of service or third party application startup is causing this issue.

    Reference:

    How to troubleshoot a problem by performing a clean boot in Windows Vista or Windows 7:

    http://support.Microsoft.com/kb/929135

    Note: When you're done to diagnose, follow step 7 in the article to start on normal startup.

     

    Method 3: Restore the computer to a date when it was working fine before.

    Reference:

    System Restore: frequently asked questions:

    http://Windows.Microsoft.com/en-us/Windows7/system-restore-frequently-asked-questions

  • Simultaneous use of Bluetooth and Wifi

    Someone at - it problems with the use of Wifi and Bluetooth (Audio AD2P) simultaneously on the Thinkpad Tablet Android?

    My wifi works fine and my bluetooth works well, but as soon as I turn on the bluetooth, the signals of all the wireless disappear. I'm leaving 3 or 4 "bars" (Fair-good) to not even be able to detect the network. I expect to see a small drop in performance wifi when BT is active, but this is nuts.

    The support people had me perform a factory reset of the recovery console and were surprised when I said that he recovered to Android 4.0.3. (It came with v3.something).

    I'm travelling for work, so set up next to an access point is not an option, but last week I got the USB port repaired, did the OTA update and bought a headset, so there are a lot of variables, which I am trying to nail.

    Any help is appreciated! If you guys could see how things work on your tablet, it would be useful.

    Well, I understood what was going on. When my machine was sent for repair, one of the antenas was connected to the connecting antenna badly on the wireless network card.

    Manual maintaince a poster model of what to look for connections, like not concorde with text that describes how the repair. The text is correct, the image is probably only be used as a reference. When I corrected the connections, I have better strength of the WIFI signal and resolved conflict bluetooth/WLAN.

    I'm güssing this isn't a problem with the machines of most people, but maybe something interesting putting warned about the maintenance technicians.

  • How many phone numbers can be connected simultaneously, use the most and merge buttons

    How many numbers phones can be connected at the same time, use the most and fusion of the buttons after you make the first call?

    It depends on your operator.

    It's been a few years since I've really looked into it, but I think that AT & T supports up to 5 concurrent calls. I know that other major U.S. carriers support less, but I don't remember the exact numbers. I want to say that Verizon and Sprint are in charge 3 and T-Mobile supports 2, but my memory on this subject is blurred.

    Contact your operator for more information.

  • Satellite A300 - 15 c - WLan hangs the simultaneous use of BT and WLan

    Hello

    I bought laptop Toshiba Satellite A300 - 15 c last month.
    I run Wifi and Bluetooth simultaneouly. Connect WiFi broke.
    Then I turn off Bluetooth and it worked perfectly.

    How do I change frequency Bluetooth or why it doesn't simultaneouly with Bluetooth?

    I have laptop of less than 10 metres from the Access Point with 8.5dBi outdoor antenna and the signal is not.
    Another Access Point is 20 meters from the antenna and it works at full speed.
    Why signal is not?

    I have Windows Vista Home Premium with the latest drivers.

    Ales Pospíchal

    Hello

    What do you mean by crash?

    > Other Access Point is 20 meters from the antenna and it works at full speed
    This means you can receive another point of access correctly WiFi signals using BT and the WLan together?
    If this is the case, then it might be a compatibility problem with your another WLan router.

    I m not very well what WLan card you have, but I recommend to update the driver WLan first and the BIOS if available.

  • can simultaneously use the mse and windows defender

    my query is that I can use the two Microsoft security essentials and windows defender in my windows xp service pack 3?

    See: "Windows Defender and Microsoft Security Essentials.

  • Cannot simultaneously use vector art and dynamic forms?

    I was responsible for creating an online order form, and it seems that beign able to use vector graphics is the key to the design of the form. Dynamic form elements are also absolutely necessary - all the information has to fit on one page (and fortunately, most are mutually exclusive, allowing only the fields necessary to appear).

    Unfortunately, when I do a page of the form layout in Illustrator and import it into LiveCycle, I seem to be unable to use the drawing tools (specifically, lines and text, that both I need). I tried to save the file in a dynamic form, but only the opportunity to save it as a static form is displayed.

    Y at - it something I am doing wrong, or I'm going to have to choose between the use of vector graphics and dynamic form options?

    Fix. You can import the static PDF file work and then add the form objects.

    Steve

  • J053ea HP Envy 17 - using the touchpad and keyboard simultaneously

    I just bought the laptop of HP Envy 17 in Windows 8.

    One problem I have is when running games such as Call of Duty, I need to be able to use the touchpad with the keyboard to control the game properly.  It seems that, once I have a key that is pressed, the computer does not accept any entrance of the touchpad until I release the key.

    Will there be an option in the Panel, maybe I need to change to enable the simultaneous entry of keyboard and the touchpad?

    Thank you.

    Hello

    This problem may be caused by a touchpad setting which is intended to avoid any accidental activation - for example if your Palm brush the touchpad when typing.

    You can change this as follows.

    Open windows control panel and on the top right, next to the display by: select "large icons".  In the new page layout, select the entry of Synaptics.

    The hardware/software version will depend on real option that you're looking for (see the example below), but it is usually called 'check' Palm or Smart Sense'-disable this function and apply the changes.

    Kind regards

    DP - K

  • The simultaneous use of the SD card in the BlackBerry device and the computer

    Hello

    Can any body tell me if the SD card in the BlackBerry device can be used simultaneously to the device and the computer and how how through programming or coding.

    No problem, can assign you this solved please.  Thank you.

    See the link for help to the top if you do not know how to do it.

  • I used REGEXP_REPLACE to remove Scott. is it possible to delete all information on Scott and storage simultaneously using REGEXP_REPLACE...?

    I used REGEXP_REPLACE to remove Scott. is it possible to delete all information on Scott and storage simultaneously using REGEXP_REPLACE...?


    Select REGEXP_REPLACE (dbms_metadata.get_ddl('TABLE','EMP'), '("Scott")', ", 1, 0, 'i') twice;


    result:

    CREATE TABLE 'EMP '.

    (SELECT 'EMPNO' NUMBER (4,0) NOT NULL,)

    'ENAME' VARCHAR2 (10),

    VARCHAR2 (9) "JOB."

    "MGR" NUMBER (4,0).

    "SAL" NUMBER (7.2).

    "DEPTNO" NUMBER (2.0)

    ) PCTFREE, PCTUSED, INITRANS 40 10 1 MAXTRANS 255 NOCOMPRESS SLAUGHTER

    TABLESPACE 'USERS '.


    I want to:


    CREATE TABLE 'EMP '.

    (SELECT 'EMPNO' NUMBER (4,0) NOT NULL,)

    'ENAME' VARCHAR2 (10),

    VARCHAR2 (9) "JOB."

    "MGR" NUMBER (4,0).

    "SAL" NUMBER (7.2).

    "DEPTNO" NUMBER (2.0)

    )

    Hello.

    In fact, it's a Japanese forum here.

    I'm sorry, English is not good for me...

    According to the reference,.

    DBMS_METADATA

    The description of the parameter called SEGMENT_ATTRIBUTES, it is written like this.

    > If TRUE , include clauses attributes segment in the DDL. If FALSE , omit them. Default value is TRUE .

    Before you SELECT it, it's OK if you run the following.

    exec DBMS_METADATA. SET_TRANSFORM_PARAM (DBMS_METADATA. False SESSION_TRANSFORM, 'SEGMENT_ATTRIBUTES',);

    I hope you find it informative.

  • VM Server 2 as an archiving solution (single Server Instances, long-term use 10 years and more)

    Hello, I have a lot of customers who are located in the health sector, they have very dated material but we must keep the system state server and existing programs up to 20 years.

    I've virtualized successfully some of their servers using the converter and operate them on VM Server 2.0; things are impeccable and they know even higher performance and then on their old material.

    My question is this; VMWare Server is a sound archiving for instances of single server solution if a customer has only 1 server that must be kept for years, is interesting to use ESXi or ESX server purchase?  Do you think that any restrictions on the use of VMServer to host this virtual machine (for the next few years) so the client will use to read only purposes?  Is there another product VMware which will allow for read-only access on a network (Vm Player?)

    What are others in the health sector to help clinics with a single server?

    Thank you for all your comments on this, I'm using ESX server but with time in these situations, there is no way these customers will be hardware and software investments for 1 VM.

    Thank you

    Haymaker

    Hello

    For archiving purposes, VMware Server is a perfectly good option. Reader could also be used if you want to... You and the 'hosting' on which you store all this. It must be able to run the required number of virtual machines simultaneously.

    Best regards
    Edward L. Haletky VMware communities user moderator, VMware vExpert 2009

    URL = http://www.virtualizationpractice.com Virtualization practice analyst [url]
    Now available: url = http://www.astroarch.com/wiki/index.php/VMware_Virtual_Infrastructure_Security'VMware vSphere (TM) and Virtual Infrastructure Security' [/ URL]
    Also available url = http://www.astroarch.com/wiki/index.php/VMWare_ESX_Server_in_the_Enterprise"VMWare ESX Server in the enterprise" [url]
    [url =http://www.astroarch.com/wiki/index.php/Blog_Roll] SearchVMware Pro [url] | URL = http://www.astroarch.com/blog Blue Gears [url] | URL = http://www.astroarch.com/wiki/index.php/Top_Virtualization_Security_Links Top security virtualization [url] links |
    [url =http://www.astroarch.com/wiki/index.php/Virtualization_Security_Round_Table_Podcast] virtualization Security Table round Podcast [url]

  • I use google chrome and lately my screen started flashing intermittently then on the internet.  Any suggestions?

    I use google chrome and lately, my screen begins to blink intermittently during the use of the internet. It flashes maybe several times in a minute... I uninstalled chrome and reinstalled... no change. This just started about a month ago.  Suggestions?

    Chrome support

  • How to use the capture and the print button

    I tried to figure out how to use the capture and the "print" button, or add or what you call. I press it and the whole page of a different color changes, so I try to cut the section I want but I don't know how to send it to the printer. Can someone help me with this. I'm not at savvy with tech stuff, but when I find a recipe or something and it doesn't have an option to print a certain area, I can't understand how to use it?

    Thank you

    Andi Starbuck

    That happens to me is, I click and drag to make a rectangle of yellow selection, and as soon as I raise my finger on the mouse button, the part I've selected is captured as an image, a new tab opens and preview before printing, the image display. I can use the installation of the Page or simply print. But if I close the preview, this temporary image vanishes and I'm back on the page where I started. You see something different?

  • How can I configure Firefox Mobile to open webpages in default drive mode, so I use less resources and phone?

    Maybe that is not an existing function, but I imagine that there is a setting for that somewhere in all: config. I want pages on my mobile to open in default drive mode, so that the player display button is pushed to turn this mode off, rather than on.

    I want to do this for two reasons: first, so that the pages will not load not all ads (I'm particularly concerned about video ads) that sap resources from my phone and increase my use of data; and second, so that pages that are not optimized for mobile devices (which is a pretty large majority of pages that I tend to visit) will open in a more readable format.

    I'm on a stand with a pricing plan based on consumption for data, so I want to use as little data as possible when you're away WI - FI. How can I view default drive Firefox Android opens pages to?

    Mode reader must download the entire page before being able to analyze. It does not reduce the bandwidth used. An extension like adblock or uBlock hangs the content before it is downloaded.

  • Given to replace my current iphone with a 6s - a trip that I can disable the use of boxes and use a unique sim card data for emails

    Given to replace my iphone today with a 6s - a trip that I can disable the use of boxes and use a sim card only data for email & web.

    If you go to settings > Mobile and less ' use of mobile data for: "turn off all except Safari and Mail

Maybe you are looking for