How do I turn a solenoid on and off?

Hello.
The hardware is as follows:
Labview 2009
PCI-MIO-16E-1
SCB-68 shielded I/O connector block
My job is to create a program that can work as a base from which we can create more complicated programs.  I am new to Labview.  I have watched some youtube tutorial videos and have a basic understanding of the program operation.  I built a program that reads voltage values as you rotate a potentiometer, very complex I know, as a training exercise.  From that, I see how to acquire data from an input.  The next step is to write a program that turns on and turns off a solenoid via a button.  Once I have that down, I can figure out more complex methods of turning it on and off using timing, pressure, etc.
I tried looking at some of the code from other projects, but it isn't clear what is going on.  I keep searching for an example online, but I the examples are all beyond my level of understanding.  Any help would be appreciated.  Even if you just point me to a site that has step by step examples. 
Thanks.

goto Help>>Find Examples...>>Hardware Input and Output>>Daqmx>>Digital Output>>Digital-SW-Timed Output.vi
there you will find an array of buttons that output a digital TTL signal to port0, lines0-7 of your Daq 
next question: does your solenoid take a TTL signal as an input? If not, you will need a driver like a ULN2003
you can use your AI to measure your pressure then use LV to algorithmically manipulate your DO's
Thanks for the response.
There is no Digital Output in Daqmx.  The sub folders are: Alog Gen, Alog Meas., Control, Counter Meas., Dig Generation, Dig Handshaking, Digital Meas., Events, Generating Dig Pulses.  I assume we're talking Digital Generation.  In that folder there are two that look like they might work: Write_Dig_Chan.vi and Write_Dig_Port.vi.  They are write digital output to channel and port, respectively. 
I should mention I have a VI that works and turns on the valve, but I don't know what it is doing.  I think I have a lot of reading ahead of me.  There is a lot of vocabulary that I'm unfamiliar with, despite my larger than average vernacular.
I'm going to start reading and come back here once I have a good foundation of what everything does.
Thanks again for your help.

