control solenoids with USB-6525

Hi, I'm new to Labview and try to use a USB-6525 control six independent valves.  They'll be turning on and off at different frequencies to control a cell infusion system.  I drew a diagram that allows me to program schedules that the CRDD is closed and open.  The routine is inside a while loop to repeat until a given time has elapsed.  I can duplicate this six times to allow each valve must operate independently.  But I would like to trigger all tasks at the same time.  How do I synchronize loops so they all start at the same time?  Simply put all the loops inside a conditional loop, or it will run the tasks in the order?

Thank you

your synchronizeyour can while loops with the help of tax filers, please see the attachment.

Barros (Certified Developer partner)

Tags: NI Software

Similar Questions

  • Turn it on and an Opto SWITCH with USB-6525

    The attached photo, a composition of a circuit consists of: Mitsubishi PLC FX series, USB-6525 and OPTO Switch (PNP OTBVP6). In the code, I put under tension of the OPTO then cutting the voltage; power on/off, using the USB-6525.

    My problem comes when that at some time in my code, the OPTOMETRISTS remain without electricity (immediately after programmatically, I just

    They shall ensure with outputs USB-6525 high level). I already checked the code, in my opinion its seems fine. I have in mind the 6525 isn't a fast DI / DO peripheral, that's why I use delays above 200ms.

    The last hope is to change the USB6525 for a brand new, it's what I'll do. But if anyone see a problem with the code or has another explanation why the OPTO not to receive or be (somehow) not powered, I'll really appreciate your help.

    I also enclose the .VI

    I really need help.

    Thanks to all in advance.

    I found what was going on. Connectios, common, everything was fine. In the code, between the States (I use a state machine structure) missed me a delay of 200ms. This because I change the outputs to reading entries, so between them missed me a delay, that's all. in any case, thanks for your help!

  • Need help with USB-6525 change detection


    6525 support change detection is added in DAQmx 8.9.

    You can download the latest DAQmx since http://joule.ni.com/nidu/cds/view/p/id/2034/lang/en

  • Control with USB-6212

    Hello everyone once again.

    With USB-6212, the current maximum disk said is 2mA. Let's say I connect two resistors 10kOhms and 1MOhms top. That means an average of principle?

    This means that data acquisition does not have any potential to the terminals generate 1MOhms resistance?

    Am a bit confused.

    Will be grateful for your response.

    see you soon,

    Hi Navneet,

    The only improvement to the SNR you could really make once inside LabVIEW is to apply a low pass filter to eliminate noise unwanted high-frequency. Digital filtering however within the software always induces some delay of constant phase between the response of entry and exit due to the transformation. The entry may be delayed, while the treatment occurs and then superimposed on a graph with the signal for the purposes of the analysis, but this is obviously not in real time. Is that what you mean by a change to the phase of the signal measured?

    I've attached an example vi for you that shows how to use two different digital filtering of vi. Who is likely to be of interest is the zero-phase vi, which, as you should see overlays in phase with the original signal from the filter.

    I would like to know if it was the kind of answer you were after that, I hope it helps.

  • Loss of communications with USB-6008

    I have a USB-6008 be used to control a couple of valves with its digital output channels. The digital output channels are a relay that energizes the solenoid valves (valves are 115VAC) switching. The USB device is connected to a USB port on laptop.

    The software/hardware was working fine, then some time while it was connected there was a power surge. There was a 2 a fuse on the 115 VAC line that blew.

    After this communication surge was no longer able to be implemented with the box USB-6008. Is it possible for a power surge affecting the USB device, even if his power comes from the power supply of 5V USB?

    Things I checked so far.

    Restart the computer with the USB unplugged and start back up - no connection

    Check the Device Manager for the USB device to be present - not visible in the Device Manager

    Check MAX for device - does not present as gift

    Check the wiring to the son of course drop - no defeated cables

    try on different laptops - connection

    Connect other USB devices to the laptop USB - another fine feature of devices USB slot

    Check the + 5V channel on the USB device and do not read a voltage

    Any indication seems to be that, somehow, the USB device has been damaged during this surge? Is there some kind of diagnosis offline, I do without seeing the unit online?

    Hello the plough,

    It looks like the surge caused a sort of feedback of the valve of your USB device. This USB device is not designed for industrial applications and can easily be damaged in the situation you described. For a USB device with a greater ability to withstand this type of power surge, you should watch the box USB-6525. A better solution would be a CompactDAQ or CompactRIO system with a NI 9401, which is designed to withstand 1 000 Vrms, verified by a 5 s dielectric withstand test.

  • USB-6525 NiDaqmx how to detect where the device interrupts the communication

    This could be considered a more generic question for NiDaqmx, but I write a custom control for internal use with the USB-6525 and possibly other devices of i/o using c#.  I use DigitalChangeDetectionEvent to warn me when an entry has changed and everything seems to work very well.  In an effort to be complete, I decided to unplug the USB cable and see the result and found that no error has been detected until I tried a writing output.  This is not acceptable because under normal conditions abstraction entry begins a process that will change output - given that admission never happens, the system is basically hung.

    I tried many things and have spent more time on what I want to admit so I would like to hear suggestions on how to address this problem.  Here are my attempts that I am not satisfied:

    (1) periodically switch (pulse) output that allows to detect the problem, but I may not be an available exit, so this isn't a good situation.

    (2) periodically trying to read the input byte with the same entry workflow, this does not work because I believe that the other player is still active with the DigitalChangeDetectionEvent.

    (3) attempted to take the message of Windows to change hardware, but seems too complex.

    (4) I read on the guard dog, but not sure that it is available on the box USB-6525.  So before I start with this I'd hear rather suggestions of others with more experience.

    Any suggestions please?

    THX, Ed

    Hi IntegroEd,

    Those are all very innovative way to potentially address the problem, and I'm sorry you haven't seen success with them.  Fortunately, the typical way to capture a break between a device of data acquisition and monitoring system is indeed a timer, and the 6525 has the innate ability to use the feature, as seen on page 5 of the user manual.  I suggest you go that route, if another user does not post a peripheral solution specific to your case.  This is a documentation on the implementation of the monitoring-

    http://www.NI.com/product-documentation/14616/en/

  • State of relay by default USB-6525

    Hello

    When the NI USB-6525 enclosure is powered on the default state to solid state relay is closed.  I'm trying to use it to control a 4 position RF switch.  Obviously we do not want to be on as this disrupts the 4 switch inputs.

    Is it possible to change the default state of the relay, so that when the device turns on the relay are all open rather than closed?

    Hi SeanJ,

    Sorry for the delay on this point - I just noticed this post by searching for clients who may have encountered this problem.

    From DAQmx 8.9, programmable start-up States have been added to the USB-6525.  However, flash on these cards was not initialized correctly to 'open' State, so the check for PPS caused tips have added a default PPS to 'closed '.  The solution is to simply set the States start to their desired state.  This can be done through MAX as follows:

    All the councils that are currently on the market have their flash correctly initialized to the open State.

    To reduce the risk of this question anyone adversely affecting during updates, we also add a check for the firmware in DAQmx 9.2.2 and later charger to initialize the flash if you are upgrading a version of the driver without PPS.  If the upgrade to a version of the driver with PPS, the startup States will not be affected.

    More information can be found here:

    Behavior of the start state Programmable NI USB-6525

    I apologize for any inconvenience that you please do not hesitate to let us know if you have any questions.

    Best regards

  • USB-6525

    Hello

    At first, I want to control a USB-6525 in labview. I want to creat 3 switch control relay as if switch1 is out of relay 1 is open, switch2 is narrow so relay is close

    Can I control switch using the DAQ (Labview8.5) Wizard, I choose relay wich I want to open/close, but I don't know how to connect with a switch for failing to enter the DAQ assistant.

    Secondly, I would like to control them by timers but I first want to understand how it works with the simple switch

    Thank you

    Kind regards

    PS: I'm french so sorry for typos

    Please answer me

    I'll try that

    Kind regards

    Rodolphe

  • USB 6525 6501 digital for output to the step motor

    Hello

    I try to use USB 6501 or USB-6525 out of step motor signals which command the stepper motor. My questions are

    (1) do I 6525 USB, I'm not sure the function of it (perhaps as a relay).

    (2) now I connected input 5V for USB-6501 "+ 5V" pin and GND to pin "GND". On the other side (output side), I connected ' enable '(from motor drive) to P0.0. 'direction' to P0.1 and GND to GND.  Can I use the express signal to test, the error says "lack of entry."

    (3) I guess the next step is programming labview. Does anyone know of similar examples?

    Any help would be appreciated!

    Melody,

    If the engine must input external logic level I advise to use the USB-6501, which is just a digital I/o card. The USB-6525 housing does not have the digital outputs to control your motor drive. If I understand correctly you just try to turn the motor on and off with a digital signal. It seems that you also provide your drive motor + 5 v and GND. The USB-6501 has channels for + 5V and GND. I've attached an example of navigation that controls the outputs digital using DAQmx and LabVIEW. This specific programme allows to control 8 digital output lines, but it looks like you don't have one. If the engine waiting for you just a strong to put logic in operation and a logic low to shut down this program example will be able to turn on or turn off your engine. Just connect one of the USB-6501 digital output lines and then use the program to this line of control.

    I don't really know any reason, you need to use the USB-6525 it seems to me that the USB-6501 run action you need. I hope this helps.

  • Big problems with USB devices

    Since I upgraded to El Capitan I have several, serious problems with USB devices:

    1 USB hard drive: everything by watching a video from an external hard drive, the hard drive will be to disassemble all the minutes, the video will be of course hang and it takes 45-60 seconds until the drive reconnects. I also can not boot from any external hard drive more. Booting from a USB key works fine.

    2. I can't transfer my Sunny BT11 of beam data more. The Sunny Beam is a device that records the data of my photovoltaic plant. The overview of the system he sees when connected via USB, however he is not recognized and so I can't transfer data files. Also, it makes not a difference if it is connected via a USB hub or directly, the two versions do NOT work. In the Finder preferences, all devices are controlled to display on the desktop.

    The two scenarios always perfectly work with my Mac mini that has not been updated and uses Mac OS X 10.10.

    Hello Gulliver,

    It seems that if you live with loss of connection of your USB devices since the installation of Mac OS X 10.11 El Capitan, is that correct?

    I suggest that you are troubleshooting by following the steps in this article - OS X El Capitan: If a USB device does not work

    Thank you for using communities of Apple Support.

    Sincerely.

  • Watchdog USB 6525

    I need to return my USB-6525 to state results course in case there is a problem of communication software.

    Basically, I have sent close the relay for a short period s.5 a.25 seconds then the relay open. I can do this by writing a loop for close and then delay for the milliseconds and then open the 2nd iteration.  It works fine except the relay must the software or computer in bulk communication unit would remain shut down and cause a dangerous situation.

    The literature indicates you can do this by setting a watch dog timer but I can't find how to configure it. The way I understand, once the watchdog is set if it does not receive a software reset within the time limits, it will define the output for which is determined the safety position.

    Someone at - it an example of configuration of this device.  Either way, I would also do this with a SCXI-1163R also module.

    Another solution would be to send a pulse on a specific length of time, but I do not think that the 6525 allows execution of timed material.

    Thanks for your suggestions.

    Randall

    There are DAQmx watchdog timer screws if you have the driver installed DAQmx (installed device drivers), you can easily configure and use this timer. Their screws is very explicit.

    http://zone.NI.com/reference/en-XX/help/370469AF-01/lvdaqmx/mxcreatewatchdogtask/

  • Control Automation with Siri on Mac?

    Control Automation with Siri on Mac?

    I am aware that Siri on a Mac of Sierra does not yet support Apple HomeKit.

    As another example illustrating Siri on a Mac is currently quite limited, it is not extensible by developers unlike Siri on iOS.

  • Got a 27 "monitor from Apple, with thunderbolt (error). My MacPro can't love at first sight. Apple won't bring back the monitor. Will using a USB 3 map and then using a hard drive with USB 3 and Thunderbolt works?

    Got a 27 "monitor from Apple, with thunderbolt (error). My MacPro can't love at first sight. Apple won't bring back the monitor. Will using a USB 3 map and then using a hard drive with USB 3 and Thunderbolt works?

    N ° you need a computer logic board which has built in Thunderbolt.

  • With USB ports surge protectors

    I have an iPad 12,9 Pro.  I noticed an increase in surge protector Strip with USB connections available in stores.  Is can I charge my iPad Pro by directly connecting the charging cable into either of the USB sockets on the power strip to the surge protector?

    Perhaps, but it will be probably cool more slowly than with 12 Watt charger, it came with. Compare the 2.4 output amplifier with current available from one of these ports of surge protector.

  • can't get out with USB itune icon

    using ipad unable to leave the itunes icon with USB showing

    Hello, Conmare.

    Looks like your iPad slipped in for some reason Recovery Mode any. Which indicates something happened and you will need to reinstall the iOS. I'll be happy to help you with this.

    If you see the connect to iTunes on your iPhone, iPad or iPod touch screen

    Connect your iPad using the lightning cable provided with your iPad to a computer with iTunes installed on it and see if iTunes responds. If so, that's fine! Just follow the guests.

    If iTunes does not respond, disconnect the iPad off the iPad by using button on/standby (power). Once it is off, press and hold the Home button and reconnect the iPad to the cable. Don't release the Home button until iTunes responds. Still, if this is the case, follow the prompts.

    Once iTunes has reinstalled the iOS again, you can use a recent backup, as you did to reset your iPad. If it is not all recent backups, configure as a new iPad and sign in iTunes and App Store and iCloud. You can synchronize the information that is available. Another thing, I'm afraid, is lost.

    Nice day!

