DAQ hardware Finder

I try to use 5133 (USB) DAQ, but the device number can change some time, since USB snap-in to disconnect or connect other devices.

Originally, I try to use the attached vi to detect the number of devices, but doesn't seem to work this time. Any suggestion? Thank you.

See this.

Tags: NI Software

Similar Questions

  • Determine the number of traditional DAQ hardware using Labview.

    Hello

    Anyone can answer the question:

    Regarding materials traditional DAQ, for example the DMM OR-4060, how

    can I programmatically determine the number of device which can be seen in MAX?

    With the help of Labview 8.5, I looked into the following function libraries:

    NOR-DMM

    VISA

    NOR-ModInst

    None of the libraries above seem to provide access the number of traditional DAQ hardware

    property, which is automatically assigned.

    Background:

    I have a 18 PXI chassis containing 2 DMM, in housing 3 and 14.

    The DMM may be a mixture of type OR-4060 or NOR-4070.

    The system is controlled by a Teststand sequence employing IVI - DMM

    steps.

    When you set the IVI logical name step, I am referring to IVI device defined Sessions

    Max - rutime determined.

    Labview VISA functions using I can determine the model, i.e. 4060 or 4070.

    Because the DMM just locate into the slots 3 or 14, then the devices NOR-4070

    are accessible using the following descriptors of resources: PXI1Slot3 or

    PXISlot14.

    (The 4070 is compatible DAQmX.)

    So for devices OR-4070, I can predefine 2 Sessions of IVI device, knowing

    It will be sufficient for all occasions, when I run my Teststand sequence, which will be

    determine what device session to use at run time.

    But I'm stuck for the NOR-4060.

    At the Session of the device, I have to give a descriptor of resource the following

    format: DAQ::x (where x is the device number)

    I could create device 18 sessions each reference to a different DAQ::x, but to select

    the good pair during execution, I would need to programmatically determine the device

    number, i.e. the value of x.

    Where my question.

    The closest I came to a solution was an entry of the Knowledge Base that said that the

    Assigned device number would be the same as the slot number, providing the

    Number of the device had not previously configured manually.

    Unfortunately, our device numbers have been changed manually and maybe in the future.

    All popular solutions.

    Gary.

    Hi Gary,.

    Good afternoon and I hope that your well today.

    Thanks for your post and I want to help you solve your problems.

    I don't think there is just a function that you can use to identify and collect information on all cards with your. For traditional DAQ devices in particular I suggest using the Information.vi of DAQ devices get.

    If you look at this link,

    SAL posted an example VI entitled, find dev trad.vi.

    You can get information such as serial number, Dev name and the Base address.

    The assistance of the respective drivers to collect information you could generate an array of strings with the information that you need all the slots.

    Please let me know if this is useful at all,

  • Multiple Instances of the Application to access the same DAQ hardware

    I have a relatively simple application that reads from a device of data acquisition (OR-9205 connected to NI WLS-9163) wireless.  I would like to run multiple instances of the executable, but I get the error-201105 (resource reserved) as soon as the DAQmx task starts on the second instance.  Each instance tries to acquire different channels of the same DAQ hardware.  Is this a problem with the data acquisition device, or DAQmx in general?  Thank you.

    -Joe

    Hey Joe,

    Unfortunately, you can only one type of access channel with each program.  For example, you might HAVE a program access and another use AO, but you can't have two programs different AI the same access card.  It is common among all of the DAQ hardware to NEITHER.

  • Diffenernce / choice between using a shielded connection block (2120 BNC) or the DAQ hardware?

    Hello

    We build a new configuration of lab that will need hardware in the loop detection by sensors data and formatting / analysis using programs and possibly return data in material for the control.

    We are confused that the connection block shielded BNC (who has the outputs and analog inputs / digital) or a DAQ hardware for can be used?

    What are the main differences between them?

    shed light on the above is very appreciated...

    Best regards

    FESMI

    FESMI wrote:

    We are confused that the connection block shielded BNC (who has the outputs and analog inputs / digital) or a DAQ hardware for can be used?

    Data acquisition is what is the real measure of the signals.  The Terminal is just a simple way to route signals for data acquisition.  If you can actually the terminal box, cable and card DAQ.

    I highly recommend talking to your representative local sales OR to make sure that you get exactly what you need.

  • Difference between an instrument and DAQ hardware

    Hello

    I am very new to Labview and at this time I'm trying to grasp the concepts.

    Can someone explain to me what is the difference between a DAQ hardware and an instrument (that we can control).

    Also why they are placed in a different section in the palette function (measure I\O and Instrument I\O)?

    João

    In simple terms, hardware DAQ (measures of e/s) interface with NOR-DAQmx (or other drivers NEITHER as NOR-SCOPE) to measure, while the Instruments are often external to the computer and not rely on a computer to measure and use generally the VISA (or an abstraction of the VISA).

    Instrument of e/s

    http://zone.NI.com/reference/en-XX/help/371361K-01/lvmeasconcepts/instrument_i_o/

    Measure IO

    http://zone.NI.com/reference/en-XX/help/371361K-01/lvinstio/ni_meas_vis_func/

  • How to set the sampling interval using DAQ hardware?

    Now I have a sensor capability and hardware DAQ 24 bit (http://www.mccdaq.com/usb-data-acquisition/USB-2404-10.aspx).

    The DAQ hardware has the 50kS/s maximum sampling rate. My question is how to define the range of data collection. For example, if I set the sampling rate of 2000, continuous sample mode, I use read.vi DAQmx in a while loop and set the "number of samples per channel" to 100. I want to plot these data over time using a XY Chart and also save this data. So I add a 'Medium' function to get the average of 100 samples per each loop (medium, there are 20 release of data per second). But when I put a 'number of samples per channel' much more small (for more data per second), there are a few problems. It seems that the program cannot read the data as much and get the average at a higher frequency. I don't know where is the problem. Overall, the collection of data more frequently? Maybe I didn't articulate my question. I'll upload a simple program later if necessary. Thank you.


  • We can connect the output of the sensor directly to the DAQ hardware or any interface necessary?

    We can connect the output of the sensor directly to the DAQ hardware or any interface necessary? If so wat kinda necessary interface?

    How to change the sensor output to match entry-level data acquisition?

    If the sensor output beyond daq range is provided. What are its effects? pls answer

    -It depends on your signal and the type of device you have. Your DAQ provides a package of signals? Also, what type of signal you want to measure? You must select DAQ that matches that. Take a look at the following before you start:

    Getting started with NO-DAQmx: Main Page

    And take a look at table 1 in the following article to wire your signal to the right:

    Wiring and considerations of noise for analog signals

    -You will need to use external circuitory to match the input of data acquisition range.

    -You could damage the unit.

    If you have any other questions, please after return. And, don't forget to give more details about your configuration, the hardware and what you're trying to do.

  • How to simulate a DAQ hardware and use it to test applications without hardware?

                           How can I simulate a DAQ in MAX material and use it to test applications without hardware?

    If my application requires input from external hardware to do how can I simulate a DAQ hardware in LabVEIW?

    I need to simulate several digital inputs and outputs to test the software. currently I have not the material and material DAQ here.

    answer with your valuable suggestions.

    Thanks in advance

    RENN

    Hello

    There is no option to simulate the traditional device. You need hardware for it so I would say to simulate a PXI system that has a configuration similar to the PCI-6014 and make a small change to your request...

  • Block access to the DAQ hardware

    Hello everyone

    I develop a labview application using USB cDAQ 9174 and I want to block access to my material, so the only way to use the material is through my labview application. Is there a tool or a way to protect the material?

    I am concerned about someone installing a new application in my system and can then use my DAQ for new application installed.
    In my view, which can be prevented by setting permissions in windows.

  • How to put in place of the daq hardware several lists on a shield with ecu mc toolkit?

    Anyone has the pleasure to set up multiple lists on an ECU data acquisition?

    I use MC Addon for Labview ECU 2011.  I can successfully a single list of acquisition of configuration data and read the data correctly.  This method uses the DAQ list mode to initialize instead of polling, it really cuts down ensuring CAN.

    I do not have my VI on this PC, but it's basically ECU Connect > initialize ECU DAQ list (sample rate and channel list sets) > ECU transmit DAQ list to ECU > DAQ Start list > LOOP {ECU read}

    I need to create a second list for the acquisition of data to sample at a different pace.  Any ideas?

    Thank you

    Ben

    I continued to play with the read command and finally successful initialization to do work.

    Sorry for the rough state of the son, but I just got to run :-)

  • acquire signals permanently using DAQ hardware

    Hello friends,

    I'm relatively new to LabView. I would like to record temperature of 12 channels (analog input) signal.

    I would have preferred that the signals are recorded in a spreadsheet on an ongoing basis. I realized

    This goal. However, I was not able to control the frequency and samples to save correctly.

    I need 12 temperatures to be recorded continuously at intervals of 3 seconds and I need 200 samples in all.

    Could someone please suggest the correct setting of the DAQ?...

    My approach has been to save 1 sample per second with the timeout of 3 seconds and stop after 600 sec in a while loop

    Any help is valauable for me.

    Thank you and best regards,

    Chirag

    PS: Block attached

    With the settings of your DAQ Assistant, you take a sample every 2 seconds - at least with the calculation of the means. So, you can change the number of samples at 30 and use a time elapsed function to stop the VI. Be aware that with the evolution of the number of samples than the sampling frequency, your VI will be slow to react to the stop button. You should also be aware that using writing to the spreadsheet file is a bit slow and you might encounter a problem to keep in touch with acquisition continues. You can look at the architecture of producer/consumer to separate the loop of the acquisition of logging. Your writing to the worksheet is also throw all calendar information. I don't know what happens to the data conversion dynamics. I never use dynamic data.

  • scaling problems with the DAQ hardware help

    I am a new user and I'm trying to do a simple scaling of my entries of tension using the DAQ help. For example: a channel entered around 8V on a 0 to 10V input selection. I'm trying to resize it (linear) to show me around 28V using y = mx + b formula. My value of m is 3.2 and b 0. What DAQ Assistant bed is close to 16V instead of 25V (3.2 * 8). I custom make several scales, basically multiplying the entry of 2, 3, 4, 5, & but none exits causes what I expected according to the formula, and even the 5 x the value decrease. If I go to "not to scale", I read 8V, which is what actually happens in the 6255 map. Any thoughts?

    Hello DB66.

    Remember that the scope of the input Signal must be defined scale post. How do you set as your input signal range, you're reading may be scaling themselves within the reach of the input signal. A value of coefficient of 3.2, the stove must be Max = 32 Min =-32, since your device probably has a +/-10V range.

    Hope that helps.

  • Why my DAQ hardware register a voltage to any input pin that is connected?

    I use a NI USB DAQ 6211 with LabVIEW.  I am trying to send an output through one of my braces AO, which is connected to one of my pins HAVE.  I want to read further in the tension of the PIN to HAVE it.  However, whenever I have something connected to my PIN AI, regardless of if it is fed, he enrolled at 10,91 volts voltage.  Any ideas?


  • Error to the element of the queue with simulated signal, but not with the DAQ hardware

    Hello.  I get an error code 1 when I run my VI in simulation mode, which is only 3 simulate subvis signal at different frequencies.  The block diagram shows jpg file and the probe is after I stop the VI.  Note that there is an invalid refnum.  I don't know why that is.  I am also including the watch of the probe after a few iterations, there is no error on the probe 64 until I stop the VI, and also noted that there have been no queue items.  This of course means that I don't get to remove the data in loop 2.  An interesting note is that the system works fine when I run the program in data acquisition mode, which is the other case behind the 'simulate signals. "  In this case, the only thing is the DAQ assistant and dynamic data of the tunnel cable.  Everyone can't see what I could do wrong?  Thank you.

    Thanks for looking at my post.  I thought about it about five minutes ago.  I didn't have a timeout on the handeler event, so it was not double check for new items in the queue.  I don't know yet why the probe shows showes that items have not put in the queue because they certainly were.  Maybe "queue items 0" means that there are no items saved in the queue. ?

    Your concern is interesting and deserves a check...  I just ran it without registration, and it seems that the release of the case (the default) record structure is just an empty DDT, a placeholder, I guess.

  • is daq bit resolution applied to the area defined in the daq assistant or well to the limits of physical blood of the daq hardware.

    Hello, this is my first post here,

    I've been wondering about this:

    When you configure a new daq with the daq Assistant, is the resolution applied to the voltage / number of entries you define, or is it a fixed value per volt by channel.

    For example:

    I have a 6015 usb data acquisition, it has 16 inputs analog, 16-bit resolution 250 kech. / s 09:50 volts.

    so is this as (2 ^ 16) / (16 * (-10-10)) = my resolution through volt?

    or that this has nothing to do with the amount of channels,

    If I want to measure more than 0 to 5 volts, my 16-bit apply from 0 to 5, or even more scale of data acquisition (which is 09:50 volts)

    Thank you

    Marco

    You will get full-resolution 16 bits on each channel regardless of the number of channels is configured.  Renault most are multi-plexed if your specification of sampling RATE in usually a global significance that you can only scan channels with a sampling frequency = MAX RATE / number of CHANNELS.  Also, most NI Renault have a Programmable Gain amplifier on the front-end server, so if you specify a range of voltage smaller in your task configuration the amplifier will automatically increase the gain to use most of the possible BIT ADC.  You see care device and for more details...

Maybe you are looking for

  • Video call does not

    When I talk to another person via Video Call my WebCam video watch is not for me or anyone I speak.My WebCam Logitech WebCam HD c525 and ISkype latest version 5.10.0.116and the latest Logitech drivers for my cam.After I finished my call (audio call w

  • Satellite L300 - hard drive upgrade

    Hey guys,. I had a quick search, but I'm sorry if this has already been asked and answered successfully... But anyway. My girlfriend has easily filled its 120 GB hard drive and wants to expand. I see that it can be improved in two other sizes (includ

  • How can I do a lot of formulas change

    I'm doing a batch date change from 2015 to 2016 for all forms in a document of numbers for version 3.6.1. A previous version of a number allowed this.

  • Pavilion 1303au g4: Upgradation in my old laptop

    model:-pavilion g4 1303au RAM:-6 GB Processor :-amd a4 3330mx I want to change portable so that it can work at its peak, but don't know how I am. I want to ask - is it possible to change the usb connectors of my laptop USB 2.0 to usb 3.0 is it possib

  • Uninstalling a game called "stanley wild for sharks.

    Uninstalling a game called "stanley wild for sharks.  This game is listed as 9 622 MB.  I tried to use the control panel Add Remove programs but no luck. any suggestions?