Similar Messages

  • TS1398 Hi. My wifi keeps disconnecting. I kkep turning the wifi on and off in settings but will disconnect again after a minute or so. I use an ipad2 and my ios is updated. How to troubleshoot? - kay peralta

    Hi. My wifi keeps disconnecting. I keep turning the wifi on and off in settings but will disconnect again after a minute or so. I use an ipad2 and my ios is updated. How to troubleshoot? - kay peralta

    Is this happening with one particular network or with all?  Make sure iOS is updated on the device.
    Try this:
    Reboot ipad by pressing and holding both the home and sleep/wake buttons at the same time until the apple logo appears on the screen, then let go. Then try to connect to network.
    Go to settings, Toggle airplane mode on/off. Make sure bluetooth is off. Turn on wif (airplane mode off). Try to connect.
    Reset Network Settings
    Go to settings/general/reset/reset network settings. Then try to connect to network.
    If its your home router, then reboot router by unplugging for 5-10min. (do this while you're resetting network settings).
    If problem persists, then check for firmware updates on your router.(you check router manufacturer support website for downloads and instructions).

  • My iMessage has been sketchy lately. One text it will say my iMessage was delivered the next it won't and I have to send it as a text message. I keep turning my phone on and off and turning iMessage on and off but nothing works. How do I fix this?

    My imessage has been sketchy lately. One text it will say my iMessage has been delivered the next I have to send it as a text message. I've tried turning my phone on and off and turning iMessage on and off repeatedly. How do i fix this problem?

    It takes two to tango, maybe it's your recipient that has weak Internet/Cellular connections.

  • My iPhone 5 suddenly stopped opening the Apple Mail app.  It had worked flawlessly for years, but just stopped.  It worked on my iPad, and of course on the computer.  What's going on, and how do I fix it?  I've turned the phone on and off several tim

    My iPhone 5 suddenly stopped opening the Apple Mail app.  It had worked flawlessly for years, but just stopped.  It worked on my iPad, and of course on the computer.  What's going on, and how do I fix it?  I've turned the phone on and off several times, soft reset several times.  There was no change in any settings when this happened, nor any new apps were added.  Thank you for any help you can give.

    Does it not work either way? Sending and receiving? Did you check the settings and make sure that nothing has changed? If you can receive email, but not send it, check the outgoing mail server setting. Make sure that your username and password are in there.
    Settings>Mail, Contacts, Calendars>Your email account>Account>Outgoing mail server - tap the server name next to SMTP and check in the primary server and make sure your username and password are entered and correct - even if it says that the password is optional.

  • I down loaded a rental movie and stopped part way through . i turned the computer on and off and when i went back on itunes it didnt show up on the rental playlist and movie playlist.how can i get the movie back?

    i down loaded a rental movie and stopped part way through . i turned the computer on and off and when i went back on itunes it didnt show up on the rental playlist and movie playlist.how can i get the movie back?

    Unless it has recently changed you can only watch rentals on the device or mac you rent them on.

  • My iphone is totally messed up. showing main screen magnified 100x and cannot reset.  How do you turn this piece of crap off even to re-boot it?

    my iphone is totally messed up. showing main screen magnified 100x and cannot reset.  How do you turn this piece of crap off even to re-boot it?

    You messed up the settings on your phone and you say IT is a piece of crap? The phone is doing exactly what you told it to do. If that isn't what you meant see: http://support.apple.com/kb/HT3577

  • Turning wireless card on and off

    I just got my new laptop and am putting Arch on it of course.  It has the Intel 3945 card which is pretty common so I thought I'd use the iwlwifi driver.  I followed the Wiki and even perused a couple other laptop wiki entries with the same card to see how they did it but none of them have worked correctly.  I think the reason is because the actual card isn't turned on.  When I boot into Windows the little wifi light comes on indicating the card is active and I can connect to a wireless network then but when I boot into Arch the light is off.  iwconfig wlan0 essid mynetwork and iwconfig wlan0 key ******** both run without error but I don't have an IP address.
    The only problem is there's no key combination to turn the card on and off.  It's a little button that you slide one way to turn on bluetooth and wireless and the other way to turn it off.  The bluetooth light is on in Linux but not the wireless.  It's driving me crazy because I can't seem to find anything in the manual about it and the card is set to be turned on by default in the BIOS.  What else can I do?

    OK, I think I figured it out.  I'm now using my wireless card to browse the Internet.  I think what was happening was my wired interface (eth0) was conflicting with my wireless interface.  Once I brought my wired connection down, I was able to connect with the wireless one.
    Maybe someone can simplify the process for me now.  I've disabled eth0 in rc.conf but in order to get the wireless up and running I have to bring up wlan0 with ifconfig, use iwconfig to configure the essid and key and then connect through wifi-radar (even though wifi-radar already contains the correct configuration).  That means I can't just connect with wifi-radar after boot.  I have to run those iwconfig and ifconfig commands first.  I considered putting wlan0 as an interface in rc.conf but the Wiki entry I read said not to do that for the 3945 card.  So is there any way to streamline this process?
    And I guess Linux just doesn't send any power to the little light even though it does for the bluetooth one.  That really doesn't boher me but it did throw me for a loop the first time around.

  • Automatically Turning the Aiport on and off

    Is their anyway to turn the airport on and off remotely or prevent it from accessing the internet? i.e. your not having to physically unplug it to prevent it from going online?
    I am curious if I can remotely (via my MBP) disable the connection to the internet at certain times?

    1. I'm not sure how "remote" you had in mind but yes - it is possible to configure your Base Station from anywhere on the internet as long as you (a)have enabled the option to configure the base station via its WAN port and (b) you know the base station's public IP address.
    2. You can limit client connections to the base station by enabling MAC address based access control, and either adding or removing the MAC address of wireless clients
    3. You can not limit cabled client connections. If a computer is cabled to the Base Station, that computer will have access to the internet as long as the Base Station is powered.

  • How do I turn the CSS Rule Window off?

    How do I turn the CSS Rule Window off?
    Please don't say "you really should learn the use of CSS".  I create my own CSS for many years just fine without the nuisance of a popup window.

    Yes, I would also like to know how to turn-off the CSS rule.
    I support a user who has been using DreamWeaver for years and was recently forced to upgrade to the new version. None of the hundreds of files in the site he maintains use CSS. While I recognize it is a "better" and "more efficient" way to do things --- IF you're a sofware engineer -- it is not even close to being worth the cost to revise the entire site and retrain this user.
    So, how can i turn off, not just the pop-up, but how I can tell DW to just go ahead and do it the old-fashioned, embedded in the HTML way of doing things?
    All the user wants to do is change the color of some keywords, css is overkill when that's all he's doing.
    We'd go back to the previous version except the office was forced onto Vista and the older version won't run.

  • When I try to open my iTunes on my iPhone 4S it shuts off right away. Ho do I fix this? I have already turned my phone on and off a bunch of times

    Every time I try to open my iTunes app on my iphone 4 s it opens but then shuts down right away. I have already turned my phone on and off and did the reset thing by pushing the home and sleep button together and I hooked up my phone to my computers to update and none of these have worked. What works? Does anyone know?  Thanks

    Hi
    I've got a similar problem.  iTunes v10.2 worked fine, but when I tried to update it to 10.5 I got a 'Bonjour' error.  I eventually solved that but I still couldn't upgrade to 10.5, so I deleted every single Apple, Quicktime, iTunes, etc file on my PC using Revo Unistaller (because the normal Windows Add/Delete programs wouldn't work) but now, when I install the latest iTunes version from scratch (on XP SP3), it says: "the installer encountered errors before it could be configured.... your system has not been modified" 
    Any ideas?
    Rick

  • HT201401 last night my iphone screen all of a sudden was solid blue and now it is black. I put it on the charger and this morning it is totally black.  However, I did hear the text message signal go off. When I turned the volume on and off a big white bel

    Last night my iphone screen all of a sudden was solid blue and now it is black. I tried turning it on and off.  Still nothing appeared on the screen.  I put it on the charger and this morning it is totally black.  However, when I hit the on and off button, I did hear the text message signal go off. When I turned the volume on and off a big white bell flashed.  In the last week, there were some other display problems such as the screen blowing up large. The only way to fix it was to turn off the phone and then turn it back on. 
    What does all of this mean? It seems like I've had these problems since the iphone 4 upgrade.

    just do reset, press home button and power butoon for a while untill you can see apple
    gud luck

  • Is there a quick way to turn Cellular Data on and off?

    I just sent this suggestion in to Apple:
    I have limited data on my Iphone 4s, well 2gb and I try to use my wifi as much as possible while home especially.  I don't know the technical term for it, but when you swipe up from the bottom of the phone and : wifi, airplane mode, bluetooth, do not disturb comes up to quickly turn those functions on and off wouldn't it make more sense to replace airplane mode with cellular data?  That way we can quickly access and turn cellular data on and off instead of going through the settings, cellular data on/off.  Just thought this would make our lives easier and hope you will consider it on your next update. 
    Does anyone know if I have the cellular data turned on, but the WIFI is being used first, if that still uses up my Cellular data?  I think I know enough that if the "verizon" is in the upper left corner that the wifi is being used through my router but then if my 3G is displayed than I'm going through my cellular data.  Sorry, I'm new to the Iphone scene so I'm still learning. 
    Ok, thanks in advance. 

    Actually, all the display of Verizon on the phone shows is that you are connected to their network, it does not show that you are on wi-fi, or cellular data. If the wi-fi fan is displayed, then you are on wi-fi. If the phone is displaying 3G then you are using cellular data. If you are connected to wi-fi, the phone defaults to wi-fi and will use that instead of cellular data. However, if the phone is not actively utilizing data and the phone goes into sleep mode, then wi-fi is disconnected. It will connect immediately after being awoken.
    Does this answer your questions?

  • Is there a way to turn the camera on and off remotely?

    Does anyone know of a way to turn the camera on and off remotely? I have a client that wants to mount a camera to the ceiling to photograph large rugs on the floor. We need a way to turn the camera on and off remotely and I am lookin for a solution.
    Thank you.
    Aric Attas
    [email protected]
    www.photonlab.com
    Solved!
    Go to Solution.

    I have at least one Canon remote that I've used with my 7D's. Unfortunately, I don't have it with me, because today's shoot doesn't require it. So I can't give you the model number. (Models come and go anyway.) It has a shutter button that you can press halfway to activate auto-focussing, just like the button on the camera. But you do have to make sure that the camera has an IR sensor. On a Canon DSLR, look for it where the fingers of your right hand would cover it up; I think that's intentional, so that a spurious IR beam won't fire the shutter while you're taking hand-held shots. Also, check that the camera and the remote are compatible, e.g. that they agree on the frequencies of light that are to be used.
    Bob
    Boston, Massachusetts USA

  • HT5569 4S phone to IOS 7.1.2 and lost my wi-fi.   The wi-fi is on, but can't find ANY networks.   I have been through all the steps, from turning the phone on and off, resetting the network settings, resetting the whole phone, redownloading 7.1.2 an

    I updated my 4S phone to IOS 7.1.2 and lost my wi-fi.   The wi-fi is on, but can't find ANY networks.   I have been through all the steps, from turning the phone on and off, resetting the network settings, resetting the whole phone, redownloading 7.1.2 and lastly going to the Apple store for help.   They tried all the exact same steps I did, took the phone apart and looked at and said it is in "pristine" condition.   They have no idea why it isn't working, but they could offer to sell me another phone.    This is extremely annoying!    They claim it has nothing to do with the update to 7.1.2, but that is when I lost the wi-fi, so it has to be related!

    My 4s i-phone which is 2 years old cannot find any wi-fi networks not even my home network... I had the same problem two months ago but i turned off the i-phone for 8 hours and then it was okay... Now it happened again.... I tried to restart the modem but whilst my laptop is connected regularly, my phone still cannot find any wi-fi networks... I restart the i-phone, i reset it, i chose reset network settings, reset all settings, i turned it off for a whole day in case it was overloaded, i turned on the airplane mode and turned it off again, i put it into the freezer for 10 minutes within a zipped bag but 3 days now and i still cannot be connected to my home wifi... I went to the technician today and he told me that it means that wi-fi is broken and that i need to change it with a charge of 70 euro but i have to give my phone for 10 working days so as to be fixed... I am so frustrated and i don't know if i want to give 70 euro for wifi since i don't know if it would make the same problems again... 

  • My phone constantly turns it self on and off, it won't let my messages load I carnt text or receive and texts or calls, I have updated the new iso7, can anyone help?

    My phone constantly turns it self on and off, it won't let my messages load I carnt text or receive and texts or calls, I have updated the new iso7, can anyone help?

    Hello Bricky2013,
    The following article has some useful tips that can help stabilize your iPhone.
    Will not turn on, will not turn on unless connected to power, or unexpected power off
    Verify that the Sleep/Wake button functions. If it does not function, inspect it for signs of damage. If the button is damaged or is not functioning when pressed, seek service.
    Check if a Liquid Contact Indicator (LCI) is activated or there are signs of corrosion. Learn about LCIsand corrosion.
    Connect the iPhone to the iPhone's USB power adapter and let it charge for at least ten minutes.
    After at least 30 minutes, if:
    The home screen appears: The iPhone should be working. Update to the latest version of iOS if necessary. Continue charging it until it is completely charged and you see this battery icon in the upper-right corner of the screen . Then unplug the phone from power. If it immediately turns off, seek service.
    The low-battery image appears, even after the phone has charged for at least 20 minutes: See "iPhone displays the low-battery image and is unresponsive" symptom in this article.
    Something other than the Home screen or Low Battery image appears, continue with this article for further troubleshooting steps.
    If the iPhone did not turn on, reset it while connected to the iPhone USB power adapter.
    If the display turns on, go to step 4.
    If the display remains black, go to next step.
    Connect the iPhone to a computer and open iTunes. If iTunes recognizes the iPhone and indicates that it is in recovery mode, attempt to restore the iPhone. If the iPhone doesn't appear in iTunes or if you have difficulties in restoring the iPhone, see this article for further assistance.
    If restoring the iPhone resolved the issue, go to step 4. If restoring the iPhone did not solve the issue, seek service.
    iPhone: Hardware troubleshooting
    http://support.apple.com/kb/TS2802
    Cheers,
    Allen

Maybe you are looking for

  • Newbie: GUI front end to update data in a table

    Hi: I have some tables in a oracle database to which I want to provide a web based GUI that end users can update, delete and add new records. Is there an application (preferably freeware) that can do this? Basically the user interface should show the

  • Returning vector and null pointer exception

    Hi, I'm writing a mailing program which so far is working fine, but I have now run into a problem which is completely throwing me. My mailer needs to be able to load multiple attachments - and also to be able to deal with an HTML text which contains

  • I May Finally Be Getting Some Answers

    After a day of going around in circles, I'm finally getting some answers on my whole "trust market" problem, and it looks like the error could be Verizon's. When I ordered my MiFi last month, I did so online, and for some reason, their computer assig

  • Communiocation channel: Value with name asmaBaseFileName not available

    Hi friends, After upgrade our Dev system to PI 7.1. Whne i try to start the communication channels  from Communication channel monitoring. I am getting error for all the channels as follows : Configuration error: Value with name asmaBaseFileName not

  • Error ORA-03113 while install Oracle9i r2 on redhat Advance serer

    Hello All: Can anyone inform me how to correct the error ORA-03113 when I install oracle 9i on RedHat Advance Server 2.1 This error has something to do with setting my CLASSPATH I think. Thank YOU Ezra Taylor