How to set up digital channels to change values on the trigger and the counter in c#

Hello world!

I work with the driver NI - DAQmx 6025 and want to know, how do I configure the digital channels in c# for control lines different ports by trigger rising "PFI0" and the meter "ctr0.

digitalWriteTask = new Task();
digitalWriteTask.DOChannels.CreateChannel ("Dev1/Port3 / line0:7", "", ChannelLineGrouping.OneChannelForAllLines);
digitalWriteTask.Control (TaskAction.Verify);

digitalWriteTask.Triggers / / how to configure to change Digital line on rising "PFI0"?

digitalWriteTask.Timing / / how to configure to change Digital line on County "ctr0?

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Hi an alle!

Am mit dem OR-DAQmx 6025 und möchte like wissen, die ich wie digital channels in c# konfigurieren muss um einzelne Ports der Leitungen auf dem Trigger "PFI0" und dem Zahler "ctr0' anzusteuern.

digitalWriteTask = new Task();
digitalWriteTask.DOChannels.CreateChannel ("Dev1/Port3 / line0:7", "", ChannelLineGrouping.OneChannelForAllLines);
digitalWriteTask.Control (TaskAction.Verify);

digitalWriteTask.Triggers / / Wie konfigurieren, um den logical Pegel eines feature pine bei der der zu winds PFI0 goods?

digitalWriteTask.Timing / / Wie konfigurieren, um den logical Pegel eines pines beim ctr0 zu go digital?

NEITHER told me, with the NOR-DAQmx 6025 driver not supported!

ICH habe von NOR learn, dass dies mit der 6025 OR AQmx supported wird nicht!

Tags: NI Software

