using a line of meter / digital as a trigger to reset another line of meter

I am using an SMU-6366 device, and I use an encoder that has 3 exits; 2 outputs, A and B, which produce 720 pulses per revolution (both 90 degrees out of phase) and the third release, Z, is a marker that once each complete turn of the pulses.

I use 'A' as a counter in my code, but I would use the 'Z' marker to reset the 'A' counter at all times. It's possible?

I came across this picture on the site of NOR, which uses a button to reset the counter - I think I could use a similar code but just replace the button with my meter Z as trigger

https://decibel.NI.com/content/docs/doc-6576

For more information, this tree will be held to a maximum of 3000 rpm (50 Hz) - and I do not know if this broadband would be a problem when you reset the counter line A. The SMU chassis I think also has trigger capabilities but do not know how to configure it in MAX.

Any suggestions? Thank you very much

Notay

It is the standard for a quadrature encoder arrangement, even if it seems that you are only using the channel A, rather than both A and B.  Take a look at the section called 'Measure of Position' under the Applications of counter entry in your appliance manual.  Also, these two examples may be useful:

Measurement of angular Position with quadrature encoder

Connect a DAQ hardware quadrature encoders

They show how you can use the Z signal to reset the position contrary to a specific value.

Tags: NI Software

Similar Questions

  • You can use the value of a digital indicator in a digital control?

    Hello!

    I have to develop a code where I need to find the maximum value of a waveform and draw a line at 50% of the value. So I chose find the amplitude of say 10 cycles of waveforms and found the maximum value of the amplitude.

    But my real problem is, I have to use the maximum amplitude value I get from the table VI maximum and back into a program to calculate the value of 50%.

    So it is possible to use the value of a digital indicator and put it in a digital control? As in MATLAB or C, you give a name to the variable and use it later to do all the calculations. Is it possible to do something similar in LabVIEW?


  • Ordered the iPhone 7 using a line that I will not activate

    When I went to order my iPhone 7 on the Apple site, I was not able to transfer the update on my Verizon account to my line, so I used the line that took the upgrade. However, when I receive and configure the iPhone, I don't want to activate the phone on that line. Is there a way to change that line the iPhone turns on when I receive?

    When you retrieve the iPhone, contact your carrier and tell them what you want and ask them how to proceed.

  • I'm trying to resize the length of the address bar and the search bar. I could before using a 'line' between them to drag to resize. But now this is not s

    I'm trying to resize the length of the address bar and the search bar. I could before using a 'line' between them to drag to resize. But now it's not showing. Any ideas?

    What I have done this; I added a new toolbar, and moved to the research
    window and other things for her. Now I have a LOT OF ROOM

  • Everytime I turn on my Mac Java says he needs to install the message says "to use the line tool java command, you must install a JDK.  Click on "more information visit the java developer kit download site."  I followed all these steps and downloSoftware.

    The message says "to use the line tool java command, you must install a JDK.  Click on "more information visit the java developer kit download site."  I followed all these steps and downloaded the correct software update, but still getting the message.

    A

    If you have installed the plugin of Facebook video appeal and you no longer want to use it, you can remove it as follows.

    1 back up all data.

    2. open the library folder in your home folder by holding down the option key and selecting

    Go ▹ library

    in the Finder menu bar.

    3. place these items in the library folder to the Trash:

    LaunchAgents/com.facebook.videochat.name.plist

    Support/Facebook app

    Here the name represents the name of your Facebook.

    4 log off or restart the computer, and then empty the trash.

    B

    If you do not use this plugin, or any other software (for example, some Adobe products), which depends on Java, install the Java runtime distributed by Apple.

    C

    If you do not have the Facebook plugin and you don't want to install Java, please ask for further instructions.

  • Open the CD compartment by using command line on Windows7?

    Hello world

    Today, I try to open a cd tray in different methods.  I open more than 4 ways successfully. But I don't know how to open a drawer of CD using command-line in windows 7? Can anyone help to success on the fifth plea.

    Any help will be greatly appreciated.

    Hello world

    Today, I try to open a cd tray in different methods.  I open more than 4 ways successfully. But I don't know how to open a drawer of CD using command-line in windows 7? Can anyone help to success on the fifth plea.

    Any help will be greatly appreciated.

    Hello

    There is no command to operate the drawer in the Windows command prompt.

    You can add a small command-line utility called Nircmd.exe that will allow you to do this, and more to use many cool commands more.

    Go to the following site.

    NirCmd v2.75:

    http://www.NirSoft.NET/utils/NirCmd.html

    Download the utility. Unzip the file and copy the Nircmd.exe file in the C:\Windows\System32 folder.

    (If you use the 64-bit Windows version, also copy the file in the SysWOW64 folder so that it also works with the 32-bit command prompt)

    After that, open the command prompt and type the following command.

    Nircmd.exe cdrom open D:

    (Where D: is the CD-ROM drive)

    See the NirCmd.chm help file for all orders in option.

    Concerning

  • Cannot be joined lines when using the line Segment tool

    So unfortunately, I've updated to the latest version of Illustrator Cc (V19.2.1). And to my horror, I can no longer draw a line (with the line segment tool) then draw another line, coming from the previous those anchor point. When I try to shoot immediately. He's trying to turn the line rather than create a line joining... anyway to change that or am I stuck with it?

    (Also, I use windows currently..)

    http://Tinypic.com/player.php?v=iqc0mc & s = 9 #. Vr5gifJ95hE

    I don't know if you can say/see/see in the video, but here's the process that I'm following departure using the line-drawing the line-> > segment trying to draw a line from that anchor point (and that is the question, when I'm doing it automatically, it assumes I want to transform the line)-> changes to the tool selection and clicks on the line to deselect-> goes back and finishes object, repeating the process.

    Help me please... I'm desperate...

    It is these new life forms, a few disadvantages too with the rectangle tool, ellipse etc. tool.

    to go back to the old behavior

    Object > shape > expand the form, do a deed for him, or do what I did a hotkey (Windows 7).

    Edit > keyboard shortcuts > Menu commands > object > shape > expand the form , then in the first box to the right click in it, select and press a key on the keyboard, I choose F9, OK and name.

    It's an extra step, having to have a finger on the mouse and the other on the keyboard for each line. but I can't think otherwise.

  • Now shift isn't snapping line when you use the line Segment tool

    I could be wrong and it has always been like that, but when I take a shift to rotate a line created by using the line Segment tool turns is more degrees as I thought that it used to. I checked and it works always with the Rectangle tool, but not when I traced a line. Guides and snap to Point are both on.

    Is much more annoying when I'm dragging an end point and it will remain at an ideal level of 90 or 45 angle... but nevertheless it remains valid this angle when I paint, just do not change.

    Matt,

    You are not alone.

    See this thread with a link to the other thread:

    https://forums.Adobe.com/message/8274663#8274663

  • Read in the name of the file + path using command line arguments

    Hi guys,.
    I'm trying to use command line arguments to read two file names. The code below works as long as the files are on the class path.
    public class cmdLineArguments {
         
         public static void main(String[] args) {
              String xmlFile1 = args[0];
                    String xmlFile2 = args[1];
                   
              System.out.println ("\nXmlFile1: " + args[0] + "\nXmlFile2: " + args[1]);
         }
    }
    I would like to be able to read files that are not on the classpath as well by entering the full path as well as their names.
    In other words, it works if I type:
    C:\Documents and Settings\user\workspace\CmdLineArgs\src>java cmdLineArgs file1.xml file2.xml
    but not if I type:
    C:\Documents and Settings\user\workspace\CmdLineArgs\src>java cmdLineArgs c:\Documents and Settings\user\desktop\file1.xml c:\Documents and Settings\user\desktop\file2.xml
    What would someone please explain how I can modify the code to make it work? I guess I could take both a string, change them manually (add a------it etc.), but y at - it an easier way to do it? Even a reference to a tutorial, article etc. on this matter would be much appreciated.

    In addition, no idea why compile, execute code fine in Eclipse but would create an error in command line?

    Thank you very much.

    You must learn more about cmd.exe that is used to process the command line. The arguments passed to any program is the command line separated at whitespace so your command line arguments of

    c:\Documents and Settings\user\desktop\file1.xml c:\Documents and Settings\user\desktop\file2.xml
    

    turns into a table of

    "c:\Documents", "and", "Settings\user\desktop\file1.xml", "c:\Documents", "and", "Settings\user\desktop\file2.xml"
    

    In other words, instead of 2 arguments you actually have 6.

    To bypass this file names must be enclosed in quotes

    java cmdLineArgs "c:\Documents and Settings\user\desktop\file1.xml" "c:\Documents and Settings\user\desktop\file2.xml"
    
  • Stop the virtual machine of comments using command line on esx 3.5

    does anyone know to stop the virtual computer prompt using command-line on ESX 3.5

    Take a look at this thread for instructions in detail: http://communities.vmware.com//message/1219151#1219151

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

    William Lam

    VMware vExpert 2009

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

    http://Twitter.com/lamw

  • How to upgrade the value of line in a report by using the line selector (check box)

    Hello

    I have a requirement where I need to make PLSQL update process on a specific line in my report.
    Based on the line selector (marked) the plsql process update on the values of the selected line.

    I have to update status of the employee selected as 3.
    But regardless of the choice of line selector, juice processing SRM application in a sequence that is., this is row selected, application takes the first line and updates the status.

    My update process from looks like this:

    BEGIN

    BECAUSE me in 1... apex_application.g_f01. COUNTY - checkbox
    LOOP
    If apex_application.g_f01 (i) only IS NOT NULL then - box marked
    insert into values TEMP_T (apex_application.g_f03 (i), V ('APP_USER')); -f03:Deptno
    update status set Table_x = 3 where deptno in (select deptno from TEMP_T where rtrim (lower (apex_user)) = rtrim (lower (V ('APP_USER')));
    delete from TEMP_T where rtrim (lower (apex_user)) = rtrim (lower (V ('APP_USER')));
    end if;
    END LOOP;
    END;

    Once the user selects the line selector, application needs to update the status of this particular emp 3 in Table_X.
    Currently, if I select a line, using the line selection box, my update process changes the status of the first record line. If I select three rows, then my first three rows updated.
    So I have to update the particular line or selected using the selector (checkbox) row lines

    If you could help me solve this question would be really appreciated.

    Thank you
    Vijay

    This example shows how to use checkboxes in tabular form:

    http://HTMLDB.Oracle.com/pls/OTN/f?p=31517:95

    Denes Kubicek
    ------------------------------------------------------------------------------
    http://deneskubicek.blogspot.com/
    http://www.Opal-consulting.de/training
    http://Apex.Oracle.com/pls/OTN/f?p=31517:1
    ------------------------------------------------------------------------------

  • When I open a web page any using firefox, its ok for a few minutes, then he opens another page saying it is redirected for no reason at all

    When I open a web page any using firefox, its ok for a few minutes, then he opens another page saying it is redirected for no reason at all, the homepage remains open, but the other page start for no reason at all in another tab

    It's very consistent, he arrives a few minutes? In this case, I suggest this test:

    To find out if one of your extensions is the culprit, could you test mode without failure of Firefox? It is a standard diagnostic tool to disable some advanced features of Firefox and extensions. More info: questions to troubleshoot Firefox in Safe Mode.

    You can restart Firefox in Mode safe mode using either:

    • button "3-bar" menu > "?" button > restart with disabled modules
    • Help menu > restart with disabled modules

    Not all add-ons are disabled: Flash and other plugins still works

    After stops in Firefox, a small dialog box should appear. Click on 'Start mode safe' (not reset).

    Any difference?

  • I used a time capsule in my house.  Now, I have another network put in place and would like to set my time for back ups and NOT as a WiFi capsule

    I used a time capsule in my house.  Now, I have another network put in place and would like to set my time for back ups and NOT as a WiFi capsule

    If it is possible to turn off the WiFi on the Time Capsule, which only leaves you with the option to back up your Mac (s) using a wired Ethernet cable connection between the Mac (s) and the Time Capsule.

    Are you OK with that?

  • I have an acer laptop about a year ago, I put a username and password, but now that I want to use again, I forgot the password. How can I reset it so that I can get into my laptop?

    I have an acer laptop about a year ago, I put a username and password, but now that I want to use again, I forgot the password. How can I reset it so that I can get into my laptop?

    Happy that he sorted out for you. Thank you for taking the time to let me know. MS - MVP - Elephant Boy computers - don't panic!

  • "serial number is already used by the maximum number of computers. You must disable another computer within 30 days using this product.

    I enter "serial number is already used by the maximum number of computers. You must disable another computer within 30 days using this product"message. I can not turn off lightroom on my old laptop since it was stolen. I use lightroom for my portable currtent. How can I solve this problem?

    Contact the customer service

    Contact the customer service

Maybe you are looking for

  • Skype with webcam Logitec C615

    I just made a call for the first time using Skype with a webcam Logited C615. I was able to activate the audio output with the contact using Skype audio/video preference settings. I can't activate my outgoing video because the camera selection button

  • deleted photo albums are reproduced after every ios update

    After every ios update and a reboot there is old on my iphone and ipad photo albums that I deleted a long time ago (I created these albums if you use iphoto, but I deleted them on my mac after I went to photos). To my knowledge, there is therefore no

  • Opera for 10.8.5

    Hello Some Web sites don't support more Safari 6.2.8. Firefox, Opera and Chrome have been proposed by the sites for security reasons. I'm not a fan of Firefox. Opera works well with 10.8.5? I have downloaded but hesitate to install without the input

  • Cannot install PSC1610 with Vista Business

    He used to work fine with Win XP Pro SP2. Trying to install AIO_CDB_Full_Non - Network_enu.exe with Vista Business, I get the message: Care HP Installer option stopped working. The details are: the APPCRASH problem event name hpzrcv01.exe application

  • Draw a myDAQ signal power spectral density.

    Hello I need to draw the power of a signal acquired using myDAQ spectrum. I have already acquire and track the input signal. The example given in Labview for the power spectrum using a predefined sine wave and replacement of the sine of the input sig