Generation of voltage USB-6501

Hi all

I am very new to the use of devices to LabView and NI, so forgive me if my question seems stupid.

I have an acquisition of data NI USB-6501 I want to use to connect to a device that will open or close a lid when triggered.

My question is: is it possible to programmatically trigger the nominal voltage of the USB-6501?

I'm using LabView for this and I am running on Windows 7. I couldn't find examples of LabView bases that were related to the output voltage for the USB-6501.

Any help would be really appreciated, thanks in advance

Thanks for your replies.

After a few changes, the example "Write dig Chan" helped me to get the behavior I want to put on and a device plugged power off.

Tags: NI Hardware

Similar Questions

  • NI USB - 6501 OEM more sensitive to electromagnetic interference?

    We built a NI USB-6501 OEM card in a small instrument of office dedicated to switch ultrasonic impulses 300V between 3 transducers, using reed relays not shielded high-voltage controlled by the USB-6501 (using MOSFET transistors to drive the relay coils).  The end user reported that when he operated his ultrasonic transmitter at greater than 100 v voltages, USB-6501 would break (green "heartbeat" ceases, LabView or test panels lose communication with the interface).  Lower voltages to ultrasonic had no effect. Inspection of the 5vdc supply rails when running the pulse generator showed ears LOUD noise (surprise?), so we have recreated the box so that 1) optical isolation and no electrical connection between the USB-6501 and switching and 2) pension switching was surrounded by a 'box in the box '.   During a test, ultrasonic signals apparently still radiation enough so that the USB-6501 would break as before.

    Avoiding half measures, I mounted the USB-6501 in a completely separate extruded aluminum case (the land to the USB bus, but not to "taking" of land) with optical transmitters and optical fiber plastic 3' has been the only connection to the ultrasonic switch box (which is inside its own extruded aluminum case).

    This made things better: the USB-6501 would work for a while when the ultrasonic signals were present but still crashes after a few minutes.  In addition, reports researcher that starting the engine w / controller in immediate proximity to this interface also immediately causes a crash of the USB-6501.

    Right now I do more optical cables and confirmed that the USB-6501 works thankfully when he is simply the engine optical transmitters with no ultrasonic signals in the area.  I'm surprised that this digital i/o interface seems so sensitive to environmental disturbances.

    We made sure that 1) was based on the shield of the cable USB ONLY at the end of the PC, according to the specification USB;  2) cable USB was of ferrite chokes to make it less

    an antenna 'noise' 3 the Board 6501 had connected logic ground the housing in aluminium, and 4) we have equipped the case with a pattern important

    cable and clamp to connect to a 'true' of the Earth.

    When the end user has reported that there were still problems, I went to his lab and discovered

    He assumes that hang on a couple of wires ground wire, to a strain gauge, which was stuck on a piece of 3' of the railway, itself sitting on a wooden table

    no electricity whatsoever, what meant it was "founded".  After that I am makes me sputter and him look staring in disbelief, we plugged into an electrical conduit nearby,

    and all of a sudden, the problem disappeared.

    I'm glad it works now, but the fact that turn on an instrument of motor stepper located three feet of 6501 can crash against interference if)

    the case is not grounded), stillsurprises me.  I expect to use 6501 in other instruments, it will take extra precautions on the armor.

  • Timed signal generation TTL with the NI USB-6501 to be read by Arduino Uno

    First of all, I want to apologize - I am very, very new to LabVIEW and brand new to the development of the software of control equipment in general. I tried to find an answer to this question already, but I'm not entirely sure what I'm looking for.

    I have currently a work program LabVIEW which operates a gun card NI USB-6501. Due to the nature of having a machine that springs from a powerful beam of electrons, we want to assure you that if the computer controlling stalls or fails for any reason, we have built-in security that can stop the gun. Our current idea is to connect an Arduino Uno on a PIN on the USB-6501 and LabVIEW to generate a timed signal, which may read the Arduino. If the signal fails (indicating that the control computer has queued or off), the Arduino triggers a power relay that is independent of the control computer and turns off the gun.

    I understand that the USB-6501 operates on TTL signals, so the signal that I should be something in the sense of "output TTL high, wait 1 second, output low expectations, a second, repeat TTL ', but I have no idea how to go about programming in LabVIEW. My first thought was that it is a square wave by using the function "simulate the signal" output, or to have trigger an iterative Boolean signal, by using the function 'DAQmx write', but I don't really understand how do to implement or another idea, or if an idea would even work.

    Any advice would be greatly appreciated.

    Hi Elizabeth,.

    THINK THE STREAM!

    When do you DATAFLOW think everything falls in places!

    Several problems:

    -You have to put that MAKE impulse VI in his own loop parallel to your main VI!

    -When you place this generation of impulses in the effects loop ("TTL arduino low-high") you should put the CreateTask and StopTask outside the loop: no need to create/stop the task in each iteration.

    -Why are there points of constraint to waiting functions?

    -Why is there bent wires? You know Ctrl-U?

    -LabVIEW comes with an extensive library of example screws: you looked at all these examples DAQmx?

    -Suggestion: Learn more about the "structures of producer-consumer"!

  • USB-6501 - impossible to find a basic example of Labview

    Hello

    I recently bought a USB-6501 card and I used it in my own succesfully end and C++ programs using the DAQmx drivers.

    Then I tried to move to Labview 2009 (I never used Labview) so I looked for a simple example.

    I tried to boot from the example 'interactive Control Panel' (http://digital.ni.com/public.nsf/allkb/AF0F31EE5D2AD23F862573140009D7C2?OpenDocument).

    I had to install the 'DAQmx Base' for him to start, as described in the previous link. now it begins (before Labview attempted to get a few missing .vi) but I get a message "error 200220 occurred at an unidentified locatio.

    Then I realized this example is 'old' (as explained here: http://forums.ni.com/ni/board/message?board.id=170&thread.id=209247), and it is suggested to look for a new one in example Finder ' entry-level equipment / output-> DAQmx-> Digital measurement (or generation)-> read Dig Port.VI.

    I tried, but along the way ' entry-level equipment / output-> DAQmx-> "only a folder named"Analog Measurement\Voltage"exists.

    Also in the search for 'Reading dig Port.VI' does not work.

    I've already spent many hours in this research and tent and the fact that I am not able to find not even a basic example, it is quite frustrating and it is making me give up the idea of using Labview.

    Please can anyone give me any suggestions where find/download an example simple and minimum to use my USB6501 in Labview 2009?

    Thank you

    Scipione.

    First, install DAQmx Base was a mistake. Uninstall it and then install the Driver-OR-DAQmx. The driver must be installed after the installation of LabVIEW. After installation, make sure that the device is listed in MAX under "DAQmx devices. If it is not, your installation is still not correct.

    To search for example LabVIEW, see help > find examples. Under Input and Output hardware > DAQmx, you will find the digital generation and numerical measures. You have to look at the simple, timed software examples such as read write dig Chan, writing Port to dig, dig chan, reading Dig Port. You also have the option to use the DAQ Assistant.

  • Best way to generate the software clock for USB-6501 of Measurement Studio for c# VS2008

    Hi all

    I wonder if there is a better way to generate a clock software for USB-6501 of Measurement Studio for VS2008 in C Sharp?

    I have developed a clock using C Sharp "Thread.Sleep (msecPauseTime)"; and statements to switch digital output high and low. There are a few things I noticed in creating a software clock in this way:

    1. The smallest delay by the Thread.Sleep command time is 1 millisecond (which means higher clock period is 2 msec-500 Hz, not holding not ball account no. 2 below).
    2. Sometimes the delay I see on an oscilloscope is considerably longer than the delay that I specified in the sleep command.

    In my application, I create signals (a clock, a latch enable and data series) to control what an attenuator step through the USB-6501 RF connected to a USB 2.0 on my computer. This particular step RF attenuator can accept clocks with frequencies up to 10 MHz, so I would like to generate a software clock (without having to connect to an external clock to a line of input on the USB-6501) which is closest to this maximum frequency, and I think that the USB2.0 line could handle clock speeds over 500 Hz. Also, I would like to know why the delays that I see on the scope are sometimes longer than the time specified by the Thread.Sleep command. Is it caused by the suspension of the execution of my program processor for something else, as I suspect? Of course, this isn't a big deal, because it does not affect the time as my serial data and pieces change compared to my clock. However, I would like to know why it does this.

    I appreciate your help.

    Thank you

    Jonathan Becker

    Doctoral research engineer

    Carnegie Mellon Silicon Valley

    Jonathan,

    Since the USB-6501 DIO is software programmed, you are at the mercy of the planning of the operating system and won't be able to work reliably with an external clock in the software.

    You can try to set the priority of your thread 'generation of clock' to improve performance, however, because Windows is not a deterministic operating system, there are still no guarantees.  Operating systems are not required to honor the priority of threads.  You can find examples and information on the definition of the priorities of the threads in c# here:

    http://msdn.Microsoft.com/en-us/library/system.Threading.thread.priority.aspx

    Kind regards

  • How to get 5V off NI USB 6501 from + 5 v source

    Hi all

    I have a problem that when I plug the usb adapter into my desktop usb and measure the source pin 5V, I get the output from this PIN voltage I NI USB 6501 DAQ board. its 0v

    Y at - it all the necessary parameters to allow the + 5V voltage source.

    How can I activate the source of 5V to NI USB 6501

    Please let me know

    You don't have to do anything to turn it on. What two pins connect you to when you take the step?

  • Too low current performance with USB-6501

    For my measure I connected to an output port (output high voltage, 28 pins) with resistor of 10kOhm to ground (Pin 32). For the active reader to type out in car, I measured a 3.33V voltage and current of 0.33mA. I repeated the same measure with open-drain configuration, which leads to 3.27V and 0.33mA. I use NI-DAQmx and changed the disc type of output with a property node in labview 8.5.1. High-voltage output was generated with labview. In a second step, I put out high voltage with the able Control Panel & automation of DAQmx which led to the same result.

    For my measure I'd wait a current higher return especially for active training mode, since the specification indicates a voltage between 2.8 and 3.6V for 2mA. I don't understand why the output current is not 0.5mA which would lead to 5V.

    If I do the same measure with the + 5V output (PIN 31) source instead of the output port (pin 28), the current is as expected 0.5mA and 4.8V power can be measured.

    For all measurements, I used a NI USB-6501 which has already been tested by an engineer from the Canadian standard.

    Hello James Mc.

    Thanks much for the reply. To reach the CMOS specifications (between 3.5 and 5 v) I add an external pull-up resistance and use to open-drain output ports.

    Kind regards

    Priska Studer

  • USB-6501 as Stepper Motor Driver

    Hello

    I've been away from LabVIEW for awhile (6 years or more) and I have a small task to achieve and am really struggling to start.

    I have a USB-6501 DIO and Labview version 8.6.  I need to drive a motor not not that requires 4 input (in my case 2 Port (0 to 3)) and depending on the phase of these 4 signals with respect to the other (its a circuit of H-bridge) the engine to drive forward or backward.

    I started with DAQ assistant and I seem to be communicating correctly with the OID and the engine, but I'm not at the stage of being able to produce my 4 signals.  I know that the USB-6501 must be controlled with a timing (as opposed to the generation of a train of function for example).  However I am stuck at start-up my possible solutions seem very long breath that I was wondering if there was a quick and easy solution to produce my 4 signals?  I don't know I'm missing something.

    Any help/comments would be greatly appreciated, as I'm very rusty and I have no time my solution.

    See you soon,.

    Karen

    I solved my problem...

  • Can I use a USB-6501 instead of a PCI-6503 map?

    I currently use a card PCI - 6503 DIO into a Windows XP system. We have an old (7.1) version of LabVIEW. We are looking for a Virtual Machine in Windows 7, but he will not be able to communicate with the PCI Bus. We currently use a PCI-6503. A USB 6501 will work to place it?

    We are looking for some intot wiring problems, but I think it will do the job.

    Thank you.

  • OEM version or usb-6501

    OEM version or usb-6501 contains the IDC connector, I want to know what is the ground of the pins in the connector in order to build a daughterboard for him?

    I'm guessing it uses the standard height of 2.54 mm (0.100 ") of IDC.

    -AK2DM

  • USB-6501 Z (high impedance)

    I am using the IDW library to create a master by using the USB-6501. My problem is that the DAQmx write gives an error when it tries to use the 'Z' setting for high impedance. Are there workarounds for this?

    6501 does not support high impedance state... inexpensive compared to high-performance and you have a low cost DIO.

    Might be able to set the output to an entry, but there is still the internal pullup with that you will fight.

  • NEITHER USB-6501

    Hello

    Could someone give me some information about whether it is possible to use the

    NEITHER USB-6501

    As a generator PWM to control the dimming of 18 power LED function?

    calendar is not so relevant and if the pulse width can be controlled in the PC itself application the purpose would be financed

    Hello ONavarro,

    It is technically possible, but please note that USB-6501 as only software clocked e/s digital (e/s static). In other words the duty cycle of the PWM periodocity Ant you want to generate will be determined by a loop software, so depending on your system and the USB bus. I think that you will not be able to get a better rate of loop (ability to change the State of a digital line) less than some milliseconds (depending on the system).

    By example, if the loop runs at 5ms, and I want 10 steps in my PWM, this means the period will be 50ms, therefore a 20 Hz base frequency. If you can't reach 1ms, you will get 100 Hz. If you want more than 10 duty cycle value, you reduce the frequency.

    And it is NOT stable (loop software 5ms, first delta 5.8ms, then 4.9ms, 5.1ms, 6.7ms, and so on), because it is based on the software. If you need something stable and faster, choose a device with hardware synchronizing.

    Best regards

  • Operation of USB-6501

    Hi all

    I have a brand new NI USB-6501, and I'm looking for more help with the operation.  I'm running OS X 10.11.1, LabVIEW 2013 SP 1, NI-VISA 15.0 and NOR-DAQmx Base 15.0.0.  I set up and plugged my module and get the flashing green light stable.  I ran NI MAX, found the module and renamed 'Motor_Module '.  Then, I went to my DAQmx Base of examples and found the Control.llb Interactive USB-6501 and ran the interactive VI control that is contained in this library.

    The first thing I tried was simply running the VI.  I got error-200220, device ID is not valid.  I changed the name of the device to "Motor_Module" and run the VI.  This time, I got error-200558, a task cannot contain multiple independent devices.  Create a task for each independent device.

    And here I am.  My ultimate goal is to have this output module signal collector type open to + 5 V.  Any help would be greatly appreciated.  Thank you.

    Hi Sullivnc,

    I would recommend you look at a few examples in the Finder for example of OR. Under input and output hardware, there is a folder for DAQmx who has a record for a digital output which has some useful examples. If you do continuous or left over, you can add more stuff to your code as a clear task DAQmx, vi DAQmx Timing, and/or vi DAQmx task is made.

  • NI USB-6501 digital output problem

    Hello

    I use DASYLab v.11 and I'm working on an interface with the NI USB-6501 where I'm putting a digital high on four ports.

    With the module "NOR-DAQmx - digital input", I managed to read the digital inputs of the ' NI USB-6501 ".»

    It's only the "NOR-DAQmx - digital output" I can't go to work.

    Using 'NI MAX' of NOR I have easily can emmit my four LEDs in the way of my High/Low ports.

    But not with DASYLab. When you use DASYLab tension on the ports remains unchanged.

    Now, I have a switch module, generating 5/0, directly connected to the digital output module, which is assigned to my four output ports for my task.

    I also tried with a module of relay between the two without success. I also tried to use 1.5 above instead of 5 without success.

    I use the option 'Bus (0/5 supply) for the module "Digital output".

    "NI Max", I configured the ports as "active drive.

    Any suggestion of what I might be missing?

    Thank you

    Martin

    Hmm, four ports, or four lines?

    A port consists of eight lines. Each line can control an LED (ON / OFF ~ 0/5V).

    If you have created a task to dig-out to control a port, 5V to this port sending sets all lines of this port to 'high '.

    You need to 255 for each line one too high port (at the bit level: 128 + 64 + 32 + 16 + 8 + 4 + 2 + 1).<- eight="">

    Or, you can create a dig out tasks to control four lines of a specific port.

    Four lanes of the EEG DAQmx DigOut module.

    Each of the channels of the modul will feed a single line of the task/device.

    Four switches will then turn the lights, or turn off.

    Make sure, that the 'bitposition' is the number of correct line (see picture).

  • USB-6501 not seen by MAX

    Hi all!

    I have a PC under WHAT XP 2002 (SP3) with two USB-6501 Renault connected on it.  I can see two devices in the DEVICE MANAGER under the heading "Data Acquisition hardware" and the two seem to have installed proper drivers.  They show their driver versions of file as 2.3.1f0.  I also have NI MAX v4.6.2 installed on the computer.  But Max, I am unable to display all the devices.  When I try and expand the section "Devices and Interfaces", the MAX software enters a State of non-response and when he answers Finally, I get the following message redirect me to the Web site of EITHER:

    There was a problem connecting to the database.

    Restart your computer.  Refer to knowledge base article 42HG08DD for more information

    and if the problem persists, contact National Instruments.  Go to ni.com now?

    I could see the two Renault to the MAX on another computer with installed Windows7 and MAX version 14.

    Just make sure you install complete DAQmx with the support of the MAX configuration.  It is possible to enter in some States strange if you have MAX and DAQmx Runtime, but not the support of DAQmx for MAX.  In addition, MAX 4.6.2 is a real version, but very old.

    Note Setup below should work and will include a version of MAX.

    http://www.NI.com/download/NI-DAQmx-14.1/4953/en/

Maybe you are looking for

  • Impossible to link Messages on my iMac iPhone

    How to synchronize Messages from iPhone, iPad with my iMac?  I can not get an activation code on 2013 Intel Core i5 at 2.7 GHz iMac, running OS 9.2 Messages 10.11.4.  With the help of iPhone iOS 9.3 6s. (iMac Messages was linked with the iPad, but ha

  • 10.11.2 update blocks the account and apps

    I've updated my Mac mini (i7, 16 GB; computer with 1 TB of HDD, more NAS RAID 5 attached, more a Lacie 2 TB hard drive for Time Machine backups) of OS X El Capitan 10.11.1 in 10.11.2. After the reboot, don't not a single application works. The only p

  • error 8007064c

    I can't open documents word on my laptop (Vista).  This problem has just begun to happen.  I noticed that when I try to do, I get a box that appears indicating: Windows Installer preparing to install, then I get the message: could not open this updat

  • my web brousing is block

    I was brousing when a program of the window that says I have to take the survey in order to unlock the same window if participate you in the survey, it is suddenly

  • WITH REGARD TO THE SKYPE INSTALATION

    I installed Skype windows n I m get this message and I clicked ok, then the app installed and when I opened 1946.proprty WARNING TI {SORRY we HAVE N, T CONNECT to SKYPE AFFICHAIT} ' system. AppUserModel.ID' for shortcut 'Skype.lnk' could not bet toge