USB 6008 switching speed relay? Delay through software?

Hi guys,.

I have a Setup with a USB6008 which control some relays. However, I'm unable to get the relay to go fairly quickly. I can see by the USB6008 that the digital output ports have a speed of 150 Hz, which equals 6 m I want to be able to control the relays at intervals of 10 ms. The relays have a rebound time of 10ms. In theory, it should be just possible. However, I am getting some problems in calendar. Relay ports are open for too long, often in the low hundres of milliseconds. This makes me wonder if there is some sort of delay by turning the relay on or off... My VI is essentially a state machine which, in a State turns on the relay and wait an appropriate amount of milliseconds, and then passes to the next State, who deactivates the relay. The relay is set to simple bool, true and false. I'm sorry, but I am unable to share the VI. But also, it's more a theoretical question within the period that is present when talking about USB data acquisition boxes, I guess.

Where I set up relay tasks, NEITHER Max, I can choose different "modes of generation. "on-demand" and "timed material." How will this affect the speed output digital?

Thank you in advance,

Sincerely,

Peter

When it comes to software distribution, you won't get a lot of precision.  But it sounds like you are using the next ms Multiple value 50ms somewhere in your state machine.

Tags: NI Hardware

Similar Questions

  • My USB-6008 has bad firmware for c# application, utility switch fails.

    I use a pair of USB-6008 in an application. Everything was fine until what I installed the driver NOR-DAQmx. This software has changed the firmware of NOR-DAQmx BASE of NOR-DAQmx. The problem is that I can't change it back again. The OR errors of the utility of switching because it cannot find the Labview engine. Well, it will not be as I am not a user of labview.

    Hello Drew,

    The simplest solution would be for you to download and install runtime LabVIEW 8.5.1, with which you will be able to run the utility of switching without problem. It of free and can be found here:

    LabVIEW Run - Time Engine 8.5.1 - Windows 2000/Vista x 64/Vista/XP

    Let me know if you encounter other problems.

  • RELAY CONTROL WITH THE HELP OF USB-6008

    Hi all I'm new to labview, I want to control the relay using USB-6008. could someone help me find valuable solution, because this is my final project mechanical engg. I need the electrical diagram and whether it is digital command also mention details of ports/lines I have to connect.

    In this, I joined the relay diagram, in which I have to just to magnetize this nucleus to attract this soft iron. so I need to do ON and OFF. Please guide me and thanks in advance too.


  • 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.

  • fiber optical sensor su19 110 115 a 126 vs nor usb 6008

    Hi expert... I am looking for idea or help on my project. I try to get the measure of mention nor USB 6008 sensor output. In fact, I'm new with nor peripheral usb n still study n the search on internet or n. forums I found an idea to connect the sensor by aoi, but I can't seem to get a measurement any. Is the sensor can connect directly to the device usb or need some custom wire diagram between them. Thanks in advance

    First of all, it is useful if you name the manufacturer of the sensor. A single part number means nothing to most of us.  You use the sensor fiber-optic Pepperl + Fuchs? Even better is to display the technical/manual plug of the sensor or links to them.

    The data sheet that I found for the sensor to Pepperl + Fuchs is not very well written, in my opinion. It seems that the outputs are impulses with dependent amplitudes of the voltage and the frequency or the timetable set by the mode of operation.

    If it's the device you use, the only way you have any possibility to decode the outputs with the USB-6008 box is to measure with an analog input and then process the data in the software. According to the supply voltage, you will probably need a voltage divider to reduce the output voltage of the sensor to a level compatible with the DAQ hardware.  You also won't be able to use the high speed of the probe because the heart rate exceeds the Nyquist limit. In standard mode, you mighte be OK, but you can use a single channel of the USB-6008 to stay in the Nyquist limit.

    Lynn

  • USB 6008

    Hi alls!

    I NI USB-6008, when I connect the outputs to relay, theses reaay deliver it not work, if the output be connected relay output 5 volts, but when I connect the relay I don't have pressure, I have to do? to resolve this problem.

    Thank you

    Best regards

    Also, assuming that the USB-6008 doesn't have enough power to drive the relay, it is pretty easy to use a transistor as a switch, assuming that you have a different power supply available.

    Page 3 - 4 has very good tutorials for this:

    http://Venus.ECE.NDSU.nodak.edu/~Glower/ECE376/L_Fa10/107_Transistors.PDF

  • Limitation of current USB-6008

    I use the USB-6008 device in a new application to read analog values, then the fire solenoids based on the readings.  Current on the USB-6008 case limitation is my 8.5 specifications and the device I want to drive is rated 5V 38 my.  Does anyone know of an application for increase in the output of the analog switch or USB-6008, as with a transistor?

    Kind regards

    RDD

    You can use one of the ULN2xxx relay drivers.

  • Reading NI USB 6008 of executable

    Hi all

    I tried to find a solution in existing topics, but unfortunately could not find a suitable solution.

    I use a USB-6008 read a voltage on ai0. When I run the VI with the USB device connected to my development pc it works very well (DAQ assistant was used to read the value on ai0). After making an executable on my development pc also works. However, when I move the executable file on the computer on which I want to use it does not read voltage. If I start NI Max, I noticed that the computer is able to read the value, so physically everything should be good. To me, it seems that some link/link is missing from the software. Anyone know what may be missing/defective in my executable?

    OR DAQmx is installed on the computer on which it is to run.

    Is the device and channel named in the same way on desktop deployment as was the development of your PC?  Display the MAX on each PC and compare.

  • USB-6008 how to move an executable file to another computer.

    Hello Forums NOR!  Please bear with me as I'm new to products OR as well as this forum.  Hope I have write in good advice.  I'm an electronics technician with over 30 years of experience in a variety of hardware and software that is trying to move an executable file from an old computer to Windows XP on a new computer Win 8.

    First of all, I just moved the file .exe itself.   When it is run, it produces an error dialog box: "Unable to locate the LabVIEW run-time engine" "this executable requires a 2011 version (or compatible) LabVIEW Run - Time Engine."

    Then I ran the installation disc driver supplied with the USB-6008 module.  Now, the executable will start but it does not seem to connect with the USB-6008, because it does not have the digital I/o.

    I can run NI MAX and see the USB module as well as test the analog and the digital I/o so I know the hardware works.

    I've been surfing on the knowledge base and found references to .dll & .vi type support files, but have no idea of which ones to get and where they might be.

    This is possible without having to recompile the exe file?  I have no access to the source files.

    Thank you!


  • Component USB 6008 in Multisim

    Hello

    I conceive my system in Multisim 12 and I wanted to include OR components of the database.

    I need a component for the NI USB-6008 case and the other for the NOR cDAQ-9174 with two NI9217.

    My question is: these elements already exist (in the database, on the Web site of OR or a third party) or what I have to design?

    Thank you

    csiquet,

    Here is an example of a database of these parts NOR (symbol only):

    To merge into your DB, to do this: tools-> database-> merge database

    There are 'rated' components blow up / stop working if too much voltage/current passes through them.

    Master DB-> base-> Rated_Virtual

    Kind regards

    Pat

  • Chip exchanged on the issue of USB-6008

    I have a USB-6008 data acquisition that went wrong in a set-up.  The MCU was getting very hot while it is plugged (I had a ground problem that it fried).  I ordered a new microcontroller and succeeded him, now he does not become hot at all when it is plugged in but I need for the flash I think.  The argument of doing nothing, the indicator light is not flashing and the computer does not even recognize whether he has a connected device if he acknowledges.

    Has anyone here done a repair like this?

    Where can I get the software to Flash the chip and can be done on my site?

    Thank you all,

    Hi ChillyWilly,

    You should contact the Customer Service and seek to return the unit.  If it is within 30 days of the purchase, this should not be a problem and would be much easier to try to flash the device yourself.  You will need the serial number of the device when you call.  Hope this helps!

  • Want a ramp of output voltage over time and measure input 2 analog USB-6008

    Hello

    I want to produce an analog voltage output signal that increases over time with a certain slope, which I'll send in a potentiostat and at the same time I want to read voltage and current (both are represented by a voltage signal) that I want to open a session and ultimately draw from each other. To do this, I have a DAQ USB-6008 system at my disposal.

    Creation of the analogue output with a linear ramp signal I was possible using a while loop and a delay time (see attachment). Important here is that I can put the slope of the linear ramp (for example, 10mV/s) and size level to make a smooth inclement. However when I want to measure an analog input signal he's going poorly.

    To reduce noise from the influences I want for example to measure 10 values for example within 0.1 second and he averaged (this gives reading should be equal or faster then the wrong caused by the slope and the linear ramp step size.) Example: a slope of 10 mV/s is set with a 10 step size. Each 0.1 s analog output signal amounts to 1 mV. Then I want to read the analog input in this 0.1 s 10 values)

    Because I use a timer to create the linear ramp and the analog input is in the same loop, the delay time also affects the analog input and I get an error every time. Separately, in different VI-programs (analog input and output) they work fine but not combined. I searched this forum to find a way to create the ramp in a different way, but because I'm not an experienced labview user I can't find another way.

    To book it now a bit more complicated I said I want to measure 2 input analog (one for the voltage of the potentiostat) signals and one for the current (also represented by a voltage signal) and they should be measured more quickly then the bad of the analog signal. I have not yet started with because I couldn't read on channel work.

    I hope someone can help me with this problem

    An array of index. You want to index the columns for a single channel.

  • Rate analog output USB-6008

    Hello

    I just started using an NI USB-6008 box. At this point, I don't need to fill all the specific tasks other than learning to use the device. I used a fair bit of LabVIEW but never with this kind of material, and I would like to help to understand it please.

    In particular, I have attached a VI in which I try to get an analog signal through the USB-6008 and read again (also with the USB-6008 - I wired the pins together). However, I do not understand what is happening when I run this VI. I expect the output a sine signal of 10 Hz for 1 second, 0.1 seconds record and see 1 full cycle of the sine wave. In practice, I read about 10 cycles and constant tension then. Presummably, this means that either the reading continues for more than 0.1 second, otherwise the output signal is more than 10 Hz.

    I also tried to use the related calendar DAQmx screws with the output pin to try to adjust the output rate (samples/s) but everything that I've tried return errors. I also tried to open some examples NOR, but these errors returned as well and I still just try things on mine.

    Did I miss something obvious here, but any help would be appreciated!

    Edit: I had to update this post & attached VI I had made mistakes. The default values on the front panel show what I see after the execution of the VI.

    Orbital Hi,

    As far as I know, you will need to use the DAQmx Read and VIs write in loops and functions of synchronization to determine data rates you want.

    I also did a quick search and found a white paper which you may find useful: http://www.ni.com/white-paper/9541/en/

    Kind regards

  • Do another counter for usb-6008 VI using Labview 8.5

    I want to create another counter for usb-6008 using Labview 8.5, it is necessary to calculate the two gears simultaneously.

    The best way to proceed is to use the meter.  The counter counts
    signals without having to interrupt the system or use the USB bus.
    When you ask the number of ticks that saw the meter, one
    request is thrown from the CPU to the USB line to the 6008, which then
    request counter "ticks how have you seen?  This number is
    returned on the USB bus, goes to the CPU and display on your
    screen.  Given that the DIO lines on the 6008 are software timed, it is
    no way to guarantee that the data back to the central unit is
    deterministic.  The conceptual difference between software-controlled
    DIO (that nondeterministically returns an entire stream) and a
    meter software-tick-application-controlled (which returns a unique number
    with the number of ticks) prevents us from using the DIO lines on the
    6008. the best way to count more edges is buying more 6008 s.
    Another possibility would be to buy a PCI card to counter such as
    the PCI-6602, who owns 8 counters. Most of the counters we offer in the
    USB form factor is 2 per device.

  • NEITHER USB-6008 connect to thermocuples and pressure sensors, control valve

    I am endevoring to build a gasification plant biomass for bench scale test process control plans. NEITHER USB-6008/6009 will be adapted for use as a data acquisition. I'll take RTDS, thermocouples and pressure sensors. I don't want to use industrial automation controllers.  It is also possible to use the channel of analog output for sending signals to a control valve position (using sufficient current/voltage between the two drivers).

    (1) OK.  I just wanted to be sure that you were aware of the potential dangers.

    (2) an RTD is a resistance that has small changes in resistance per degree of temperature change. To measure that you have need of a current source and a sufficient resolution in order to detect small changes.  At 25 degrees C a typical RTD is 109,73 ohms and resistance ohms 0.38 per degree changes.  If you had 1 my crossing this RTD voltage through it would be 109,7 mV and the voltage change of 0.38 mV by degree.

    The resolution of the 6008 on the most sensitive range is 0.49 mV > 1 degree.  The accuracy of the 6008 is 1.5 mV typical.

    For a Type K thermocouple, voltage at 25 degrees is 1.407 mV and change by degree is 39 µV.  Millivolt solving half of the 6008 translates into about 12 degrees.

    If you need a source of excitement for RTD and a kind of amplification for thermocouples and RTD before she would make any sense to try to use USB-6008.

    (3) I have not used anything except LabVIEW with DAQ devices and drivers.  I think DAQmx can be used with MATLAB and other languages.

    (4) the 6008 is the low range made by NOR. You will need to go to a more expensive camera or add signals conditioning circuits.  Talk to your representative OR assistance in the choice of a suitable device.

    Lynn

Maybe you are looking for