How do I read the current digital output?

Im using LV 7.1 to control a stepper motor (direction only) using user defined set points that are measured by a linear encoder.
Basically I want to make it bounce between two set points by switching the motor direction. I can do the outer bounds fine, but to tell LV which direction it should go in between I want to just have it look at the digital output that I am sending to the motor and just continue to send that same signal. I know that it is on port 7 line 0 of my card, I just haven't figured out yet how to grab that information. Any ideas?
Thanks.

What boards are you using for this?

Similar Messages

  • SapScript, How do I read the current line number?

    I have sections of text - each in it's own element with an 'include' of the standard text.
    These sections are variable in size.
    All elements are in the MAIN window.
    I do not want a paragraph to split over two pages.
    How do I read the current line number within the sapscript before the section prints so I can issue a new-page command at the beginning of the paragraph?
    Thanks!

    Yes, that does work for paragraphs.
    If I have multiple elements to print from within a loop where "at first, at each and at last" each call the Sapscript funtcion write_form - how can I keep the whole section together.  protect/endprotect will keep each element together but not the group of elements.
    There must be a way to find the current line number.

  • How can we read the current URL in Forms9i

    Hi,
    It will be greatful, if anyone give me the solution to get the current URL in Oracle forms 9i
    Regards,
    Walter Nicholas T

    Walter,
    it depends on what you need it for. The Forms URL cannot be accessed directly from Forms without using a Java Bean in it, but consists of
    <protocoll><server><port>forms90/f90servlet?config=<application>
    If you want to call resources on the same server, then you could do a web.show_document() call to /<virtual path>/<file>, whic would then look for the resource on the server that downloaded Forms
    To get the information about the config parameter, create a user parameter in Forms, say "conf" and add teh following to teh formsweb.cfg file
    [myApp]
    otherparams=conf=%config%
    In Forms the config information is accessible via
    varStr := :parameter.conf;
    To get the whole URL string, I am afraid you need to write a Java Bean in Forms (not sure of webutil already implements this, maybe worth checking)
    Frank

  • How do you read the camera position in the 3d picture control?

    Hello,
    There is a method to setup the camera position, but how do you read the current camera position?  e.g. the user uses the mouse, ctrl, and shift, to change the camera position.  How do you read this new camera position?  There don't seem to be any properties to do this.
    I've read this thread:
    http://forums.ni.com/ni/board/message?board.id=170&message.id=214629&requireLogin=False
    but the question was never answered....
    From the comments in that thread, even if you had the proper documentation for the "Model Matrix" property, you couldn't get the information necessary to calculation the camera position.

    Lorielle,
    Thanks for the VI.
    Could you point me towards a more detailed description of the "Modelview Matrix" property?  I've attached a screenshot from the online help.  It is not very helpful.
    Attachments:
    Modelview Matrix.jpg ‏71 KB
    Modelview Matrix1.jpg ‏71 KB

  • How do I get the current adobe reader app for my iPad?

    how do I get the current adobe reader for iOS app?

    Hi,
    Apple App Store detects the iOS version on your iPad/iPhone and lets you to download the latest compatible version of Adobe Reader for iOS.
    What is the iOS version on your iPad?

  • HT1391 How can I read and print digital booklets that are downloaded togheter with the recordings I purchased

    How can I read and print digital booklets that are downloaded togheter with the albuns I bought?

    cu is right.
    classloader returns the URL of your resource. You can the jar using something like the following...
    ClassLoader classloader = this.getClassLoader();
    url = classloader.getResource("your_resouces...");
    if(url == null)
    System.out.println("cannot find resource ");
    return null;
    String jar = url.getFile();
    jar = jar.substring(jar.indexOf("/")+1, jar.lastIndexOf("!")).replace('/', '\\');
    obviously, this code snippet works on windows only. Now you have the jar file path. I use Jar file classes to access the jar file. (e.g. you can search for each class files)
    Ming

  • How to continously recorded the iput and output wave

    I used NI-FGEN and NI-Scope in Bender element test a.I want to know how to continously recorded the input and output wave. Thanks you so much

    I did a bit more looking and found out that I was wrong. My apologies. NI-HWS is currently shipping with the high-speed digital products and the waveform editors (analog and digital). It is not shipping with NI-FGEN or NI-SCOPE. sfpFile shipped with NI-SCOPE 2.1.2 through 2.5 and NI-FGEN 1.5. NI-HWS was not finished in time for the latest NI-SCOPE and NI-FGEN releases. For now, you will need to use sfpFile. Copy the examples to make your life much easier. Your application is simple enough that the basic functions should work for you. Don't worry about losing your data, since sfpFile and NI-HWS use the same format. In any case, it is all based on HDF5, and you can get HDF5 utilities (free for any use) from the NCSA website. A word of warning - HDF5 is VERY powerful, but also VERY difficult to use. sfpFile and NI-HWS are based on the 1.4.4 release of HDF5. The current 1.6.x release of HDF5 is file format compatible, but binary incompatible with the 1.4.x release. NCSA did not change the format of the files they are writing, but did change the code that writes to them.
    This account is no longer active. Contact ShadesOfGray for current posts and information.

  • I want to update iCloud account with new apple id but don't know password for old apple id.  Plus can no longer receive email at old apple id.  How can I delete the current iCloud account on my iPhone if the previously stated conditions exist?

    I want to update iCloud account with new apple id but don't know password for old apple id.  Plus can no longer receive email at old apple id.  How can I delete the current iCloud account on my iPhone if the previously stated conditions exist?

    If the old ID is yours, and if it is an earlier version of your current ID, go to https://appleid.apple.com, click Manage my Apple ID and sign in with your current iCloud ID.  Click edit next to the primary email account, change it back to your old email address and save the change.  Then edit the name of the account to change it back to your old email address.  You can now use your current password to turn off Find My iDevice, even though it prompts you for the password for your old account ID. Then save any photo stream photos that you wish to keep to your camera roll.  When finished go to Settings>iCloud, tap Delete Account and choose Delete from My iDevice when prompted (your iCloud data will still be in iCloud).  Next, go back to https://appleid.apple.com and change your primary email address and iCloud ID name back to the way it was.  Now you can go to Settings>iCloud and sign in with your current iCloud ID and password.

  • How do I close the current web page in Safari?

    UPgraded to IOS 8 because a friend said it cured his problems, so I took the plunge.
    BIg mistake.
    THis question concerns Safari.
    how do I close the current web page?

    I just found how to do this on my iPad!  At the top right are two squares overlapping.  Click on that and you will get your page hanging in space.  There is an X on the top (I think) left.  Click on that and TaDa!  Lost of hoops, but glad I found it.

  • Read the Current BP number before saving

    HI Experts,
    From the Identification tab iam creating the BP by entering all the mandatory fields and then i click on END button instead of "Save" so on this END button event i want to read the current BP which is not yet saved in the database.
    Iam writting the logic of END button in the IF_CRM_IC_PREPARE_FOR_CALLBACK~EXECUTE method of the Main View set(IUICMD/MainVS).
    data: zv_core    TYPE REF TO cl_crm_bol_core,
             zv_entity TYPE REF TO cl_crm_bol_entity_manager,
             zv_core = cl_crm_bol_core=>get_instance( ).
             CALL METHOD zv_core->get_entity_manager
               RECEIVING
                   rv_result = zv_entity.
    In Debug mode when i check the ZV_ENTITY in that there is one Private Attribute ENTITY_TAB of type Sorted Table where i can see 3 entries with OBJECT_NAME as "BuilHeader","BuilContactPerson", "BuilStandardAddress" when i check the Entity reference of ""BuilHeader" iam getting the current BP number. But how to read this entity iam not getting this.???
    I tried the below way..
    LOOP AT zv_entity->entity_tab ASSIGNING <itab>.
    ENDLOOP.
    But it says that "Access to private attribute "ENTITY_TAB" is not allowed."..
    Regards.

    Hi Hemant,
    As you are implementing your method in overview set , try to access the view controller where the BP ID is created by rereading the entity.
    DATA: lv_viewname TYPE string,
            lr_viewctrl TYPE REF TO cl_bsp_wd_view_controller.
      lv_viewname = me->get_viewarea_content( '<View Area of your view>' ).                            
      IF lv_viewname IS NOT INITIAL.
        lr_viewctrl = me->get_subcontroller_by_viewname( lv_viewname ).
        IF lr_viewctrl IS BOUND.
          TRY.
              CALL METHOD lr_viewctrl->('<method_name>')   .
               CATCH cx_sy_dyn_call_error.
              RETURN.
          ENDTRY.
        ENDIF.
      ENDIF.
    Regards,
    Nithish
    Edited by: nithish P on Feb 7, 2012 2:32 PM

  • How can I return the current Date in Java?

    I am new to Java, and basically I want to know how I can return the current date as a variable, so for example, I have declared the following date variable
    private java.util.Date currentDate;How can I return the current date, do I have to write a method? To be more specific, I need to write a setMethod, that simply returns the current Date in Java.
    Please point me in the right direction.
    Thanks,

    If all you want is a date for printing or displaying, the easiest way is to use Date as shown below. If you need something more complex, look at the Calendar API.
    import java.util.Date;
    class DateEx
         public static void main(String args[])
              Date now = new Date();
              System.out.println(now);          
    }

  • MiniDisplay to HDMI : How to turn off the Dual Monitor output when..

    miniDisplay to HDMI : How to turn off the Dual Monitor output when the adapter is attached and the TV is off ? And will keeping the adapter connected even if it is not in use, cause damage to the adapter ?

    I have my external monitor/tv setup of the left. If I leave the adapter attached with the TV off, I am still able to cross the border/boundry of my MBP screen ! As instead of detecting a TV, the MBP is detecting the adapter as a screen. I do not want to damage my thunderbolt/miniDisplay port by plugging and unpluggin the unit each and every time.

  • How can I make the current row in a different color  in  ADF Table 10.1.3

    Hi all
    in JDeveloper 10.1.3 ADF Table ,
    How can I make the current row in a different color ?
    thanks

    And what exactly would "the component" be?
    I tried the af:outputText, but it just creates a <span> around the value of the cell, and if I try the af:column it just won't use it at all!
    Any suggestions?

  • Question on the optical digital output.

    Can anyone with a new iMac give me some clue as to what the optical digital output looks like?
    As I understand it, its combined with a headphones port, this is where I am confused.
    Does it look like a standard Phono type input (Coaxial) or does it have a little red light shining out?
    I need to know before I order as I want to output to dac.
    Cheers

    The optical Jack is just like the normal mini-jack you use for the headphones.
    You have to look for a "mini-toslink" cable or adapter. Since most receiver have Toslink digital input, you should buy a toslink-toslink cable and a mini-toslink adapter.
    you put the mini-toslink in the headphone output port and the mac automatically switches to digital output.
    If you want to watch to a movie in DVD player, insert the DVD, press play, press stop, go to DVDplayer>preferences>sound output>digital output.
    I have to choose it every time I watch to a DVD...

  • How can I replace the current contacts list and put in my own

    How can I replace the current contacts list and put in my own?  My son's name and contact list appear, inadvertently loaded when he used the iPad.  I have an iPad mini, fully updated to iOS 7.0.4.

    He must have signed into his icloud account using your device.  You need to disconnect the device from that account and then sign in using your account ID.
    Go to Settings>icloud, scroll to bottom of screen and tap Delete Account.  Then log in using a different ID.

Maybe you are looking for