USB-6008 self-test

Is it possible to do a test by programming in LabVIEW? The same thing can be done manually in MAX.

I mean when the program starts, it will perform a self-test. If this passes, continue on the rest of the code, in case of failure, bring up a message (or error).

Kind regards

Sebster.

Hi Sebster,

Yes, there is a Self DAQmx device VI in the latest versions of NOR-DAQmx.

Brad

Tags: NI Hardware

Similar Questions

  • Consistency of the NI USB-6008 device multiple numbering on several computers

    I have some equipment that we built that contains 2 units of acquisition of data NI USB-6008 to test the product. The test software is written in C++ with NI DAQmx. Everything works fine, except that when plug us the test on another PC, the two units DAQ hardware get their reverse numbering system. This means that what was 'Dev1 ai0"on one machine becomes ' Dev2/ai0' on the second machine and vice versa. We have only two machines, we are working on – is it possible to configure the hardware to enumerate identically on both machines? Or do we need to identify the two Renault by any other method?

    Thank you

    Colby

    What happens to Colby,

    Welcome to the forums and thanks for your question.  There are two different ways that you can ensure that you always reference the same camera.  The devices list in your system in the order that they were added, so the first way would be to always plug in the same order.  This isn't really the most reliable way to do things, so you can use the nodes property DAQmx.

    Now, I hope you will forgive my text based on coding is terrible, but the functions you need are DAQmxGetSysDevNames() and DAQmxGetDevSerialNum().  I'll leave the coding to you, but the Names property will turn all of the devices in your system.  You can then pass these and get the serial number of the device that will never change.

    For LabVIEW users who come on this post, here is what your code will look like:

    You will want to be aware that this second approach will not work if you have an OEM application where all devices that you deploy will have a different serial number.  I hope this helps.

  • Input/output USB 6008 test failure

    OK I am posting this for the third time, but whenever I go back to the home page of the forum, I'm not able to find my post. If by chance I created duplicates than apologies.

    IAM in train to test the USB-6008 case I just got and decided to hang the analog of the analog inputs and see using labview VI.the wiring was done as:

    http://i284.Photobucket.com/albums/ll5/bigdawg6/USB%206008%20wiring_zpss2b7hql9.jpg

    the problem is that the labview VI did nothing, so I go to NI Max and try to see in test panels. But I get 1.4V constantly my same analog input value when I'm changing my analog value:

    http://i284.Photobucket.com/albums/ll5/bigdawg6/AIO%20screenshot_zps9beiimbj.PNG

    the analog output works very well since I plugged it to my multimeter and I can see the tension that I see on this Panel of test:

    http://i284.Photobucket.com/albums/ll5/bigdawg6/AO0%20screenshot_zpsqpei37bw.PNG

    I created an entry/exit of the tasks; screenshots of them are:

    http://i284.Photobucket.com/albums/ll5/bigdawg6/task_ao_zpsykmvczew.PNG

    http://i284.Photobucket.com/albums/ll5/bigdawg6/task_ai_zpsix5se9yg.PNG

    I am quite frustrated with all this since I'm unable to access my actaul draft. I know that 1.4 V value is from the device itself; as in the manual it says 'internal resistance divider can cause the Terminal to float at about 1.4 V when the analog input terminal is configured as a CSR', but the funny thing is that I use it in differential mode so I don't know what to do and any help is appreciated.

    BTW, I did a google search and there are other tutorials onlune who seem to do exactly what I do and they seem to work very well; so I don't know what else to do.

    Please don't host images on some odd third-party site. Attach them to your message.

    I don't understand what you've done. The 6009 can produce only a signal of CSR in order to set up the differential input makes no sense. If you want to measure something different, try a simple battery.

  • USB 6008 analog i/o has stopped working

    Hello

    I have been using a USB-6008 for a few weeks now and it has worked well. I've been using the outputs digital, analog inputs and outputs this morning and they worked very well. I worked on something else for an hour or two and then resumed using the 6008, find the analog pins have stopped working. The show output analog on 1mV any value I send to them and the analog inputs always read - 10.3, despite limits MAX being set to 0 and + 5 (and me only using 0 - 5V on them). I tried all the inputs and outputs, in all ways (CSR, diff) with the same results. The digital outputs all work very well. Yes, he is grounded properly. Yes, the wires have continuity. My multimeter don't lie about me, either.

    I took the MAX test panel to solve the problems. The unit passes its tests of self-control, and my Labview program does not return errors by contacting the 6008. I don't connected the 6008 which could exceed the voltage or the current limits of entrances and exits. In fact, all I did was unplug it when I stopped using it as soon as possible and then reconnected it when I went back to work. The material to which it is connected has been turned off during this time.

    Any ideas? Thank you.

    Problem is solved. If anyone finds this is interested, the problem was at the level of the material, that the 6008 has been connected. I'm covering, among other things, to a PIC Microcontroller. I just changed the oscillator on the PEAK, and inadvertently changed parameters parameters of the ADC as well. This caused the pin used as my reference voltage (connected to + 2, 5V output of 6008) to transform itself into a digital camera of output, a value of 0. This short-circuit the + 2, 5V output of the 6008, causing it to close.

    Lesson learned: check your material carefully, even if it does not make the difference in a first time!

  • myDAQ new installation self-test fails 88705

    "' Problem: NEITHER myDAQ"myDAQ1"- Measurement & Automation Explorer-online devices and Interfaces-online OR myDAQ" myDAQ1 "-online self-test does not work. The error message is "the self-test. has failed. -88705 the specified device is missing... »

    My environment:

    8.1 Windows 64 bit running under Oracle VirtualBox Version 4.3.20 running Mac OS x on a MacBook Pro 2012 10.10.1. I have no prior exposure to work with myDAQ, LabView, or any tool of NOR.

    I downloaded NIELVIS1400_downloader.exe for Windows 8.1 to ni.com and it is finished.

    During installation I secured guarded against the problems of Win8FastStartup by stopping and restarting the PC when asked.

    After the installation when I plugged it physically in the myDAQ device, it was recognized by Windows 8.1 because Device Manager has the 'data acquisition' entries under which "NEITHER myDAQ" appears. For NEITHER myDAQ device status is 'this device is functioning.

    When the myDAQ was physically connected, the window "NI ELVISmx Instrument Launcher" popped up. I clicked on the icon 'How to set up your hardware' and the 'get started Guide... "pop up. I checked the blue LED on the device came and it is stable on. I went to "2. Paragraph confirms the recognition of the devices"in implementing on the way, guide and follow the instructions to start the automatic test. There not as described above.

    I noticed similar problems have been reported in the past. Closest to my problem reported by flex11 on 05/05/2014. Reading through I don't see any resolution itself. Another similar problem was solved by manually starting the service 'NOR device charger '. In my case, this service is already running. "NO license server" is the only service stopped, but I guess that's normal for myDAQ.

    I don't have any other product OR installed on the PC.

    I'm sure there is a simple solution to this problem, but I'm afraid it's escape. I'd appreciate any help I can get through this forum.

    Thanks for getting back to me. Your answer gave me stamina I had to move forward.

    I installed http://www.ni.com/download/ni-daqmx-14.2/5046/en/ and finally managed to do work. The exact boot sequence I need is:

    (1) delete myDAQ by USB port and then start Windows 8.1 under VirtualBox.

    (2) after that Windows 8.1 will appear, fix myDAQ on a USB port. If a pop-up window appears asking you to respond, ignore (at the beginning I did not ignore it and myDAQ transformed into a charger USB device firmware such as reported by Device Manager).

    (3) at this stage most likely "VirtualBox VM features-online USB Devices" drop-down menu shows "National Instruments NI myDAQ [0003]" as an entry but without a check mark to the left of the name. Bring the cursor to the left of the name and click here. You should now see a check mark there.

    (4) my myDAQ Self tests started working.

    However, I need the functionality provided by ELVIS as well. So I uninstalled http://www.ni.com/download/ni-daqmx-14.2/5046/en/ and installed from NI ELVISmx 14.0. My boot sequence that I have reported above, didn't work. Just at the moment it's just happened that Oracle has released Version 4.22 of VirtualBox that I wanted to try and ELVIS started to run. I can now use myDAQ DMM.

    One thing that contributed to my problems is fruitless attempts to uninstall the software OR. Unsuccessful uninstalls leave garbage behind who can or cannot cause problems in subsequent relocations. In one case, I'm done with the nidevldu (OR charger) service stuck in the system. I had to do a reset Windows 8.1 recovery operation to get rid of him. I decided to restart Windows 8.1 before uninstalling the software. This ensures that there is nothing in the limbo that past can interfere with a successful uninstallation.

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


  • USB-6008, USB-6501 and Embarcadero C++

    Hello NEITHER and NOR users,.

    I spent a considerable amount of money several years ago on a number of devices USB-6008 and USB-6501 for a class that I teach on interfacing the simulations with realworld sensors and actuators.  Write us code using Embarcadero C ++ Builder and we wrote the code to interface with the jury of EZIO AD / DA via RS - 232.  The EZIO is much too slow and limited.  Given advertising NOR, we bought these boards, but after several attempts to get some information OR on the way to talk to these devices directly via C++, we have yet no valid response.  No, I don't want to LabView or any additional expenses.  I just want to talk to them directly.

    OR: are you ready to help with this, or not?  If this is not the case, although wanting to refund these purchases.  Announce as being accessible from C++, but you are not willing to provide any help of substance to this day...

    Yes, I am self-taught, write code, and old-school enough to feel that I have a right to know how to talk to all the devices I buy.  I confess my ignorance, but I'm sick and tired of secret corporate and misleading advertising.

    Can someone please provide me with enough example of code to start.  That's what we wrote for the EZIO:

    http://www.Duke.edu/Web/ISIS/Gessler/Borland/RealWorld-Ezio.htm

    We would like to start writing similar code for these materials of NEITHER.  If possible, we can buy more.  If this is not the case, these cards are useless.

    Kind regards

    Nick

    Nicholas Gessler, PhD.

    Nick,

    When you have installed the DAQmx drivers to communicate with the 6008 and 6501, I assume you also installed programming examples? It is here that they are on my XP machine: C:\Documents and Settings\All Users\Documents\National Instruments\NI-DAQ\Examples\DAQmx ANSI C.  I don't think that Embarcadero C++ Builder is one of the languages supported, so you'll need to twist your compiler, but it should give you a good start.

    Tom

  • USB 6008 digital output signal

    I am VERY new to LabView and have been racking my brain trying to get digital output of my USB-6008.  All I want is to be able to get a signal of + 5 V of my digital output when I click on a button.  This signal opens a valve on a system I see so when it is pressed, it must stay open until I press the new button.  It seems simple enough to me, but I'm not too familiar with LabView.  Help, please!

    Stripling07

    You must first take the LabVIEW tutorials and then look at the links to get started with DAQmx .

    The simplest program would be with the DAQ Assistant. Drop it on your schema, and then select digital output > digital line. Select the line when the wizard has completed, click OK. Wire a Boolean value in a table to build and the output of which is connected to the data entry. That's all. You can test the output of MAX (Measurement & Automation Explorer) with the test Panel. Do NOT test with your connected tap. Your valve may require more current that can provide the 6008.

  • 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

  • NOR-USB 6008 Matlab Mac OSX

    Dear NOR-Experts,

    I wasn't sure which Board to post my question, so if this isn't the right place please accept my apologies. Be a too-unskilled computer user, I tried in vain to approach a converter A/D of NI USB-6008 of in MATLAB R2012b on a Mac OS 10.8.3 for quite a while.

    Searching through the internet (http://www.binghamsite.com/miscellaneous/matlab-mex-and-ni-usb), I learned that the General path to follow is to use the mex from MATLAB command to compile code written in C in the programs included by MATLAB. By following the instructions provided on this site, I ran mex - configure, edit the mexopts.sh file and was able to compile the file simple timestwo.c for test purposes.

    I then tried to do the same for the data acquisition example .c files provided with the package OR-DAQmx Base (3.6 v). I have been informed that mex objects require the inclusion of the header of NOR-DAQmx Base (NIDAQmxBase.h), so I tried to run

    MEX - I ' / Applications / National Instruments/NOR-DAQmx Base/includes ' acquire1scan.c

    Compilation fails producing a lot of information, I do not understand (see attached file). However, the error messages

    "Error: this platform is not supported, because long is not 4 bytes." or

    "Error: this platform is unsupported because int is not the same size as long."

    appear repeatedly. My Macbook uses an Intel Core i5 processor that is 64-bit, if this may have something to do with it.

    Any suggestions on how to get this race would be very appreciated.

    Thank you

    Robert

    Hey, Robert,.

    I think that MATLAB 2012 for OS X is a 64-bit only application, which will not work with 32-bit data acquisition Base driver.  There may be older versions of MATLAB who have a 32-bit version on Mac OS X, it would probably work with the method described in your link.

    MATLAB® is a registered trademark of The MathWorks, Inc. other product and company names are the trademarks and trade names of their respective companies.

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

  • How to connect an lvdt and cell to usb 6008

    Please help me iam do not know how to choose a daq card. looking for a lost lt but iam.

    I want to measure the force and displacement at the same time a bench test of suspension and I wanted to use or usb6008 because of my budget for the project.

    can I use this daq card to measure these parameters?

    answer please... Thanks in advance.

    Hi Sylvia,.

    To be able to determine or not with a box NI USB-6008 would be appropriate for your application, it would be useful to get a little more information on measures you can take. If possible you would be able to provide the range of voltage, you intend to measure with your instruments and sampling rate, you need?

    I also noticed in the subject line you use an LVDT, will you also production for this tension with the 6008 or this will be done separately?

    To give you some setting in context, the NI USB-6008 case does not really simultaneous readings at every moment, but will be replacing rapdily between channels, to give effectively simultaneous samples. As this unit has a sampling rate of 10 kech. / s, and you use 2 channels, the sampling rate effective for each entry would be 5 kech. / s.

  • Acquisition of data USB-6008 not detected in LabVIEW

    Hello

    So my USB-6008 DAQ hardware is not available when I do a new task DAQmx (or open the DAQ assistant).

    I found this link: http://digital.ni.com/public.nsf/allkb/179BC9B0266168288625722100738C22
    I did everything just said but LV still does not detect my USB-6008.

    As you can see on the image below it is detected by the solution of measurement and Automation Explorer. I don't know how to test with visa test Panel.

    After that, I tried to test with the diagnostic utility, and here it does not appear in the list.

    I downloaded the appropriate (several times) drivers but still nothing.

    Can someone help me with this?


  • Generate a binary sequence with the NI USB-6008

    Hi all

    I'm new to LabView and I am trying to generate a binary sequence with a box NI USB-6008. The sequence, I'm currently generate is a counter of 5 bits, i.e. 00000 00001 00010, 00011... 11110, 11111 placing each bit in a different digital IO of the of the 6008 NOR, so that I can use the County as the bits of selection in a decoder/demux.

    I managed to simulate the binary sequence and produce a graphical interface, but I have not found how to generate the sequence of bits with the NI 6008.

    Totally, I'd appreciate any help you could provide. Thank you very much.

    Hi JosephM,

    Good Afternooon and I hope your well today.

    I just tested the code on a 6008 and also released the above code is very complex - I was for some reason any fixed on using Boolean tables.

    Please see the attached code, in LabVIEW 8.6.

    Mind you, I have configured the task as a channel for all lines. i.e. digital single I spent, is the task value should apply to all channels selected in the entry. So if you select only port0/Dev8/$line0 for example, the DAQmx driver will examine the LSB of the digital and work so $line0 must be true from the false. It will NOT update all other channels. So when I select line0:4 - it will update the first 5 lines (bits) in digital. As the code generates a number from 0-32 he emotional generates 00000 to 11111.

    I hope this finds you well and sorry for the first post!

  • Reading USB-6008/DAQmx sampling

    I use LabVIEW Student Edition 2009 with an acquisition of data USB-6008 on a Windows 7 computer.  I must confess that I am rather self-taught in LabVIEW and may lack in fundamentals.

    I wrote a code to move motor back with a sine wave with the 'Signal to simulate"VI and VI"DAQmx Write. "  I think that this part of the code is OK but its probably sloppy.

    The part that that concerns me is the "DAQmx Read" part - I use this to get a feedback of the motor position on an analog scale 0 - 5V via the port of AI1.  I also use this DAQmx Read to get another feedback voltage from a force sensor that feels the force in a piece of material set by the engine.  I want the information to all-terrain such as graphs or tables with the last 30 seconds, and then a value of information, but that's all I want to see since this cycle repeats for hours.  I also need to process this information - if the strength of the material gets high, I need to stretch less etc.  So far, everything is working fine, but now I want to use the "peak detector" VI for expressly that the "peak" of the sine wave is part of a certain range of strength and the '' Valley '' falls into a second range of force and clearly since I read this information as a single integer/sample there is no 'memory' of the last seconds in the form of a table of examples past or a waveform or something like that I can't detect the peaks.

    So my question is - should be sampling this information differently to temporarily store information (such as a waveform or something?) or should I use individual samples to build a continuous array for the last 30 seconds?  In other words, what is the best way to read this information in a way that will make it easy to detect the peaks on the final seconds, but not to store hours of endlessly repeated information?  I also want the release of LabVIEW and feedback from the system graphics to match so that the signal sent to the engine for the same positional signal back to LabVIEW from the engine.  I should add that I do not know if the system works in real time or on a little late, but nothing like over delay of 30 seconds.

    I have attached a code that I use to calibrate my system - is not the same as I mentioned earlier, but things 'DAQ read' are the same and you get the idea with the rest of it.  I can also reach more detailed code if it would help.

    Yet once again, I'm sorry for my skills of coding bush-league and thanks for any help!

    -Chris

    If you always use a waveform chart to display your data and your happy with length of time of the chart, you can use the 'Historical data' property node for recover your data from 'short term' gathered.  From there, you take the data and make a type of waveform data using the 'build' primitive waveform.

Maybe you are looking for

  • CQ61-420US and Erorr 0 * 7 b

    Hello! I bought the USA CQ61-420US laptop but can not configure XP Home SP3 I liked in this topic: drivers for XP (solution on BSOD 0x0000007B) SATA But it the same blue screen Ok: (1) I used 32bit_ATI_SB7xx_RAID & driver SATA AHCI_driver_v9-4_WHQL a

  • Lost the ability to play a sound

    I accidentally uninstalled the program PC HD Conextant from my computer which in turn means that I don't hear her more, when I clicked on the volume control icon, a message saying: "there are no active mixer devices. To install mixer devices, go to c

  • How can I transfer photos or data on a USB

    I have a few movies and photos that I want to transfer on a usb key, how do I

  • Vista networking

    I have a router connected to this processor with Vista, but nothing can connect with the router (laptop, ps3 and another computer running Vista I tried many things, but yet this processor will not allow access to the internet, I tried 3 different rou

  • Dynamic disks on Windows 7

    I created a dynamic disk on Windows 7 64-bit Professional ((6.1.7601) with applicable updates checked 10 minutes ago) by connecting directly to a SATA connection on the motherboard. I then tried to move the disc to my drive Startech dock (SATDOCK4U3E