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.

Tags: NI Hardware

Similar Questions

  • I want to choose the right USB DAQ device for my application

    Let me share the .exe file, that I use for my application, i.e. the thermostat for QCD. It is available at the following URL:

    http://www.teamwavelength.com/support/software.php?page=datasheets&view=temperaturecontrollers

    Temperature controller I use is PTC 10 K - CH got the NI USB 6351 data acquisition card. I tried the interface between the PC and PTC 10 K - CH, but could not get the desired results. (no monitoring/precise temperature control for the conduct of the LASER Source). It's a .exe file, I couldn't find how code works as well. So even if the program runs without error, I can't understand why it does not show the proper temperature values. Manual for the same Temp.Controller is available on the website of electronic wavelength.

    I would like to know if NI USB 6351 is suitable for the PTC 10 K - CH? If so, what are the common mistakes, I need to make the same thing with LabVIEW interfacing while (because I'm a beginner)? Any help is appreciated.

    Hi DEV_DS,

    It seems that you have just 2 channels of, 1 AO channel, and 1 line.  Glancing at the datasheet, I see no reason that the USB-6351 should not work with the PTC10K-CH.

    Can you share with us a screenshot of the configuration tab data acquisition channels, a screenshot of your list of devices and Interfaces developed NI MAX, and a description of the physical wiring connections you have made in the material?

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

  • With the NI USB-6008 case error-200077

    I try to run the C program example with my NI USB-6008 data acquisition card. I am trying to run the example of "ContGen - ExtClk.c". I get the following error when I build the program:

    DAQmx error: the requested value is not supported for this property value. The value of the property may be invalid because it is in conflict with another property.

    Property: DAQmx_SampTimingType

    Asked the value: DAQmx_Val_SampClk

    You can select: DAQmx_Val_OnDemand

    Task name: _unnamedTask<0>

    State code:-200077

    End of the program, press the Enter key to exit

    Thanks for any help.

    Have you done a search for this error code? As you can see on the care for the 6008, the analog output is only software timed, so you can select calendar on request. Your real update rate will vary a little, and according to specifications, have a maximum of 150 s/s.

  • Population of list for the NI USB-6008 channel

    Hello

    I use labview version 2011. I have worked with USB 6008 for two months, but I encountered an error constantly even if I restart or shutdown of the PC for a while. I connected to my channel 6008 AI0 asensor and DAQ Assistant is not populating the available analog channels. Please someone help. Since it worked fine for a month, but not today.

    History was end I solved my problem after seeing the "Error in the knowledge base" pecautions on the site of NOR. Now the help data acquisition work.

    But I wonder how MAX data are linked with these DAQ contest. Some can clear me how MAX is related with all these functions of time real Labview.

    By the way, I'm using labview for two months.

    Thank you very much.

  • Palindromic numbers consisting of the product of two 3-digit numbers

    Hello world. I am tring to find the maximum number of panlindromic with the product of two 3-digit numbers. A number of panlindromic is defined as one whose numbers are the same as its inverse. For example, 99799 is the same as its "99799" reverse

    I enclose my vi as follows. My idea is that I have find the largest number of panlindromic between 100 * 100 and 999 * 999 and then check if this number can be written as the product of two numbers 3-digit. Only when two conditions are met, the program returns the number. If one found does not work, then move us to the second largest number and check if it can be written as the product of two products 3-digit and so on...

    Therefore, I use a while loop a loop for the part to find the largest number of panlindromic and a forum to check the product.

    Somehow, my code does not work, so I think that if someone can give me a help.

    Question of fact of speed?

    Simply create a ramp of 100... 999 branch he and autoindex on two stacked FOR loops (automatic index once inside and once on the otuer loop). Multiply on the inner loop and test if it is a palindrome and conditionally autoindex on loop internal if it is. Concatenate the tunnel of the outer loop.

    Table 1 d conditions will have 2470 items (each element in double, half that). Find the table max to get 906609.

    Takes a fraction of a second. If issues of speed, there are many possible improvements (for example, we multiply twice most!, we only need to keep the current max in a shift register (not to accumulate all the items), etc.).

  • DAQ USB-6008 will be able to power and record voltage for UMS T5 blood pressure at the same time?

    I would use my NI USB-6008 to power my blood pressure monitor UMS T5 (http://www.ums-muc.de/en/products/tensiometer/t5.html) but also to take readings of it, but I don't know if it's possible to do it properly. The power supply for the instrument can be as low as 5V, I can easily get the dedicated + 5V channel. I'm able to feed the instrument and connect it to an analog input on the 6008 and measure a voltage in differential mode. However, when you read the documentation of support for the instrument, I find the following:

    "Potential pitfalls of data acquisition: the pressure transducer is configured in a full Wheatstone bridge, the input voltage and mV signal output can be connected to the same reference (mass)." Therefore, the mV output signal can be measured using a differential voltage measurement. Therefore, do not make an asymmetric measure of pressure transducer mV output. "(http://www.decagon.com/assets/Uploads/MeasuringUMSTensiometerswithnon-UMSControlandDataAcquisitionSystems.pdf)

    My understanding is that the 6008 can take a differential measure if I attach the signal '+' and the signal "-" to the analog inputs of positive and negative terminals. However, it seems that all the ports of ground on the 6008 are grounded to the same reference, which would make my measure of invalid tension according to the above paragraph. So my real question is: if I try to record the voltage with one of the analog inputs on the 6008 in this way, is the valid measurement? Or I need to find a separate power supply, with a different reference field to ensure that the measure is accurate?

    The technical details of this device is very poor. The manual is not much better. Companies that want to sell scientific equipment should publish decent cards or get out of business.

    In section 3.4.3 General requirements the device is described as a "bridge not amplified circuit.  This information along with the impedance of the bridge should be in the specifications, because it is essential to apply the device under any circumstances other than the nominal behavior in 10.6 V.

    The answer to your question is:

    You can use it with the box USB-6008.  The 5 V supply will result in output voltages a little less than half (5/10.6) the voltage specified in nominal conditions. You can use the differential input mode on the box USB-6008.  The absolute input voltages will be approximately 2.5 V with the 5 V power supply. This voltage is in the range of the aircraft. The differences are likely to be less than 100 mV. The resolution of the USB-6008 on the + /-1 V is located about 0.5 mV so your resolution of pressure will be about 1% of full scale. The voltage input impedance and termination of the USB-6008 will present a few errors.  These can be in the order of 5 to 10%. I can't predict much better without the missing bridge impedance specification.  These errors should be relatively constant and systematic. A calibration of the whole system - sensor and together hardware DAQ should allow you to compensate for a large part of this error.

    Lynn

  • E/s digital USB-6008 changes when the system starts

    I was intending to use the USB-6008 housing in a critical application in which the digital I/o lines are used to trigger relays.  The relay should activate when I ask them programmatically.  Otherwise, they must remain open.  The problem is that during a reboot of the operating system, the e/s digital USB-6008 go up and down several times - opening and closing my relay.  It is not acceptable for my application.

    Is it possible to prevent the lines to reach logical high except if ordered to do so?

    There is no way to set the startup on the 6008 States.

    As the system USB boot devices and turns on power to the computer and off the power to the USB ports, on the DIO lines go up and down several times.

    You will need to put a logic of material extra, just after data acquisition to ensure that potentially dangerous output combinations cannot affect the relay and the elements they control.

  • Computer doesn't recognize is not the Vista USB devices

    I have been looking for forums for hours. I put music on my mp3 and it worked fine, I switch between two different players. then I went to plug one of them in and... . nothing. USB ports are supported but computer, do not put the devices, I can't access it anywhere. Ditto for everything I plug into them. fee but usually has access to any device I plug im in. going to vegas tomorrow and would really like to put new music on my player. can anyone help please?

    * original title - USB problem *.

    Hello

    ·        You get an error message when you connect the USB device?

    Method 1:

    I suggest you follow the steps mentioned below and check if the problem is resolved.

    With the drive plugged in

    1. go to Control Panel by clicking the Start button and select Administrative Tools.

    2. click computer management , and then select disk management on the left

    3. then turn on the player.

    Method 2:

    I suggest to assign a new drive letter and check if the USB key questions in the computer.

    Change, add, or remove a drive letter

    http://Windows.Microsoft.com/en-us/Windows7/change-add-or-remove-a-drive-letter

    Method 3:

    Remove and reinstall all USB controllers. To remove and reinstall all USB controllers, follow these steps:

    1. click Startand click run type sysdm.cpl in the area of publication, and then click OK.

    2 click the hardware tab .

    3. click the Device Manager button.

    4. develop Bus USB controllers.

    5 right-click every device under the theUniversal Serial Bus controllers node and then click Uninstall to remove them one at a time.

    6. restart the computer and reinstall the USB controllers.

    7. connect the removable USB storage device and test to make sure that the problem is solved.

    Thanks and regards.

    Thahaseena M
    Microsoft Answers Support Engineer.
    Visit our Microsoft answers feedback Forum and let us know what you think.

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

  • Measurement of voltage USB 6008 ranging from 1mV

    Hi, I'm doing a supply at an angle for an amplifier using the USB-6008. The ranges I look are - 0.5 to 0.5 V and 0.5 to 2.5 V. To generate negative tensions, I use the + 2, 5V for a reading of differential voltage output as a 'ground '. Voltage measures have a delay that varies with the voltage, given this by drawing these variations and set the output to data acquisition there is still a 'noise' of +/-1 mv so that it is clear from this parcel of tension against the sample number:

    It seems that at some point the values are being rounded up to the nearest millivolt. I need to get to a resolution of 0.5 mV for my device, it will be possible with the USB-6008?

    The AO USB-600 x has a range from 0 to + 5 V and the 12-bit resolution. 5/4096 = 1.22 mV. Absolute precision is 7 mV typical and 36.4 mV maximum full scale.  The noise of the AO is not specified.

    If you measure the results with THE USB-6008, you have at least 0.5 mV, similar resolution system noise and absolute accuracy of 2.5 mV or more.

    It's probably as good as you will get with the box USB-6008.

    Lynn

  • NEITHER USB 6008 OEM DEATH

    Hello

    I have a problem with some NI USB 6008 OEM.

    They do not work! I have attached to my PC and the light starts flashing, Windows detects new hardware and everything's fine (the same way it usually works with the regular OEM-NIUSB6008 Board, not).

    Suddunly led turns OFF, and the jury never come back to life again. I run the MeasurementStudio, and I see the boards with a red cross or without serial number (when they are shown as if they were present in the system).

    I bought 10 boards and I don't want to try with anyone, because I don't know what is happening and I don't want to kill them all :-(

    We have developed some equipment with regular tips and there is no problem... What is the mystery with the OEM ones?

    Help, please.

    Thank you!!

    Hi Luciano,

    Thanks for your response and documentation on the flashing led behavior. It helped me a lot to know that if the led is flashing, it could be because it is not properly initialized.

    In fact, I had the 8.1 DAQmx version installed on my PC that worked perfectly well with regular advice to the NI USB-6008 (boxed version).

    When I plugged the OEM boards, the system seemed to load the drivers and then a message pops up saying "your device is ready to use", but as you know when I opened MAX he didn't have a serial number, or sometimes, he appeared with a red cross.

    So, I downloaded a newer driver: DAQmx 8.8. ... I installed it on my PC (first remove DAQmx8.1) and it worked

    So, the problem is solved! The problem was, I think, because of the bad initialization of the device. The problem is solved by installing a DAQmx 8.8 version. It works very well with regular and USB-6008 OEM boards.

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

  • AO. MaxRate, AO. MinRate, AO. Properties of voltage. RNGs for hardware DAQ USB-6008

    Hello

    in one of my report, I use the AO. Property of Voltage.Rngs to see if the selected DAQ card takes in charge the application voltage range. This works very well for my PCMCIA card as well as a PCI card. Now run the same VI with a USB-6008 device, this property gives all the return values. In addition, the report of AO.max.rate and AO.min.rate of the '0', the output is-200197 error properties. I use DAQmx as it is supposed to support the same functions for all DAQmx devices. Can someone please tell me what wrong here and how can I get around this?

    Best regards

    Gabs

    AO.min.rate and AO.max.rate are 0 and error-200197 back because the USB-6008 case supports the outputs analog hardware timed.  The description of error is "device does not support this property."  There is an entrance to the knowledge base for this question.

    By selecting 'Use Waveform' uses the synchronization of the sample clock.  The waveform data type specifies a delta t, which is used to set the sample clock frequency.  It is not supported on the box USB-6008.  You shouldn't set your calendar of sample type or explicitly assign the "On Demand".

    The DAQmx driver supports hundreds of different devices.  Not all combinations of properties are valid for all devices.

  • 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

Maybe you are looking for

  • How can I override blocking of internet explore my download to XP?

    I just restored a fifteen year old computer. It runs on Windows XP. When I go on internet explore and try to download Firefox, I get messages from security. I tried to substitute the blocking by going to security tools, but nothing works.

  • iPhone trade-up

    I'm looking to upgrade an iPhone to an iPhone 5s SE and wanted to take advantage of the trade of Apple store program. http://www.Apple.com/iPhone/trade-up/ Before going to the store, I'm pretty sure I should backup all my data on my PC or iCloud.  Ho

  • Error "bad check sum"on Satellite Pro 405CS

    I have a problem with a Toshiba Setellite Pro 405CS Bad checksum (CMOS) *.Check the system. Then press the [F1] key This happens shortly after turning the power on and is the first thing that comes to the screen Any ideas? Thank you

  • 5520 all in the transport of a printer jam

    I unplugged, turned off moved round-trip transportation, and again, it will not be printed. Before it stopped working it's some unpleasant noise like a machine gun. I guess that is not a good thing? Please help or is this another throw away?

  • screenshot tablet hp7 more

    I tried to press the power button and the volume button at the same time, place & down, separately. Unfortunately no, everything worked. Is there another way to take a Screenshot?