HV switching control relay

hi, im working with the DAQ NI USB6259. i want to use DAQ as a switching control for HV relay.my problem is i want to control 2 switch and HV relay. for the 1st 10000s period, switch 1 will ON and after 10000s period,switch 1 OFF and automatically switch 2 ON. can this DAQ model use as a switching control and can i get some example on how to control switch automatically for certain period or any idea to solve my problem.

Your question has nothing to do with NI Switches. It should have been posted to the multifunction DAQ or digital I/O board.
A port of the USB-6009 consists of  multiple lines and you can easily write to all lines if you are configured for port access. For example, if you write a binary 001 to the port, you output a 0 on lines 1 and 2 and a 1 on line 0. Writing a binary 100 will write a 1 to line 2 and a 0 to lines 0 and 1. Instead of port mode, you can use line mode and either use one task for all three lines or a separate task for each line.
You have not mentioned which language you are using. If LabVIEW, open the example finder. You will find some simple examples of line and port mode. The DAQ Assistant can also be used. This is a very simple task to code. If you continue to have problems, post the code you've writte. You should also review the information on the DAQmx Getting Started page.
Message Edited by Dennis Knutson on 06-24-2009 09:47 PM

Similar Messages

  • Set up time for ni 6501 to control relay

    Hi,all
    I have made great progresses with your help. Right now I know how to control the relay using NI 6501.
    Furthermore,  I try to set up a time period (after 2 hours) and then let NI 6501 switch on the relay.
    What kind of example can I refer to?
    Another control is when pressure data is low to 1mtorr, then switch on relay.
    If there are some similar examples I can refer to, it will be helpful for me programming
    Thanks
    Solved!
    Go to Solution.

    Here is an example of how to control your valves:
    This example is not ideal.  For example, the Write to Spreadsheet File is called each loop iteration just to write only one value.  This is a waste.  It would be better to collect all your data into an array (use a wire to loop edge with indexing on), and call the Write function once with an entire array of data.  I will leave it up to you to do this.  You could use the practice.  Another thing is that a lot of local variables are used.  Also not ideal.
    Also, a state machine architecture would serve this purpose much better.  First state would be similar to the first sequence frame.  Second state would be like the while loop.  And so on...  See if you can implement this code in a state machine.  One advantage would be to control each stage of the code in an orderly manner.  Another advantage would come if you ever had to change the order of execution, or insert code in between states.  Just add a new state and/or change the next state pointer.  Local variables can be replaced by shift registers in a state machine, leading to the code being easier to read.  See if you can do this.
    - tbob
    Inventor of the WORM Global

  • How do I switch a relay then one second later switch it back?

    I am currently doing an experiment where I need to send a digital output signal to a relay, the relay switches, then one second later switches back. I have connected the relay to the CB68-LP board and I can get it to manually switch when I click, but I need this to be an automatic response.
    I just need to click a switch so the relay changes and 1s later changes back again. Any ideas?

    So you already did most of the job !
    I suppose that you built some kind of a VI, where you can switch the relay upon switching a boolean control. Let's call it "Relay.vi".
    One very simple solution :
    Build a new VI, with a sequence structure with 4 frames :
    in the first frame, put a waiting loop, which will wait until a switch button is pressed;
    in the second frame, wire a True boolean constant to your Relay.vi
    in the third, place a wait node, and wire a 1000 ms constant to the input
    in the forth, place another instance of your Relay.vi, this time connected to a False constant.
    It's bot very elegant, but that's the simplest thing that you can achieve.
    May that could do to start with ?
    More help ?
    Chilly Charly    (aka CC)
             E-List Master - Kudos glutton - Press the yellow button on the left...        
    Attachments:
    relay.tif ‏11 KB

  • Comparing switch control and switch output and setting switch control accordingly

    Hello,
            i am developing a GUI for a system which contains relays to control the motors. For the same purpose i am using switch control on my GUI to control these relays.when these relay  are turned ON by the switch control on my GUI, they give back status to the GUI, which i am displaying as a switch status .
    Now the switch control and switch status on GUI must be same every time so that user can know the actual state of relay and control it.
    Now i have a condition when i have already turned ON switch from my GUI but due to some reason (may be communication fault or anything else) rellay is not turned ON and i get status of relay as OFF on my switch indicator. So the situation is" the switch control is in ON state and switch indicator displays OFF state".  which is practically wrong.
    I want that in this case the GUI should detect the status of the switch indicator and if the switch control is not the same , the switch control should be set as per the switch indicator so that user can use the switch again to turn the switch ON

    Hello Mike,
                        Thanks for the response!!
    As i have described the situation above, in any case if switch control fails to send message to relay due to some hardware fault , in that case relays will be off and the switch on GUI will be ON , and user will think that the relay is ON.Which is false condition.
    i tried to use property value(signl)   to give back the status of switch indicator to the switch control.
    You can have a look at attached files which i have made as demo.
    Now the problem is when i run my GUI for the first time all the switch on the front panel are off by default which creates a conflict to control the switches.
    Besides i am unaware of the timing events and how to implement it in my application . It would be great if you could provide some more details about it.
    Thanks & Regards,
    Shivkant Paswan
    Attachments:
    switch control trial.zip ‏16 KB

  • Software for Power Switch Control and One Key Recovery for Windows 8?

    Hi. I have recently upgraded to windows 8 with a clean install. I was wondering if there is software to get the power switch control software back so I can set it to auto, turbo or cool because without it I think using the switch is useless. I also would like to know if there is a way to get one key recovery back.

    I can't use the One Key Recovery of my Y2P anymore, as I decreased the size of the C partition in favour of increasing D:\Data
    OKR won't even start anymore...
    Any chance to get OKR working again if I make these partitions the same sizes?
    Who has the exact partition sizes in MB of the Y2P 20266 with Samsung PM851 256 GB SSD?
    0 1 MB  NO_NAME unallocated
    1 1000 MB  WINRE_DRV NTFS  
    2 260 MB  SYSTEM_DRV  FAT32 (EFI)
    3 1000 MB  LRS_ESP FAT32
    4 128 MB  NO_NAME Other
    5 ? GB  C:\Windows8 NTFS
    6 ? GB  D:\Data NTFS
    7 14135 MB  PBR_DRV NTFS Recovery
    8 327 kB  NO_NAME Unallocated
    Data is backupped daily and I already have a full system backup together with a bootable USB stick that has been tested.
    But I like to make sure I can reinstall Windows in the future..
    Freedom of Speech has just left the building

  • How to change the width of a switch control?

    If I set long on&off texts, they can't be fully displayed. How to change the width of this sap.m.switch control?
    P.S., "width" attribute doesn't work here.

    Hi Jocy,
    A switch is just a simple boolean control : true/false, yes/no, on/off. Other possibilities are not possible.
    If you to need to choose between, say, black/white, then a switch is *not* a good choice; nothing stops you from adding yellow/red/blue to the mix as well.
    If you *do* have a strict boolean choice (again, only rue/false, yes/no, on/off) then I would suggest adding a descriptive label with the simple, short switch control.
    Otherwise, I would strongly advice using a different type of control (RadioButtonGroup, DropdownBox)

  • How to switch multiple relays using PCI 6601 DAQ card

    What is the specification of the digital output value given from the PCI 6601 DAQ card?How to develop LAB VIEW code to switch a relay?Can anybody please explain?

    Hi hasi,
    did you read the manual and the specs of the PCI6601? It says: "5V TTL/CMOS compatible"...
    You shouldn't expect to much current from a simple DO pin - probably it's not enough to drive your relay!
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • How to connect switch controls to float PLC items ?

    The AB PLC float items are 32 bits, but the LV boolean variables are 8 bits!
    So how can I connect switch controls to these float items???
    Thanks in advance

    Check this
    http://forums.lavag.org/Industrial-EtherNet-EtherNet-IP-t9041.html
    Best regards
    Siva
    [email protected]

  • Lowlevel video output switch controls? Modulized, why?

    Hi
    Well, i use Arch on my laptop. And there is one thing, which makes me wanna jump on it. The Lowlevel video output switch controls kernel module. I need this activated in order to switch between the projector and my laptop, I have my finals soon so its important this works as it should.
    Would it be possible to enable this module in later pacman-versions of the kernel? At the time beeing, I would have to recompile everything my self. Which I have yet to become successful at, something is always wrong. But I`ll summarize what I would like to do:
    #Build a kernel with this option, choosing it from grub at boot-time. But still have the "pacman-version" in case i mess up somethings up.
    NOTE I use luksEncrypted root, does this option do anything to the kernel? Since the installer asks if you need to boot from an encrypted volume. Just asking...
    Anyway, can I just download the kernel source. Run make menuconfig, activate the Low level video output switch controls. Then -> make modules_install? And then copy the kernel-version over to boot, and use it? Or what else?
    Thank you so much for helping, took me ages discovering this feature was disabled on purpose.

    sveinemann wrote:Nice, any idea when it`ll be in core? I cant risk having an unstable kernel, this is my work laptop <3
    Not before next weekend. My best guess is next Wednesday or later.

  • Switch control option itself is disabled such that I can't able to switch it on or off in my iphone 6 ??

    Switch control option itself is disabled such that I can't able to switch it on or off in my iphone 6 plus ?

    Your only bet would be checking with your carrier to see if they have a trade-in program. They will usually evaluate the phone for any damage and therefore an iPhone with a chip in the back most likely won't get much of a trade-in value.

  • Turned off auto-scanning, turned on Switch control. Why don't I have control on my screen?

    I saw this video on Facebook about switch control about the head gestures etc. I thought I would give it a try. Turned off auto scanning (DOnt know what this is) as the video instructed, then turned on  switch control. I set one of the switches to increase volume so I threw on some music to test it out. (didn't work). So I locked my phone. When I turned it on, I could not do anything on my phone (swipe to unlock, pause music, volume up/down nothing!) I tried the bail out feature, and nothing.
    HELP??

    Apple will only see your comments if you send them here:
    Where to send product feedback to Apple:
    http://www.apple.com/feedback/

  • What is the use of switch control ?

    when i go to switch control and add a new switch as screen tap. then i enable the switch control. what is the use of that? every time i tap i get the app switcher(multi task) which is good but to go to a certain app i have to tap home button 3 times. i dont know if im wrong. but in switch control i can add gestures but cannot find a way to use it. (simply if i can add special gesture like a swipe with 3 fingures and if  i can get multitasker or siri or any other program it will be very use ful isn't it?)

    Read these:
    http://support.apple.com/kb/HT5886
    User guide:
    iOS 7 Switch Control - Technical Solutions Australia
    http://bdmtech.blogspot.com.au/2013/09/new-in-ios-7-detailed-look-at-switch.html

  • Has anyone used switch control and siri at the same time?

    Has anyone used accessibility switch control and siri at the same time?

    Using Xmarks and Sync simultaneously will create a mess.
    You can create a new profile, import the bookmarks from your main profile, and set up Sync for the new profile.
    The flip side is, bookmarks from your main profile would not get synced with your new profile.
    Alternatively, Xmarks is also available for Android.
    https://play.google.com/store/apps/details?id=com.xmarks.android&hl=en

  • HT6027 What the heck is switch control for and why would I use it?

    This doesn't begin to explain what this function is or why I would want to use it. What would it do for me exactly? "Switch Control helps you navigate your Mac using switches to enter text, interact with various items on the screen, play games, and ..."

    Switch Control is a feature that enables users with fine motor impairments to access their iPhone, iPod touch, or iPad through the use of one or more switches. Switch Control highlights items and item groups one by one on the device screen. To make a selection, the user activates a switch when the desired item or item group is highlighted.
    iOS: Using Switch Control - Support - Apple

  • Ipad locked switch control "device not found"

    I have an iPad that is locked. The message at the top says "switch control" and "device not found". Any idea how to access the ipad? It is not responding to the switch at all.

    That sounds like there was an assistive device associated to the ipad at one time and is currently not connected.
    Is there a small graybox with dark circle in it on the screen? If yes, Slect it, it will be the Assistive touch control.
    again, this is a guess on my part.

Maybe you are looking for

  • Hiding web service information

    I just thought I'd share this. I have a Lion Server up and running for things like iCal, Address Book, Profile Manager, etc. However, I'm not using the Web service proper because I already have web hosting elsewhere. Unfortunately, when you enable th

  • Anyone got 8.1.6 to work on Slackware 7?

    It seems to fail on the DB configuration assistant which locks up (after spawning off loads of threads looking at the process listing). A friend of mine who installed 8.1.6 on Redhat 6.2 had no probs. Anyone got any suggestions?

  • Office 365 & Microsoft Account directory merge

    The Azure account is managed and run by a Microsoft Account user. The same user has a Office 365 subscription so it has an work/organization account as well. Because the Microsoft sign-in pages are confused and messed up if a user needs to use differ

  • Custom Captions

    I have been using a few custom captions in Captivate 5. I have just had them restyled and saved them into the Gallery > Captions folder. I have browsed for the new captions but it keeps adding the old caption. How do I replace the captions with the n

  • HAL and Planning 9.3.3

    Hi there We are upgrading from Planning 9.3.1 to 9.3.3 and are using HAL. We load a few different structures now and then, and I would like to know if anyone have had problems using HAL and Planning 9.3.3. HAL will off course be phased out after we u