How to control DIO with VC++

Dear master.
This is  south korea. Sorry I'm poor english.
I saw example file. but I can't found bit control (Just found byte control)
My project is  Z-stage control with step motor.
check sensor(limit)
then If true generate pulse CW (for Step motor P3.7)
        if false generate pulse CCW (for step motor P3.6)
now I can understand read data(8bit) and check one bit...
but I can't code write data(1 bit) for step motor
How can I do this...
Please help me...

hi
i'm no pro yet, but i think you can use the following method
CNiDAQmxDigitalSingleChannelWriter :: WriteSingleSampleSingleLine( bool autoStart, bool data)
to send a single boolean sample to a single line ( as the name of the method tells you
hope this helps
regard, markus
Message Edited by QuickNick on 07-04-2005 09:38 AM

Similar Messages

  • How to control HP8350B with HP83592A and HP8757A

    I want to control HP8350B with plug in HP83592A and HP8757A by NI GPIB,using Labview language and print out HP8757A screen chart to printer, but when I sent command to HP8757A according to HP8350B manual ,such as "PT19",the instrument has no response,could andbody has experience on it and tell me how to do?

    "[email protected]" wrote in
    news:506500000008000000296D0000-1031838699000@exch​ange.ni.com:
    > I want to control HP8350B with plug in HP83592A and HP8757A by NI
    > GPIB,using Labview language and print out HP8757A screen chart to
    > printer, but when I sent command to HP8757A according to HP8350B
    > manual ,such as "PT19",the instrument has no response,could andbody
    > has experience on it and tell me how to do?
    After you send "PT19" to the 8757, usually at address 16.
    Send the commands you want to go to the 8350 to address 17.
    To terminate the passthru mode, send any command to address of the 16.
    Ex:
    To Address 16: PT19;
    To Address 17: FA 8 GZ;FB 16 GZ;PL 0 DM;
    To Address 16: C1 IA;

  • Which is the best tool for PRC animation? and how to control it with javascript?

    Hi I created animations through Deep Exploration. But I want to know how to create PRC animation with tools and how to control it? I already tried with tetra4D but the javascript can control only u3d format. I have no idea to control prc animation. Please let me know.
    Thanks and Regards
    Chenet0005 @ Chenthil Kumar

    PRC files don't support embedded animations.
    You can still control the mesh directly with  3D JavaScript (e.g. by using rotateInPlace and a time event handler) but you can't import a timeline as you can with U3D.

  • How to control animation with touch

    Hello! I need some help with controlling animations with touch. I am building a fake app and need to 'unlock' an iphone (slide an arrow along a track and then have it fade into another page). I have been using http://forums.adobe.com/message/4865693 that thread. The prototype link listed there is similar to waht I need to recreate, but I think I need an 'on touch' actino instead of a mousemove one.
    http://assets.ordienetworks.com.s3.amazonaws.com/the_occasional/checkerPro/checkerPro.html
    That is a link to the Edge file I have been working on, using the info in the thread above. It is broken at the moment, and I am terrible with javascript and have no idea how to move forward. I have figured that I'll need an 'on touch' action instead of the mouseover one, but I'm not sure how to build it.
    If there is a working example of this on a different thread that I've missed I'd love a link as well!!
    Thank you!!

    Hi, akall-
    There are a number of touch events that you can use to accomplish what you want.  You can try using the touchmove event instead of the mousemove event, and stick your code in there.
    Hope that helps,
    -Elaine

  • How to control scrubbing with the keyboard?

    The headline is already the question: I would like to use the keyboad to fast forwad in songs. In the 'itunes a-z' there is only an info how to do this with the mouse. Arrow Keys do not seem to work for this, they only switch to the next or previos song, or album. Ah, I am using utine s10.5.2.11 with WIndows 7.
    Any idea?
    Thanks, Alex

    Here are a few more to try:
    setxkbmap
    xkbset is the one I currently use, you can find at https://aur.archlinux.org/packages/xkbset/
    keynav might also be worth a look. I haven't tried it though. It can be found in the AUR also.

  • How to control display with X-Y Axis interval

    Is there a graceful way to control the display of X, Y Axis in SVG chart with line mode?
    When more records retrieved, it is hard to read from the X axis.
    How does Axes settings work?
    Thanks,
    Daniel

    Is there a graceful way to control the display of X, Y Axis in SVG chart with line mode?
    When more records retrieved, it is hard to read from the X axis.
    How does Axes settings work?
    Thanks,
    Daniel

  • How to control timleline with mouse x coordinates

    Hi,
    Does anyone know a good tutorial on how to create a movie with a sequence of pictures and controlling the timeline frames with mouse x-coordinates?
    Regards,
    MH

    basiclly,these swfs didn't work in mailtimeline movies.some of them were created by  flash3D .
    the point is some functions what created mouseX & DisplayMovies mapping like this
    function mouseMoveH(e){
              displayrender()
    function mapping(){
         return  fun(mouseX)
    function displayrender(){
        showFrame(mapping)

  • How to control Mac with a iPhone without WiFi

    i use this app with full screen shared control
    Mocha VNC Lite
    it just doesn't work whenever I leave the nearby WIFI network.

    Your observation is correct, MochaVNC is for local network only
    See Teamviewer for remote control across the internet
    http://www.teamviewer.com/en/index.aspx

  • How to control brightness with slider

    i would like to know how can i make a slider on xcode control the brightness. where should i put the coding ? view controller.m or .h ?

    The N95 should unlock the keypad automatically when you open the slider (or the lens protector for that matter). The sensor would appear to be working since the keypad is locked when you close the slider, so it's probably a software issue. I'd start by uninstalling ShutUp beta, which is installed according to your signature.
    Was this post helpful? If so, please click on the white "Kudos!" star below. Thank you!

  • How to control time with great precision

    Hello everybody.I know Timer could control time.But it uses thread.sleep(),isn't it.That means it is not guaranteed.So,does anybody know some approach to control time precisely?
    thanks in advance!

    Hello everybody.I know Timer could control time.But it
    uses thread.sleep(),isn't it.That means it is not
    guaranteed.What do you mean by "not guaranteed". How can you expect a non-realtime multitasking OS that uses virtual memory (i suppose you are using a system like windows or linux) to guarantee anything? Some systems are better in this regard, but in addition to this you aslo have the garbage collection. Of course there might be ways to implement soemthing more precise in Java , but without a special VM on a special OS there is no guarantee that it will really work imho.

  • How to control garageband with Oxygen61

    Just bought an Oxygen61.  Can't seem to use any of the buttons or sliders to control garageband.  Is it possible?

    GarageBand's loops and instruments are shared with Logic Pro X, iMovie, Final Cut Pro X, SoundTrack Pro X, and MainStage 3.  Are you using any of these apps and do they need the loops?
    If not, back up your Mac.
    Then delete GarageBand from the Applications folder
    Delete the loops from /Library/Audio/Apple Loops  and ~/Library/Audio/Apple Loops
    Delete all files from /Library/Application Support/GarageBand/  and ~/Library/Application Support/GarageBand/

  • How to control volume with apple tv remote to mac

    My Apple TV remote is controling the volume to my Macbook pro and I don't want it to. help?

    On Mac go into system preferences - security - general. Click on the padlock (bottom right) in order to select the advanced button. Check disable remote control infrared receiver

  • How to control scheme with JSF commandLink/Button tags?

    Ok, so I've a problem using JSF on Sun AS 9.0.1 when deployed behind an SSL accelerator in production.
    Because secure requests get to the app server unencrypted, I am unable to use regular declarative security user-data-constraint/transport-guarantee/CONFIDENTIAL in web.xml, or it gets in an infinite loop redirecting to https.
    Tomcat 5 provides a way to customize the default behavior (see http://www.unc.edu/~adamc/docs/tomcat/tc-accel.html), but I'm not going to be able to use this until Sun AS 9.1 comes out... :(
    So in the meantime, I'd just like to control the schemes on my links and action post, but JSF doesn't seem to support it! <commandLink/Button>s don't seem to allow you to change scheme. If you put a full URL in the action, it fails to lookup the full URL w/ scheme in the faces-config.xml...
    Is this a Glassfish bug or a JSF oversight?
    I'd appreciate any workaround idea the community would be willing to share. :)
    Thank you,

    Hey guyz plzzz help
    In my navigation rule , generally i call any other jsp, instead of it can i call controller servlet ? And now every action corresponding to any button will call this servlet.
    can i call servlet ?

  • HOW TO CONTROL ON CREATION OF SALES ORDER WITH REFERENCE TO EARLIER SO?

    Dear All,
    I want to contol on creation of Sales order with reference to earlier SO?  While creation of sales order our enduser are creating sales order with reference to earlier month SO which I want to restrict. Recently I made changes in sales order like payment terms is grayed, system will atomatically pick pay terms from customer master.Now I am getting correct data also but enduser is using old SO no while creating new SO and old payment data is reflecting in fbl5n.
    I want to restrict enduser while creating new SO with ref. to old SO. Only for returns they should be able to use Billing refrence. Pl. suggest how to control the with reference to ealier SO.
    Nikhil

    Nikhil Deshpande,
          If you dont want allow create a sales order in referent to other one, just delete the copy control between these sales order type, so when the user tries to create a SO in reference to other one a message is displayed that is not possible.
    Thanks,
    Mariano.

  • How to control my MacBook Pro with my iPhone ?

    I do wanna know how to control my Macbook pro just with my iPhone, please

    If you mean copy files from one to the other you can connect the two via firewire cable and boot one into Target Disk Mode.

Maybe you are looking for

  • Aperture 3 Library not opening (permissions)

    I purchased Aperture 3. the hard drive that library was on crashed, so i'm using the back up hard drive that contains the back up Aperture library. but aperture says "Aperture cannot access this library" to use this library, make sure its file permis

  • Frest out of the box iphone 4 vibration is broken

    does anybody have a diagnostic?

  • Subscription due today - was charged FIVE times fo...

    I'm subscribed to the Unlimited World 3 Months subscription via Paypal to my Skype account. However today, I got messages from Paypal saying that I made a payment to Skype. That's fair enough... Until I looked at my Paypal account. Skype have charged

  • Ovi map for Macedonia

    Where i can download ovi map for Republic of  Macedonia i have Nokia5230 ??? 

  • Storing and Converting Movies

    Hi All. I have probably thirty office related movies/slideshows that have been scattered on my hard drive since converting to mac and I am now in the process of gathering them all up and putting them into one folder. I am also relatively new to Apert