Maybe you are looking for

  • Car power inverter to power a Qosmio G10 - 133

    Is there any adapter compatible with the G10 car & if so could you provide details - I've read the thread relating to the car adapter F10 but it couldn't find the car adapter there are referenced.I read in http://www.laptopbits.co.uk/Database_files/M

  • Yoga charge 13 does not?

    I take my Yoga to work every day and the night is on current alternative while I'm asleep for at least 6 hours. Recently I have noticed when I get to work the battery indicates that it is by about 58% charged. 1. when I got to the bed I just close th

  • Microsoft Wireless Comfort keyboard 1. 0 has (1027)

    have not used the above keyboard and mouse laser wireless 6000 for many months.  recently tried to use them with no luck.  changing the batteries on both devices.  now the mouse works fine, but the keyboard does not respond.  using vista 32 bit... an

  • Failed to install of the HP LaserJet M1132 MFP

    I am struggling with the installation drivers for HP LaserJet 1132 MFP on my HP Probook Windows 7 Professional s 4421. System repeatedly returns "installation failed", then asks 1 disconnect the usb cable from the printer, (2) turn the printer power

  • Security 6.0 of IPS monitor

    6.0 sensors will work with SecMon? And please don't tell me that I will be forced to use CS MARCH. So there will be an update SecMon so that he can work with 6.0?