Similar Questions

  • How to set access restrictions "collision" in wrt610n - what are the preferences of rule?

    Hello. I want to implement access restrictions to a MAC address (machine of my child) based on the days of the week. Su in Th allow less access time throughout the fifth - his afternoon access should arrive later. The question is how do I program in the router. I know I can set the rules with the keyword 'allow' and 'disable', but I do know not preference storage.

    When I put (Su-Th-6-21) allowed the time to access and router automatically denies internet access machine set outside this interval of time then. The problem is in the power of the time who refuses so calculated. I want to give more time access at the weekend, so I was hoping if I can simply add rule ' fifth - his 6-22:30 allowed access time. I hoped that router will consider time explicitly defined in time inexplicitly set but it seems that this is not so.

    Does anyone know the rules rule? What are their preferences/priorieties, iis, it is possible to stack more rules affecting a MAC address or it is so simple that the first rule "rulez"? Is it possible to put more than one rule of time touching a machine?

    GV, thanks for your explanation. I would discuss only if access to equal access to the router itself and what is more, the reset action would be easily detected and can be protected physically. It is a pity however, during the router power can intestinal strategies. I like being green and I would like to physically cut access to my home network by disabling the router (even if I tried to maximize the software protection). Thanks again for your confirmation, we must only remember that it is better to use 'disable' the rule that 'allow' if the router can suffer power breaks.

  • ISA500: How to set up a second WAN-IP-Range on the same line WAN?

    I have an ISA570 and my ISP put the additional IP range on the same WAN line as the existing one. How to set this up? Best regards and thank you very much Jens

    Hi @jens.leipziger @....

    But the ISP just incremented the mask of your stove or put a completely different extra range?

    In the case that he attributed to a different subnet, you cannot configure the ISA with a range of IPS 'secondary '.

    You can do with Cisco routers and L3 switches with the "Ip address x.x.x.x secondary"command configuration from the interface."

    See the following link for more information about the configuration of ISA:

    http://www.Cisco.com/c/en/us/TD/docs/security/small_business_security/is...

    Do not forget to rate

    Rgrds,

    Martin, computer scientist

  • How to set up a wireless connection between my computer windows 7 and my printer?

    Laptop running windows 7 and HP wireless printer.

    What printer wireless HP do you have?

    Is the printer connected to your wireless network and online?

    If so I just used the software provided from HP who asked me if I wanted to connect to a USB port or wireless router. I choose the option Wireless for my HP J4680 AiO device and the software installed the driver appropriate printer and other associated software, IE. Center solutions HP, etc and I could use my wireless printer.

    Click here to download manuals updated, how - to, of, software, drivers, etc for your machine.

    http://welcome.HP.com/country/us/en/welcome-copy.html#support

    If your printer is not connected to your network, you may need to set up a temporary ad hoc wireless between the printer and a PC. Once you do this, you can enter the printer wireless configuration pages and configure the SSID of the network, wireless, encryption type, encryption key, etc.. Also, FWIW, I have set my HP machine with a static IP address to make it easier for me to access any pages of any PC on my network config.

  • How to set up so that VMs automatically starts when the host reboot?

    We lost power this morning and all 4 ESX hosts are down.  When the power is back, we observe that VM is not started automatically.

    We find we have not enabled 'start and stop Virtual Machines with the system.  In this way, we have allowed it.

    We'd like to know, is it necessary to move all virtual machines (those we would like to bring start automatically when the host is in place) "Manual start" to "any order"?

    In addition, as the setting is on each ESX host, will be the setting (i.e. automatic start in any order) for a particular virtual machine carried over to another ESX host if it is has been vMotioned?

    Thank you

    (1) Yes, it applies for each host and is not shared between all the other hosts and is disabled by default. You must activate it by going to configuration tab look for 'Machine virtual start/stop' to activate and set the priority/delay for your virtual machines

    (2) personally, I don't use this feature, it could be the case that the default update the settings back... it would be surprising if that were the case, I re - activate and try to stop or restart and see if that is the case. If it's the latter, I would file a ticket with VMware if you have a support contract

    (3) No, if everything is configured correctly and the change of the start/stop is retained through reboots, they should automatically turn on virtual machines in the list that you specified.

    =========================================================================

    William Lam

    VMware vExpert 2009

    Scripts for VMware ESX/ESXi and resources at: http://engineering.ucsb.edu/~duonglt/vmware/

    Twitter: @lamw

    repository scripts vGhetto

    Introduction to the vMA (tips/tricks)

    Getting started with vSphere SDK for Perl

    VMware Code Central - Scripts/code samples for developers and administrators

    150 VMware developer

    If you find this information useful, please give points to "correct" or "useful".

  • How to set a particual as sysdate field value, if it is null

    Hello
    I have a custom OAF page requirement.
    In the table of results, if the value of the DATE field is NULL, then we must set as default SYSDATE.

    For this I use the following code. Could someone suggest me I'm correct or not?

    Indicative PFR:


    if(xxMDateBean == null)
    {
    OAMessageDateFieldBean xxMDate = (OAMessageDateFieldBean) webBean.findIndexedChildRecursive ("xxMDate");
    oracle.jbo.domain.Date date1 = am.getOADBTransaction () .getCurrentUserDate ();
    Impossible displayDateFormat impossible new = ("dd-MM-yyyy');
    String OracleDateForm = displayDateFormat.format (date1.dateValue ());
    xxMDate.setValue (pageContext, OracleDateForm);
    }

    I get the following error:


    Error (81.8): variable xxMDate not found in the class (CONTROLLER)

    Published by: Eddy on January 20, 2011 17:09

    Nanoo,

    I think that the code I gave you can use directly by changing just the VO, the column names.
    Please let me know what exactly you are looking.

    You might be the method call AM to run the query, after which followed this procedure (with your VO, columns).

    Thank you.

    With respect,
    Kali.
    OSSI.

  • LabVIEW digital control does not raise an event changed value when the button entry is hit

    I used to be able to type a value in a numeric control of LabVIEW, then press 'Enter' to trigger an event "changed value".  Then at some point, this no longer works.  I have to click elsewhere to trigger the event of value has changed.  The up and down arrow keys work always, but just typing a number then press enter does not work.  Is this a configuration settings got accidentally changed?  Help, please!


  • How to set default printing shortcut or change standard ones

    I have a LaserJet 2420d with the PCL 5 driver.  Whenever I print, it uses the default paper shortcut that is "General printing every day."  This built-in shortcut specifies a type of "Pre-printed", so the printer breaks waiting for pre-printed paper inserted until I press the check mark button.

    I can create a custom form that has solved the problem, but I don't know how to make my custom form by default for the printer.  Furthermore, if I could change the type of paper for the 'General everyday printing' and save it, it would solve the problem.

    So how set my default paper form shortcut or change the standard one?

    Furthermore, the who Devil set by default to use paper pre-printed paper?

    Open your printers and Faxes folder, right click on the printer icon and select Printing Options. and any changes made here will be defined as a default value.

  • How to set a Boolean that only changes Its True/False when there is an entry "real"?

    A group of numbers is used as my entry. Currently, I want to put my code like: when the input is greater than a certain number of threshold (4 for example) it will display the true value, and it will not change false until another larger than 4 entry appears. Our problem right now is that it displays false if the entry is less than the threshold (4) when you want to keep it real.

    Please help me, thanks.

    I should have warned the OP I like Rube Goldbergs... Yes, a XOR function should be used here

  • How re - set my DST auto to change in March and April, no?

    Now that the DST starts in March rather than in April, I would like to reset the automatic DST for March. If this is possible, how?

    This forum is for comments on the operation of the forums themselves. It is not for technical questions. To find an answer to your question, click Windows in the top navigation bar and type your question in the box to find answers .

    Probably, you will be directed to this article:

    How to configure daylight saving time for Microsoft Windows operating systems

  • How to use multiple digital channels on a 9474 when generating a pulse on a 9172 train?

    I use a 9172 with 9474 module to the location 6.  I want to generate the PWM signal 1 but, I have to be able to provide up to 4 amps.  I have a solution but, I'm not sure it's the best way to do it.  I'm basically starting and stopping the task and change PIN output in my startup routine.  DAQmx does not disconnect the old pine when he signs so new, I'm able to run 1 signal via the 4 outputs.

       /*********************************************/   // DAQmx Configure Code   /*********************************************/   DAQmxErrChk (DAQmxCreateTask("",&taskHandle));    DAQmxErrChk (DAQmxCreateCOPulseChanFreq(taskHandle,"cDAQ1Mod6/ctr0","",DAQmx_Val_Hz,DAQmx_Val_Low,0.0,1.00,0.50));    DAQmxErrChk (DAQmxCfgImplicitTiming(taskHandle,DAQmx_Val_ContSamps,1000));    DAQmxErrChk (DAQmxRegisterDoneEvent(taskHandle,0,DoneCallback,NULL));
    
       /*********************************************/   // DAQmx Start Code   /*********************************************/   DAQmxErrChk (DAQmxSetCOPulseTerm(taskHandle, "cDAQ1Mod6/ctr0", "PFI0"));  DAQmxErrChk (DAQmxStartTask(taskHandle)); DAQmxStopTask(taskHandle);    DAQmxErrChk (DAQmxSetCOPulseTerm(taskHandle, "cDAQ1Mod6/ctr0", "PFI1"));  DAQmxErrChk (DAQmxStartTask(taskHandle)); DAQmxStopTask(taskHandle);    DAQmxErrChk (DAQmxSetCOPulseTerm(taskHandle, "cDAQ1Mod6/ctr0", "PFI2"));  DAQmxErrChk (DAQmxStartTask(taskHandle)); DAQmxStopTask(taskHandle);    DAQmxErrChk (DAQmxSetCOPulseTerm(taskHandle, "cDAQ1Mod6/ctr0", "PFI3"));  DAQmxErrChk (DAQmxStartTask(taskHandle)); 
    

    What is the best way to do that with my current hardware?  Also, I got to spend the 4 amp uses this method?

    Thank you

    P.C.

    Hi P.C.,.

    DAQmxSetCOPulseTerm() only accepts one signal, but DAQmxExportSignal() accept multiple signals, so here's a simpler way to do the routing:

    DAQmxErrChk (DAQmxExportSignal (taskHandle, DAQmx_Val_CounterOutputEvent, "/ cDAQ1Mod6 / PFI0:3")); "))

    DAQmxErrChk (DAQmxStartTask (taskHandle));

    Brad

  • How to set decimal digits

    Hi all

    Cascading QML if I calculate A / B and the result 3.45656566

    How I round off the number to 3.46

    I can not find any function to round or rnd.

    Thanks for your advice.

    you need to multiply, and divide to get a decimal number, if you want to go 3 places for the years 1000 and so on

    Math.round(num * 100) / 100
    
  • How to set a keyboard shortcut to change the case of letters

    I looked under the Dreamweaver OSX > shortcuts keyboard and cannot find where this menu item would be located
    Anyone know?

    Screen Shot 2014-06-18 at 12.33.31 pm.png

    Hi marcusstringer,

    Dreamweaver has shortcut defined for this cooperation. If you want to have it please file a feature request using form below.

    Based on the number of applications, we will look into it.

    https://www.Adobe.com/cfusion/mmForm/index.cfm?name=wishform

  • How can I create a shortcut to "change user" on the desktop using rundll32.exe in Vista Home Premium?

    I am trying to create the shortcut to "change user" using rundll32.exewithout to create the shortcut to "lock", only to pass the user. I already know that I have to right click on an empty space on the desktop, press New\Shortcut and type%windir%\System32\rundll32.exe user32.dll,but not after the comma. Type so I can only create the shortcut to "change user" and not the shortcut to 'lock '? (This means that I don't want this: %windir%\System32\rundll32.exe user32.dll, LockWorkStation, with LockWorkStation after him.)

    Unfortunately, it can be done in your version of Vista (or so they say, hang on a moment.)  I found the article according to that cllaims to do in Vista Basic and Vista Home Premium in addint a file and shows a set of procedures.  As it is a 3rd party file, do so at your own risk. http://www.vistarevisited.com/2008/08/02/create-a-desktop-shortcut-to-switch-users-in-vista/.  NOTE: This is not how you suggested higher, but if it works who cares?

    In case you don't want to consider the solution above, you have refused, here is the procedure (how to do it in other versions of Vista):http://www.vistax64.com/tutorials/136969-switch-user-desktop-shortcut.html.

    I hope this helps.

    Good luck!

    Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • How to set to default group or user names in the Security tab?

    I am trying to listen to music from my laptop to my PS3. I reinstalled my laptop without picking up my external hard drive and it has messed up the security settings in the files. I fixed it for my videos but I don't remember how. My videos has the default user in the window:

    Everyone

    HomeUsers (Robert-PC\HomeUsers)

    Robert (Robert-PC\Robert)

    WMPNetworkSvc

    The window under the Security tab of the My Music folder has these users:

    S-1-5-21-2475358272-913278994-1741288185-1000

    S-1-5-21-3176736344-3858995767-1895752026-1000

    S-1-5-21-3176736344-3858995767-1895752026-1001

    Robert (Robert-PC\Robert)

    How can I bring to the security of the folder tab music to look at as they are in the video folder security tab?

    I checked everywhere on the internet and have not found the solution. I found it using Google, but I forgot the link to the site on which I found it.

    I suggest you to change your setting of security manually right-click the swith folder, select Properties, Security tab, select modify and delete the three main users or groups. After that select Add, select advanced in the dialog box select users or groups, and click Find now. In the search results panel, select the user or group to which you want to add (for example. Everyone or something else on the Security tab of the folder of your video you want to add), and then click OK until all the dialog box is closed. If there are error messages appear during the process, please take note and post them here. I hope this help you.

Maybe you are looking for