Change of Direction Terminal for input of meter

Documentantion, the default limits of the USB-6215 for counter source of entry and management (when the counting direction is controlled externally), are the two PFI 0. I tried to change but StartTask fails because it cannot find the selected channel to control the direction of counting... heeeeelp!

       DAQmxSetChanAttribute (countTask, "", DAQmx_CI_CountEdges_DirTerm, "Dev1/port0/line1");

' line1/port0/Dev1' is how you need to reference a line in a digital task entry or digital output.  You want a "terminal" to set the direction, which in your case would be a PFI line.  For example, "/ PFI3/Dev1.

Of course, the 6215 has the same default for source counter and to the (which is used for up/down) lines:

This seems odd, but the 6215 has only PFI 4 input and 4 output THAT PFI lines so I guess they had to adapt to the terminals of the defect in somehow (funny, though the line to the unusable for a line up/down with default breaks - I never liked using terminals by default anyway now that we have the option because honestly who can keep track of them).

Best regards

Tags: NI Hardware

Similar Questions

  • Change 'prompt the user for input.

    Hi all.

    Is there any VI 'Interrogate the entered user' where do I include entries of type enum or ring? If this is not the case, how can I change the VI 'Interrogate the user entry' to do this?

    Thank you

    Francisco

    Right-click on the express VI and select 'open the front '. He converts it into a regular VI that you can modify. Or, simply create your own VI from scratch. Look at the examples of delivery for ' pop up

  • Using the same PIN for input and output

    Hello

    I would use a single PIN for input and output.

    I'm experimenting with writing a driver for the DHT11 that using a single interface

    I have the following code to open the PIN, but it fails

    GPIOPin dhtPin = (GPIOPin) DeviceManager.open (new GPIOPinConfig (0, 17, GPIOPinConfig.DIR_BOTH_INIT_INPUT, GPIOPinConfig.DEFAULT, GPIOPinConfig.TRIGGER_NONE, false));

    VM - iso [DAAPI] =-1: not supported direction was placed for 17 GPIO pin number. Open failed

    jdk.dio.InvalidDeviceConfigException

    -com/oracle/deviceaccess/gpio/impl/GPIOPinImpl.openPinByConfig0 (), bci = 0

    com/oracle/deviceaccess/gpio/impl/GPIOPinImpl. < init > (), bci = 87

    -com/oracle/deviceaccess/gpio/impl/GPIOPinFactory.create (), bci = 6

    -com/oracle/deviceaccess/gpio/impl/GPIOPinFactory.create (), bci = 3

    -jdk/dio/DeviceManager.openWithConfig (), bci = 49

    -jdk/dio/DeviceManager.open (), bci = 6

    -jdk/dio/DeviceManager.open (), bci = 2

    -dht11 / DHT11. < init > (DHT11.java:42)

    -dht11 / DHT11. < init > (DHT11.java:37)

    -dht11/DHT11Midlet.startApp(DHT11Midlet.java:25)

    -javax/microedition/midlet/MIDletTunnelImpl.callStartApp (), bci = 1

    -com/sun/midp/midlet/MIDletPeer.startApp (), bci = 5

    -com/sun/midp/midlet/MIDletStateHandler.startSuite (), bci = 264

    -com/sun/midp/main/AbstractMIDletSuiteLoader.startSuite (), bci = 38

    -com/sun/midp/main/CldcMIDletSuiteLoader.startSuite (), bci = 5

    -com/sun/midp/main/AbstractMIDletSuiteLoader.runMIDletSuite (), bci = 132

    -com/sun/midp/main/AppIsolateMIDletSuiteLoader.main (), bci = 26

    I have the following permissions value

    jdk.dio.gpio.GPIOPinPermission "*: *" 'open, setdirection '.

    jdk.dio.DeviceMgmtPermission "*: *" 'open '.

    I tried a few other pins too, I don't know if some ankles are entered or only output pins.

    Any help would be appreciated. I could not find documents explaining how to configure more than one action for a permission ( 'open, setdirection'), so I tried just until he stopped to complain about the values...

    What I need is to open a PIN, set it OUT, write a few high and low values... set it to the direction of the ENTRANCE, and reading back high and low values... But right now my GPIOPinConfig seems to be problematic

    (... Configuration of the meaning to DIR_INPUT_ONLY or DIR_OUTPUT_ONLY, works until I try to change the direction of the port - what is expected...)

    Hi Charl-

    As far as I KNOW, he is there no current plan to apply 1 thread in Java ME Embedded.

    I also looked at Pi4Jand they do not also support 1-wire, however, there is an enhancement request to add support for the bit hit Linux driver will have to perform 1-wire work.

    The raspberry pi support it, it's just Java ME holds back me.

    BTW - the article has been referenced in the enhancement request notes that he is not taken in native support for 1 wire on the Raspberry Pi - it requires a Linux kernel driver module.

    Tom

  • Synchronization of two inputs frequency meter with several analog inputs

    Hi all

    I'm relatively new to LabVIEW and I'm trying to collect data from multiple sources with calendar sync on the acquisition, but I can't understand. My problem is that I have two inputs frequency meter, an optical tachometer reading one pulse per revolution and a max flow meter machines with a 12000 k coefficient. I can't find a way to synchronize the calendar with my multiple analog inputs. I tried to first get the speedometer to synchronize with the analog inputs following the example linked here. (https://decibel.ni.com/content/docs/DOC-10785) So far every time I run it I get an error on the DAQmx read timeout or an error "several sample clock pulses have been detected" (see image).  It seems if I slow the way to down to say 10 hz and make sampling rate ensure that the tachometer signal is more than 800-1000 rpm (13-17 Hz) before starting the VI then the program will run without error until the ROTATION speed is below this threshold, then the "sample Multiple clock pulses" error occurs.  The code is attached below.

    Does anyone know of a better way to synchronize the entries of frequency of the counter with analog inputs?  I would like to have a VI that can display 0 RPM (and possibly 0 flow as well, but I think I need to understand the timing of a meter before I have add another, because it seems that I can't have two counters to the same task). Any help on this would be greatly appreciated.

    LabVIEW version 13.0

    Chassis cDAQ-9178 with NI 9401 for both counter inputs and NI 9205 for the analog inputs.

    Thank you!

    Richard

    I know the error requires to restart the task at least (this particular error puts the material in a State that cannot be recovered from during execution of the task - I've been down this road before) but I'm surprised that you would have to delete and re-create the task altogether.  And then I had to do this to workaround other questions in the past.  It is awkward and should be considered a bug, if this is indeed the behavior.

    Honestly, regardless of this bug, the way the material dealing with the situation of several sample clock edges makes measures of sampling frequency clocked essentially unusable for purposes of synchronization (in my opinion anyway) If you encounter a more slow than your sample clock rate.  You are supposed to be "synchronization" of the measure, but it really no longer applies if you have to restart the task over and over again (if you must delete it or not).

    Workarounds can get kind of creation (which isn't really a good thing).  For example, you can configure a measure of implicit frequency to keep a buffer of frequencies and use a leader board task (source is the frequency signal, sample clock is the sample clock HAVE) to establish a correlation between the index of your buffer of frequency for singing HAVE sample clock.

    Best regards

  • How to change the default path for documents and settings

    How to change the default path for documents and settings

    I try to change in the registry, but the profile can create but error! had no choice to change the default path % lecteur_systeme % d: /.

    Hello

    I suggest you to download TweakUI, this could help you or get you headed in the right direction
    http://Windows.Microsoft.com/en-us/Windows/downloads/Windows-XP

    Also this KB could help as well:
    http://support.Microsoft.com/kb/236621

    It will be useful.

  • Change the default DPI for scanning in paint

    How can I change the default values for scanning for painting so that each scan is 300 dpi?

    I'll give you an answer. What the interrogator does not understand, is that MS Paint does not have a setting for the CIO. There is no default DPI setting in MS Paint. The setting is controlled by the scanner driver or scanner itself. MS Paint simply communicates with the driver for the scanner, which then continues to do the analysis, then once completed, he hands the digitized data back to MS Paint. Therefore, the parameters of the interrogator wants to know how to change are not in MS Paint. they are in the driver scanning interface. This driver determines how he manages the parameters after returning the scanned data to the connection/disconnection of call program, in this case MS Paint. Most of the drivers scan all right back to their default value. In the case of the user, it's 100 dpi, but another scanner, this could be 150dpi (common with many scanners a few years back), and by default most recent scanners often at 200 dpi. After scanning, you need to change the defaults anywhere from new, because once the scanner driver handed the scan back data to the calling program, it is no longer in communication with her. It doesn't matter whether you use MS Paint, Picasa, IrfanView, or any other program that connects to the scanner TWAIN. If you start with a scanner that has a default of 300 dpi, you would have thought that it was a question on. You can not insistent that no one answered your question if it is based on the wrong premise at first.

    Some scanners allow control of the scanner itself. I use a HP (all-in-One) printer/scanner combination. I can configure default to the control panel of the printer/scanner at 300 dpi or whatever value I want; I often put it at 600 dpi. Then I can scan directly from the scanner/printer and still get 300/600 dpi scans. By default the program to manage the registered file type determines which program will be executed when the image is sent to the computer. It could be MS Paint or IrfanView or whatever. Very often, I send the scans on a SD card on the printer instead. When I'm finished, I have a SD card with images scanned at 300 dpi that I take to another computer. Because the scanner/printer has been set to use 300 dpi by default, MS Paint, IrfanView or any other program that launches a scan will get also 300 dpi scans.

    What the questioner needs is a scanner which allows its default value to or one that is default to 300 dpi in a first time. If you try a new scanner, you will find that the parameters does not return to 100 dpi, but instead has regardless of the definition of the scanner as default.

    Given that most of the pilots to simple scanner always return to the default devices, and in this case, setting this parameter scanner is only 100 dpi, you can use a software that is specially designed to solve this program with its own resolution settings. An example is called "search". In its interface, you choose what the desired resolution, then when it communicates with the scanner, he deals with the change in the value whenever a scan is requested.

    If you use color or grayscale is a separate choice outside the DPI setting. Some scanners can scan to a different resolution for shades of gray than they do for the color. Nevertheless, the problem and the solution is the same.

  • How to change the product key for Office 2007?

    Original title: product key used.

    When I loaded Office 2007 I used a product key with any additional use.  I try to enter a different product key, but impossible to find how to do this.  Can you please direct me to the correct site to do this?  Thank you!

    Hello

    It would be easier to uninstall it and then reinstall it by using the different product key.

  • How to test the change of direction on the Simulator event?

    There is an example of change orientation Guide 0.92 development event.

    I add some codes for my application to deal with this event, but I don't know how to test it.

    I find that the return value of Accelerometer.isSupported on the device Simulator is true and simulator of funds, the value is false. But two of them cannot Simulator such an event.

    I know that you can test on IPhone simulator, use of change of direction "Command" + arrow keys.

    Can anyone help?

    Thank you.

    To test or change the orientation of the Simulator make sure that your using the last image of Simulator, then slide upward from the bottom right. (Not of the bezel, instead of part of the screen visible)

  • accidentally, I changed the default program for the openng exe files

    accidentally, I changed the default program for the openng exe files now I can't reverse my mistake and a lot of things on my count no longer works... I cnt play games or open all programs... what should I do?

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

    Note at the beginning of the article that it says that Windows 7 users should go directly to the "Fix it myself" section

    Tricky

  • How can I change the default program for the external application Editor?

    I read on the directions for this line and it reads "select a file type in the left pane."   I don't see where it is in the left pane.  All I see in the left pane is 'The browser start Pages' and a 'How do I' pane.  Nothing with the file types.

    Hello

    Welcome to the Adobe Forums.

    In order to change the default program for the external application Editor. Please follow the instructions below.

    Click on the Edit menu, then choose Preferences.

    Once the dialog box is open.

    Click on file publishers.

    In the left pane, you will find all types of files that you want to change.

    On the right, you'll find publishers for this specific file type.

    If you want to add any other application, you must click on + symbol at the top of the right pane.

    Select the path of the application that you want to apply.

    Click Open.

    If you want to primay you can click available main option at the top right. For more detials please check the screenshot below.

    Kind regards

    Rajeev

  • change the current date for testing purposes.

    For testing purposes, we must be able to set the current date, mainly so that we can test 3 successive months, in about a period of 15 days.
    It's siebel-web-determinations (10,2) runnning under tomcat

    Other than changing the server clock or
    replace all occurrences in the rules where the date function perceive is used with a placeholder attribute as the temp "today's date"
    is there another way to change the current date for testing purposes?

    Thank you
    Allan

    Hi Allan

    An alternative would be to use the current date only once in your rules, for example: the date of assessment = the current date.

    Then, change the rest of your rules to use the valuation date instead of the current date. It works perfectly in production.

    If you set the value of the valuation date seeding date you want to use Siebel, then the current date function will not be triggered (you set a deducted directly attribute, so the rule proving this attribute will not run).

    See you soon

    Anthony

  • Change the new code for doctype page

    Hello

    is it possible to change the code created for a new page by choosing the doctype?

    for example if I choose New > HTML > HTML5 I get:

    <! DOCTYPE HTML >

    < html >

    < head >

    < meta charset = "UTF-8" >

    < title > Untitled Document < /title >

    < / head >

    < body >

    < / body >

    < / html >

    Is there somewhere I have change the default code that is created?

    Thank you

    Nick

    Yes, in fact, all have a better way to do it!

    Macintosh HD: Applications: Adobe Dreamweaver CS5.5: Configuration: DocumentTypes: internal.html

    This file and all the files in the folder of new Documents can be customized as you wish.  Used cautiously would make backups first...

  • How to change the direction of TLFTextField when running?

    I create a TLFTextField object when the design and need to change its direction during execution, how this could be possible?

    the following code does not work and all simply ignored:

    var myText:TLFTextField = MyText;
    myText.textFlow.direction = 'rtl ';

    What should I do?

    It works for me:

    Import fl.text.TLFTextField;
    Import flashx.textLayout.formats.TextLayoutFormat;
    Import flashx.textLayout.elements.TextFlow;

    var tf:TLFTextField = new TLFTextField();

    addChild (tf);
    TF.x = 10;
    TF.y = 10;
    TF. Width = 200;
    TF. Height = 100;
    TF. Border = true;

    var myFormat:TextLayoutFormat = new TextLayoutFormat();
    myFormat.color = 0 x 336633;
    myFormat.fontSize = 24;

    var myTextFlow:TextFlow = tf.textFlow;
    myTextFlow.hostFormat = myFormat;
    myTextFlow.flowComposer.updateAllControllers ();

    TF.direction = 'rtl ';
    TF. Text = 'This is my text';

  • change of direction of the scrolling menu vertical

    Plase, if someone could help me,
    I did a vertical menu flash and I would like to change the direction of its movement. When I drag my mouse to the bottom of the Center, I would like links (in my case photos to move up, not down). You can see what I'm talking to
    alarmi 555. You can download one of the menus to check the code if you need HERE.

    The code which is at the origin of scrolling you can find below.
    Thank you all and wish you HAPPY NEW YEAR.

    change this
    FLF += (distance * speed);
    for this
    FLF-= (distance * speed);

  • I am not able to change the video quality for you tube. There are only two options 360 and Auto. Please help me.

    Hi I am experiencing strange problem for 15 to 20 days and I am not able to change the video quality for you tube. There are only two options 360 and Auto. Help me please if you can because I have a slow internet connection and I want to play video at 240, as it was before. Thanks in advance for your help.

    Could check you whether YouTube is to serve its HTML5 player or the player based on Flash? If you right click on the drive, short a context menu should appear. If the full Firefox context menu is displayed, press and release the ALT key to erase that. The last line of the menu short usually indicates which player he is.

    I'll assume HTML5 because...

    On Windows 7, Firefox should show a wide range of formats in the HTML5 player. However, if some of the features of media are disabled, preventing video MP4 decoding, then YouTube offers only 360 p (with WebM coding).

    If you have intentionally disabled Media Foundation and/or DirectShow in topic: config, then perhaps you would prefer to use the YouTube Flash Player? There are a few Add-ons that can force YouTube to serve you a Flash drive. Either of them will do, you don't need both:

Maybe you are looking for

  • Pavilion g6-1108er: software and driver results for: HP Pavilion g6-1108er Notebook PC

    Software and driver results for: HP Pavilion g6-1108er Notebook PC http://support.hp.com/us-en/drivers/selfservice/HP-Pavilion-g6-1100-Notebook-PC-series/5082224/model... not download the driver on my laptop. We were able to find the drivers for your

  • Through HDMI equilizer

    Does anyone know of a type graphic equilizer passage which will connect via HDMI input / output? I have a STR-DH520 receiver and it has only options for bass and treble adjustments. Thanks in advance for any clarification. Bob

  • Problem with the INF file trying to replace the USB mouse

    I am trying to replace a USB mouse that works but sometimes gives me double clicks rather than alone. But all the attempts to have it translated into the same error viz: "The driver for this device is missing a necessary entry, maybe it's because the

  • ACS - impossible to import the file

    Hello! I am doing tests on GBA through the CLI. I would like to import files from a remote repository to test the command "import data". I've created a repository of the CLI and when I do a repository 'show', I can see the contents of the directory.

  • where can buy product key for windows 7 on microsoft website - all links lead to win 8

    have another computer with win7 and want to upgrade another vista to win7 - software of the camera does not work on win8 Can't find a page on the microsoft Web site to buy win7 THX, pat