The USB-6229 relay control

I am trying to build a VI to control a single relay to open and close 5 valves in series pour.5 seconds. I have a USB-6229 Control Board to do so. I am new to labview and need help the code for the VI. Any suggestions would be helpful.

Try this...

Tags: NI Software

Similar Questions

  • Interrupted the enclosure or usb-6229 during recording and performance data is now not viewable

    Hello

    I've been recording in Labview SignalExpress 2.5 using the usb-6229 BNC recorder. I was recording on 16 channels with a sampling frequency of 1 kHz over a period of at least 7 hours, while you can imagine a lot of data has been collected. Unfortunately, the power of the recorder was interrupted during recording (but not the PC running Signal Express) and although all the tdms files are present, they will not playback. When I drag the log on in the display area of data, I get the following error message:

    ' The selected journal is ready for posting. You must wait until the log has finished recording to view it".

    If I right click on the journal before sliding above, I get a list of options that is "making visible journal." If I select this, nothing happens at all. If I then right click again, the 'Make visible log' option disappeared. Drag the log on after this step still does not work.

    I recorded other newspapers of more than 7 hours that read perfectly well.

    If the log files be constantly updated during recording, so that if there is a failure of Rubio, the data are not lost?

    The most important thing first, but that is something so that I can play these logs back or are they gone for good? The .tdms file size match those of other file formats that play OK and have the same duration 7hr for registration.

    Thanks in advance

    Mike


  • Synchronization of a PCI-5114 with a USB-6229

    Hello

    I'm doing several measures with a couple of scanners OR: the first is a PCI-5114 who reads a signal using the maximum sampling frequency of the 5114.  It works currently, and is triggered by a digital pulse at 1 Hz.

    Secondly, I have 5 other channels, and I want to measure the maximum voltage on each (analog inputs), at the time the PCI-5114 saves the data.  My thought was that I could have the USB-6229 reading data continuously, then 5114 triggers, once I read the files ~ 1000 previous of the 6229.  I'm not sure it will work, because I can't be sure that the data the 6229 collects will be the same time as the data that the 5114 collects.  Is there a smart way to ensure that is the case? (external clocks, exported triggers the 5114... I do not know what are the options)

    For full disclosure, I have 8 digital outputs through the same USB-6229.

    Furthermore, if there is a good way to measure the max of each of my 5 channels without having to download 1000's of data points, which would also work.

    Any help or advice is much appreciated!  Thank you!

    Karl

    Hi Karl,

    The reference of 6229 media triggering (manual link), if you could start it off the same signal of 1 Hz you use to trigger your scope.  You can specify the sampling frequency, number of samples and number of samples to relax pre - this should allow you to correlate your acquisition on the map of data acquisition to the time window even that your scope is acquiring data.  The clocks would still be independent, but I don't think it matters too much because you are triggering the same external signal every second.

    After that the DAQ trigger card you will need to re - start the task in software to re - arm (something like in This example), but the interval of 1 Hz should be more than enough to do this.

    Best regards

  • external hard drive and the USB does not

    When I connect my external hard drive or my USB which do not shown anymore.not or work

    Hello

    Check the configuration/settings (BIOS/CMOS) often F2 when you start - make sure that USB is enabled.

    If a PC and if necessary the embedded USB can be disabled and a USB card can be used only
    is not expensive. For a laptop, using a real computer shop (no leeks and glances at a Best Buy
    or other stores) or system manufacturer support.

    ------------------

    Follow these steps to remove corruption and missing/damaged file system repair or replacement.

    Run DiskCleanup - start - all programs - Accessories - System Tools - Disk Cleanup

    Start - type in the search box - find command top - RIGHT CLICK – RUN AS ADMIN

    sfc/scannow

    How to analyze the log file entries that the Microsoft Windows Resource Checker (SFC.exe) program
    generates in Windows Vista cbs.log
    http://support.Microsoft.com/kb/928228

    Then, run checkdisk - schedule it to run at next boot, then apply OK your way out, then restart.

    How to run the check disk at startup in Vista
    http://www.Vistax64.com/tutorials/67612-check-disk-Chkdsk.html

    -----------------------------------------------

    Then lets refresh the USB stack

    Control the click Control Panel - Device Manager - no matter where in the box of white/white - then the VIEW - see the
    Devices disabled - look around (with the exception of USB controllers) for your devices (can have
    zero or more than one) and top - right click UNINSTALL.

    Control Panel - right CLICK on EVERYTHING - Serial USB controllers - Device Manager and UNINSTALL
    all except the category itself - REBOOT - it refreshes the drive and battery USB

    This KB shows XP how to and the method of Vista is identical
    http://support.Microsoft.com/kb/310575

    This is a utility to help you, but do 1 above.

    USBDeview is a small utility that lists all USB devices currently connected to your computer, thus
    as all USB devices that you previously used. Run Options and check the 1st three choices to see to it there
    Is there.

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

    You must remove all instances of the devices and restart.

    ----------------------------------------------

    If necessary try these two:

    Tips for solving problems of USB devices - and a Mr Fixit
    http://windowshelp.Microsoft.com/Windows/en-us/help/c39bd203-f729-47a4-8351-83291e13c8a81033.mspx#EGB

    Hardware devices not detected or not working - Mr. Fixit
    http://support.Microsoft.com/GP/hardware_device_problems

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle="" -="" mark="" twain="" said="" it="">

  • My mouse no longer works 2 days ago... I restored my pc on the eve, it works... but that did not help my mouse. This mouse works on another pc... I am getting error usb? I removed & charged all under the usb tab__

    My mouse no longer works 2 days ago... I restored my pc on the eve, it works... but that did not help my mouse.   This mouse works on another pc... I am getting error usb?  I removed & charged all the usb tab

    Hello

    You may need assistance from a real store tech computer (no leeks and glances at a BestBuy or)
    other BigBox stores) or the manufacturer of your system Support.

    What is the error of USB?

    Follow these steps to remove corruption and missing/damaged file system repair or replacement.

    Start - type in the search box - find command top - RIGHT CLICK – RUN AS ADMIN

    sfc/scannow

    How to analyze the log file entries that the Microsoft Windows Resource Checker (SFC.exe)
    program generates in Windows Vista cbs.log
    http://support.Microsoft.com/kb/928228

    Then, run checkdisk - schedule it to run at next boot, then apply OK your way out, then restart.

    How to run the check disk at startup in Vista
    http://www.Vistax64.com/tutorials/67612-check-disk-Chkdsk.html

    -----------------------------------------------

    Please make these now even though you might have tried this before:

    Remove the mouse if indicated in the Manager of devices - devices of score - click right on - UNINSTALL.

    Then lets refresh the USB stack

    Control Panel right CLICK on EVERYTHING - Serial USB controllers - device configuration-manager and
    UNINSTALL all but the category itself - REBOOT - it refreshes the drive and battery USB

    This KB shows XP how to and the method of Vista is identical
    http://support.Microsoft.com/kb/310575

    ----------------------------------------------

    If necessary try these two:

    Tips for solving problems of USB devices - and a Mr Fixit
    http://windowshelp.Microsoft.com/Windows/en-us/help/c39bd203-f729-47a4-8351-83291e13c8a81033.mspx#EGB

    Hardware devices not detected or not working - Mr. Fixit
    http://support.Microsoft.com/GP/hardware_device_problems

    I hope this helps.
    Rob - bicycle - Mark Twain said it is good.

  • Unable to format the USB flash key.

    Hey there,

    I bought different brands of Flash Drives and some of them has been damaged and it usually more open.

    whenever I have do a format for these flash drives it says that windows cannot continue... and some of them said "there is no disk in drive 'H' Please insert a disk".

    I did a format disk management that also, it did not work, I checked for power to the usb hub option root "to allow windows to turn off this device...". ».

    I also tried to install a software for formatting, did not work.

    Restart windows in safe mode and try to format it, nothing.

    I just want to know a way to fix this because I have like 7 flash readers does not, I'm not intresting to get the data that has been stored in these flash drives.

    I don't know if this has been posted in the right section but please, any help will be great.

    thnx in advance.

    Hello

    Try to use the Flash Drives on other computers to see if they are working, or can be formatted. When a USB
    disk has failed and cannot be accepted, then it cannot be formatted.

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

    If it turns out that it is a problem with your computer:

    References to Vista also apply to Windows 7.

    Follow these steps to remove corruption and missing/damaged file system repair or replacement.

    Start - type in the search box - find command top - RIGHT CLICK – RUN AS ADMIN

    sfc/scannow

    How to fix the system files of Windows 7 with the System File Checker
    http://www.SevenForums.com/tutorials/1538-SFC-SCANNOW-Command-System-File-Checker.html

    Then run checkdisk (chkdsk).

    How to run check disk in Windows 7
    http://www.SevenForums.com/tutorials/433-disk-check.html

    -----------------------------------------------

    Then lets refresh the USB stack

    Control the click Control Panel - Device Manager - anywhere in the area of white/white - point of VIEW, then-
    Show hidden devices

    Look everywhere EXCEPT USB controllers for your device and if find you them (maybe
    plus_d' one of each) under disk drives, you can have several - right CLICK and UNINSTALL
    for all instances. (There may be none.)

    Control Panel right CLICK on EVERYTHING - Serial USB controllers - device configuration-manager and
    UNINSTALL all but the category itself - REBOOT - it refreshes the drive and battery USB

    This KB shows XP how to and methods of Vista and Windows 7 are the same
    http://support.Microsoft.com/kb/310575

    This is a utility to help you, but do 1 above.

    USBDeview is a small utility that lists all USB devices currently connected to your computer.
    as well as all USB devices that you previously used. Run Options and tick the three 1st choice
    to see if one is there.

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

    You must remove all instances of the devices and restart.

    ----------------------------------------------

    If necessary try these two:

    Tips for solving problems of USB devices - and a Mr Fixit
    http://windowshelp.Microsoft.com/Windows/en-us/help/c39bd203-f729-47a4-8351-83291e13c8a81033.mspx#EGB

    Hardware devices not detected or not working - Mr. Fixit
    http://support.Microsoft.com/GP/hardware_device_problems

    ----------------------------------------------

    This can be useful to determine if the wrong driver is loading.

    -Free - DriverView utility displays the list of all device drivers currently loaded on your system.
    For each driver in the list, additional useful information is displayed: load address of the driver,
    Description, version, product name, company that created the driver and more.
    http://www.NirSoft.NET/utils/DriverView.html

    I hope this helps.

    Rob Brown - MS MVP - Windows Desktop Experience: Bike - Mark Twain said it right.

  • With the help of several outings on NI USB-6229

    Hello

    I have a question about the use of several output (input) on NI USB-6229. I request of programming where I use a few digital, digital inputs, outputs some analog outputs and inputs. Initialization of all the ports that I have in a Subvi, which lies in a loop for I control settings on the other for loop by using notifications. Problem is that this outpust is really slow (or reading entries), I want to say in my main loop I setting button, but it takes at least 1 s to change my outings (even with reading entries)? So I am wonderig what I am doing wrong. Can plesae you tell me what is the best way how to control several different ports?

    OK, so my whole program structure is like this:

    In primary Vi, I have a loop that subvis in other control loops. One of the Subvi is Subvi whichchange parameters at initialization Subvi. The structure on the photo. Please help me because I really don't know where is the problem. I use two converters AD / DA more and some machines that I am targeted by using the RS232 but it NEITHER original is the slowest.

    PS. If I turn on only parameter Subvi loop everythinf is much faster.

    OK problem with loops slow fixed http://forums.ni.com/t5/LabVIEW/Slow-parallell-loops-with-DAQ/m-p/1698988#M601731.

  • When you use Roland FC300 footswitch to control the transport, all the USB keyboard midi notes do not reach the logic. No help available on this?

    When you use Roland FC300 footswitch to control transport LOGIC, all midi keyboard USB (UMA25s) notes do not reach the logic.

    They are visible using MIDI Monitor s/w so reach the OS X - but do not make SENSE.

    I tried the function of the environment of the logic and the double check OS X Midi Setup but no difference statistically.

    I would appreciate any help on how to proceed.

    Thank you

    Paddy

    I do not understand your post. Your use the FC300 to control logic - how is it connected?   Is it plugged into the keyboard via middle or did you connect to logic directly via a midi interface?  (sense are the keyboard and the FC300 connected independently.

    When you say midi notes reached illogical (those transmitted by the FC300 or those via the USB keyboard do you mean?).

    First thing to do is to circumvent the control surfaces to exclude...

    Then, the control screen the custom value and see if data midi reached logical... If his hitting the midi monitor 99.9% sure it is hitting logic.

  • Linux drivers for the acquisition of data USB-6229

    I would use a USB-6229 with Linux and support driver selection guide said that this model is not supported.  However, the 6218 and others are supported.  Is it possible to use 3. 5B pilot defined for a USB-6229 with reduced functionality?  Is it possible, with some basic Linux knowledge codification driver of change 3. 5 b drivers to work with a USB-6229?

    Kind regards

    Craig

    Hi Craig,.

    That is right.

    Best,

  • Temperature measurement and the CJC using thermocouples on a USB - 6229 BNC

    Hello

    I'm trying to get the measurements of temperature using type K thermocouples on the box nor usb-6229 BNC. SignalExpress software doesn't let me choose 'Built In' to the Source of the CJC. So, I must select 'Constant', which means that I then have to follow the evolution of the temperature during the day with a separate meter and adjust the value of CJC accordingly to maintain an accurate reading. Is there a way around that to avoid having to monitor the room temperature at the junction?

    Thanks in advance

    Mike

    Hi Mike,.

    It seems that you have managed to find a solution for you have this problem, which is great news.

    However, for future use, if you had bought the 6229 with massive ending (rather than the interface BNC) then you might have interfaced unit with a block of connection SCB-68 (see link)

    http://sine.NI.com/NIPs/CDs/view/p/lang/en/NID/1180

    The SCB-68 has a CYC source built-in, so you might have used in conjunction with 6229 (mass layoffs).

    A bit of in the way, but I thought you may be interested.

    Best wishes to you all

  • Relay control using cRIO LabVIEW and the NI 9472 c series module

    Hi all

    I try to get my program to run so far without success, and need help.

    I use the compact rio with the program on labVIEW and the NI 9472 digital output module. I enclose my VI.

    Basically, it's a test program to run an algorithm at a time. If I use a solid state format to get a time warp that dictates, time of execution of the algorithm. The operation by default, I put is for when the time channel produced a fake.

    Question 1: The problem I have is that even if the time string is true, as it does not run. It remains in State sending false so only of false signals to my relay (which is represented by the round LED - relay switch a solenoid on and outside).

    Question 2: If I can get 1 problem solved, the next step I have will be executing the same algorithm, but for more than a State of time. For example. "06:00" run algorithm. I want this algorithm to keep running as long as he sends signals REAL (which means the solenoid valve remains open until a WRONG signal). Then he will run again to say '08:00 ', execute the algorithm as long as he sends signals REAL and so on...

    In summary -.

    -I want to order a relay (which controls a solenoid)

    -L' use of components listed above

    -With the help of semiconductor in labVIEW (VI attached)

    -At different times, the execution of the algorithm UNTIL sends the WRONG signal and then return to the default state, which means that his waiting until the time channel product TRUE.

    Any help would be appreciated.

    Kind regards

    William

    something like that...

  • iTunes is not able to find the USB controller on PC desktop computer and laptop

    Hello

    Since the two versions of iTunes for Windows (10) diagnostic program tells me a green dot in front of "USB-connections", but didn't tell behind the "no-USB controllers found. That's why my iTunes is not able to connect to the iPhone 5. I have the same problem on my desktop and on my laptop. Windows detects all my USB Ports, well. If someone can solve it? Thank you.

    If your iOS device does not appear in iTunes, try the following:

    1. Open Control Panel > Device Manager
    2. Plug in your device
    3. Locate Bus USB Controllers > Apple Mobile Device USB Driver.
      It is also possible that the device may appear under imaging devices, portable devices or other devices or as a device USB of MTB.
    4. Right-click and select software update of the driver...
    5. Click Browse my computer for driver software
    6. Go to C:\Program Files\Common Apple Mobile Device Support\Drivers or
      C:\Program Files (x 86) \Common Files\Apple\Mobile Device Support\Drivers
    7. Click on let me pick from a list of drivers for devices on my computer
    8. Click on Apple Mobile Device USB Driver
    9. Click Next, then close and exit the Device Manager

    To step 3 above, open the Device Manager. Expand one of the articles that are listed.

    • USB Bus controllers
    • Imaging devices
    • Portable devices
    • Other devices

    Plug in the appliance. You should hear the telltale Windows sound device connection and a Division must acquire a new entry. This should be your device. It cannot be labelled properly at this point. If you do not hear a suspicious noise cable damaged.

    Or try If iTunes does not your iPad, iPhone or iPod - Apple Support Apple version of the above opinion.

    If not try a complete tear down and rebuild iTunes in accordance with the resolution of the problems with iTunes for Windows updates. 64-bit users might also try the build replacing iTunes for Windows (64-bit-for older video cards) which is sometimes a useful workaround.

    Or try to go back to the last version of iTunes that has worked for you. See the programs installation of iTunes to download links. If you roll back to 12.4.0.119 to 12.3.3.17 or 12.3.2.35, for example, then you will also need restore the database of the library in the manner described in the empty/corrupted after upgrade/crash iTunes library. The tip makes suggestions to reintroduce recent purchases, so at worst, you lose a few meters or a newly created playlist.

    TT2

  • Satellite C50 - A - 1 FT - how to boot to the USB

    Hello

    It is terminus really like have run out of ideas, asked to every techie who know including take it to an independent computer store.

    I use a toshiba satelite a - 1 d 5, with 8 preinstalled windows C55.

    I try to get Ubuntu boot from a Toshiba G3 USB [sixty-four gb capacity], theres nothing wrong with the stick or multiple distributions on this subject.

    then followed all the tips Ive found and of course as woud generally on the screen of the BIOS/UEFI made sure a USB first boot sequence, but when using MCS boot order it does not the USB, it is just more managed by Windows 8.

    I tried to disable in the BIOS "secure" boot or something like that, but it seems to be already off... and its strange because my laptop is new. just bought 2 days ago.

    Please any kind soul can take pity and offer reasons why this might be happening or even better, learn how to get linux on it? Thanks in advance

    Post edited by: yoctomx1

    Seems that you could solve this problem by disabling startup secure in the BIOS as well in the registry:
    HKeyLocalMachine\System\CurrentControlSet\Control\ SecureBoot\State
    (UEFISecureBootEnabled must be set to 0 to disable the SecureBoot in the system)

    But to be honest, it shouldn't affect USB startup when Windows 8 (or 8.1 Win) was completely powered OFF.

  • Satellite M30X powers off the power when you touch the USB port

    Hello everyone, just registered and it is the first problem:
    As there is no general hardware forum, I post my problem here.

    I got it twice, my laptop
    (Product: Satellite M30X, Version: PSA72E - 008010GR) just went completely off.

    Motherboard:

    NorthBridge: Intel i855GME
    SouthBridge: (ICH4-M) of 82801DBM LPC Interface Bridge
    Motherboard model: Toshiba EAL20

    USB:

    82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI controller #1-3
    Version: 1.0
    Interface: UHCI
    Frequency: 48 MHz

    82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB 2.0 EHCI controller
    Version: 2.0
    Interface: EHCI

    I have the latest Intel Chipset drivers installed and Windows XP Home SP3 with all updates.

    Once when I hit just the back USB ports with a USB plug, the other time when I unplugged my bluetooth key (climbing din't remove it).
    There was no blue screen or message of any kind, not even in the registry after you start the system again or this fatal system error box when you start after a system error.

    Just a total failure. But it works fine the rest of the time. I also tried to remake the script, but it didn't work.
    I have cleaned with a vacuum cleaner to remove dust and has taken a good look, but saw no difference to the side track.
    Maybe the clamps of the wand to shield a little more out to the contact pins on the rear.

    What bothers me a bit, it's some time ago, I had the laptop one computer my knees and I forgot that a memory stick has been connected to the rear. The stick was pushed up and was slightly damaged.
    Still works well. Now for me, that I broke the USB port Insider somehing.
    I could not determine also the loose parts or unfirm at all.

    Y at - it there, diagnostic software that measures the motto of the port or power problems?
    I have a multimeter, fetch short-circuits with it?

    I saw a package of drivers Intel for USB 2.0 over there, but I can't find it on their page, advice?

    Thank you very much for your help, I just wanted to update my RAM and now I am not so shure if my laptop will last the next week.

    Fabian

    Hello

    I put t know any diagnostic software that could analyze this question, I think that a technician of the ASP may be able to provide exactly this question results

    > What bothers me a little is that some time ago, I had the laptop and my knees and I forgot that a memory stick has been connected to the rear. The stick was pushed up and was slightly damaged.

    I think this might be the reason why the laptop stopped while you touch the USB port eventually ports were damaged by using the memory stick, this could cause the laptop off

    However, what we can do is to provide some suggestions and assumptions
    It you want to know why this is happening exactly, then you need to contact a technician laptop for a control.

  • 700 - 060ea Office: stop the usb ports go to sleep when the rest of the PC

    When I get my laptop connected via usb, the system constantly charge the phone when the pc is asleep. Have you tried to uncheck "allow the computer to turn off this device to save power" in the Control Panel/Device Manager/USB controllers/Properties tab, but the ports still off. I saw my present mobile on this hub have obtained the correct material. I would have preferred that the PC continues to sleep when it is inactive, but want the mobile to continue loading.

    Should I change something in the BIOS maybe? If so, how can I access BIOS for this model?

    Thank you in advance.

    Hello @tomsy,

    I read your post on how the USB ports on your computer constantly power when the rest of your system enters mode 'sleep', and you need to avoid this. I'd be happy to help you in this case!

    In order to maintain your USB ports power while your computer sleeps, your office should be equipped with a High Powered USB port. It also allows to load when your office is completely turned off.

    According to the Specifications of the product from your desktop, High Powered USB is not available on your system.

    I hope this helps!

    Best regards

Maybe you are looking for

  • MacBook pro battery cycles

    How can I check the status of the battery in my Macbook Pro 2012?

  • More partition

    Hello world I HAVE HP DV7 WITH 750 GB HARD DRIVE AND I WANT TO DO MORE PARTITION AND I ALSO HAVE A RECOVERY DISK. CAN I MAKE MULTIPLE DRIVES 750 GB HARD DRIVE BY REINSTALLING THE RECOVERY DISK WINDOW. AND IF IT IS POSSIBLE, HOW? PLEASE EXPLAIN WITH G

  • I lost the icon to zoom in

    I lost the icon zoom in and out of my notification area. How do I put back it?

  • BCC: field in Windows Mail

    You use Windows Mail on Microsoft Windows Vista SP2 v.6, how do I get the BCC: (blind carbon copy) field to show when I compose an e-mail message?

  • MSE will prevent this sneaky virus enter my computer?

    Hello http://News.BBC.co.UK/1/hi/technology/8624560.stm The foregoing indicates that the sneaky rootkit virus settle in a computer and pen passwortd, user name, credit card number, without the user's knowledge. Even for me who uses the computer for t