Initialization of the CDAQ

Hello

I use cdaq-9188 system. It was connected by ethernet to the PC. before starting my application, I need to check my cdaq hardware initialization.

I mean wheather all IO models are connected properly and works fine

you will need to check that the cdaq controller is busy or no status.

need to check is to reserve or cancel the hardware or not.

If the condition is pass, and then must start my application or by message.

which is the best way to identify these task. ?

There are three cases:

1. the cDAQ-9188 is reserved per person.

2. the cDAQ-9188 is reserved by the host.

3. the cDAQ-9188 is reserved by another host.

There is no direct way to query the status of booking, but you can deduce from the Self Test, which will return an error:

1. you get an error. (- 201388 ' network device is not reserved for this host. ")

2 self-test will work normally.

3. you get an error. (- 201288 "network device is not reserved for this host.")

This may be sufficient for your needs. If you want great between cases #1 and #3 case, then network DAQmx device reserve with the 'override' argument set to false reservation has different side effects:

1. the cDAQ-9188 gets booked by the host.

2. the cDAQ-9188 continues to be reserved by the host. (no change)

3. you get an error. (-201420 "the network device is currently reserved by another host.)

Tags: NI Hardware

Similar Questions

  • DAQ Assistant do not find channels of the cDAQ

    We recently bought the Compact DAQ and two thermocouple modules 16 channels.  I am trying to change a code to use a Pico USB logger for the cDAQ and I'm trying to follow the examples found on your Web site using the DAQ Assistant.  Initializes the DAQ Assistant, and I choose analog input for the selection of Signal acquisition.  When I select the option of Thermocouple temperature section, it says "reading of Lecture de Configuration Configuration of the system, please wait...". "but it never picks the cDAQ channels.  I installed drivers and recoginizes of the USB port on the device (and the light indicates that it is in "ready" mode), but it has never been "Reading System Configuration."

    Thank you for your time.

    Solution has been found.  It turns out that the data folder was corrupted files it contains.  Once that I deleted it MAX started to work very well.

  • Re: Satellite L300 - initialization of the webcam

    Hi all!

    I have installed Windows 7 on my Satellite L300 and the only problem I have, is that the built-in webcam does not work.
    I downloaded the software from Windows 7, but each time after reboot it tells me, that there is a problem with the initialization of the webcam.

    Any ideas to solve the problem?

    Thank you

    Hey,.

    What exactly downloaded Windows 7 software? You need the Camera Assistant Software to get the job of the webcam. You can download it on the Toshiba page.
    Did you do that?

    And what Satellite L300 you use exactly?
    You did an upgrade from Vista?

  • Satellite L300-29V - failed to initialize for the logon process

    Hello

    Trying to upgrade my Satellite L300 - 29V Vista Home Premium to the Toshiba provided Win 7 Home premium with the help of the upgrade DVD Toshiba. I tried this many times now with no success. On each attempt, I get the message "* logon process initialization failed - the Interactive logon process initialization has failed. For more details, please see the event log. "*.

    At this point, the mouse is active, but none of the keyboard keys control apart from the pointer appears only on the area of the event, enter and esc. Pressure on one of them or by clicking on the OK button or Cancel will be empty of the screen. A minute later, the blue screen of death will be appear and disappear quickly, after that, I have the option load Win 7 or return to Win Vista. Do go back to Vista (which I did several times that I care to remember) is not a problem and the laptop runs without problem later. At any time I am able to view the event log.

    I followed the instructions given by the upgrade DVD, IE. removing the drivers and continued on the upgrade to Windows 7. I've updated the mobile site to download drivers/software Toshiba in order to have the machine as much upto date possible - everything to nothing is outside having more drivers to remove using the upgrade DVD.

    The only thing I did is to back up my data and recover Vista to factory settings and load on top of Vista in this way.

    But before that I'm looking for the Forum of Toshiba for any useful advice - someone else has had this problem or does anyone know a way around this - if so I would appreciate your help.

    See you soon

    Dleifynot

    It is really strange. I've updated Qosmio x 300 and Satellite A500 by using Toshiba upgrade kit.
    No problem at all.

    Did you follow instruction as described on http://aps2.toshiba-tro.de/kb0/TSB9902P60000R01.htm?

  • Difference between the cDAQ-9174 and cDAQ-9178

    I have several cRIO-9081.  Each cRIO-9081 running NOR-DAQmx 15.5.  On four of the cRIO-9018 we show you cDAQ - 9178 with 8 modules.  Everything just worked.  On the fifth cRIO-9018, we tried to connect a cDAQ-9174.  The aircraft appeared in the Windows Device Manager and MAX, but MAX has indicated that the aircraft was missing (error-88705) and that Windows can't find a driver for the instrument.

    We then plugged a cDAQ-9178 in the fifth cRIO and everything just worked.

    What is the difference between a cDAQ-9174 and cDAQ-9178 other than the number of the module support?

    Paul

    Hi Paul,.

    It seems it could be a driver problem! What DAQmx version you have installed on two computers? Reinstall the latest version may be worth it because it looks like there may be corruption. You can find the latest version here: http://www.ni.com/download/ni-daqmx-15.5/5901/en/

    You can manually associate the device driver, here: http://digital.ni.com/public.nsf/allkb/5B80CAAA64413B4C86256C5E0000C1A7

    There are modules connected to the cDAQ chassis?

    Also, sometimes, this can happen if you do not restart your computer after the installation of the NOR-DAQmx driver. Restart your computer after the driver installation will allow you to reserve the device successfully. Here are a few others not to try:

    • Check the charger to device OR to see if it is running

    • Reset the service OR charger

    • Reset the MAX Configuration database

    • The system power cycle

  • How many quadrature encoders may be read together with the cDAQ-9188 chassis?

    We will record position periodically 8 engines (at the same time as we are to the corresponding samples entered analog).  It seems that the 4 built-in counters limited chassis to 4 encoders.  Is this correct?  I am familiar with modules of counter PLC which manage high-speed counting, and then the CPU posts periodically to update the total values.  This is how the NI 9401 card would work?

    Hi jtrout,

    You are right the 4 built-in counters than the cDAQ-9188 chassis 4 encoders.  The following article deals with the use of the NI 9401 card for encoder measures: http://www.ni.com/tutorial/7109/en/.

  • crash of the cDaq 9132

    I have 4 new cDAQ-9132 systems that go into the production thgis week.  During the last two weeks that these systems are running, they break.  Here's what's happening.

    1. the system runs our application, or in some cases, just sitting there running Windows 7

    2 the screen goes black, and there is no further response from the system.  The power light on the controller is running.

    Restart the monitor doesn't do anything, unplug and reinsert the VGA does nothing.  No response from the keyboard at all.

    3 press the RESET button or power cycle using the power button will restart the computer.  Windows error logs have no information at all at the time of the accident, clean everything up to the new entries to the log at startup.

    A strange thing about setting, is that there are very long VGA and USB cables.  16 feet.  Two USB cables go 16 feet each two separate powered USB hubs.  A hub has a touchscreen and keyboard, the other hub has a barcode scanner and a printer.

    Four of these systems have all have the same symptoms.  All four grids have a 9229 and a 9422 of each.

    I set the bios on a USB overcurrent in the operating system report and stay OFF If there is a power failure.  We used a stroke of luck using Min/Max to check the variability on power supply 24VDC used for controller, nothing was found.  The controller has its own dedicated to food.  Due to a quirk of the command, two system have a 24V supply type, the other two systems have a different provider supply.  All the supplies are more than adequate for the controller.

    You can provide any assistance is greatly appreciated!

    Hello Palickar,

    Is it possible to try to launch the cDAQs without long USB cables to exclude them as causes of accidents? If the chassis still crash without long cables USB, then maybe it might have something to do with the way in which power is supplied to the chassis.

    Could you confirm that your installation complies with the section titled "electrical wiring for the cDAQ-9132 OR? :

    http://www.NI.com/PDF/manuals/371801b_02.PDF

  • amplification of the strain by using the cDAQ

    Hello

    I am a newbie in the use of DAQ hardware and hope someone can help out me.

    I recently bought a cDAQ with the NI 9237 to measure the strains. The strains that I try to measure are very small 1 series micro. A bit of research showed me that I need to amplify the signal to measure these small strains (correct me if I'm wrong). But I'm not able to find amplifiers for the cDAQ.So, the questions I have are-

    1. is it possible to measure these small strains (1 strain micro) using the cDAQ? If so, do I need an amplifier?

    2. If I need an amplifier, are there more specific for the cDAQ with the 9237? If this is not the case, how and where can I get one?

    Thank you

    SID

    SID,

    These results were very shocking for me also, so I looked into it further.  It seems that the 9237 can do better.   Assuming you're within 5 degrees of the calibration temperature (25 ° C), 9237. 05% of span of error and. 05% offset error.  With the range of configuration and 25mV/V full-bridge, you can calculate the absolute accuracy of the 9237 with the following formula.  (Sound of full-bridge = 0.9 microV/V)

    absolute accuracy = (gain error * reading) + (error offset * range) + (noise)

    Do the math, we get

    25mV/V + / 25.9 microV/V

    In a full-bridge configuration: V/Vex =-(Gauge Factor) * strain


    With a typical GF of ~ 2.0, we can say that the accuracy of the strain will be

    12.5 mm/m + / microm 12.95/m

    It's a little more in the range that you hoped for.  Sorry for the confusion.

    If this does not work for you, we sell solutions PXI who will be able to measure more precisely.  Similar math help and type of configuration of full-bridge with SMU 4330 plug, we get:

    12.5 mm/m + / 3.48 microm/m

    In my view, that it is card data acquisition based on a bridge more precise and accurate that we sell.  It requires a controller/chasis PXI.

    Please let me know if you have any other questions!

    Sincerely,

  • Compile 32-bit programs on the cDAQ RT Linux

    I have a (OR-9134) running Linux RT NI cDAQ

    I am unable to get it compile 32-bit programs. The steps I've done were:

    1 used "opkg" to install all the 'gcc', 'CPP', "gcc-symlinks", etc. - that I could see associated compilers.

    2 export CFLAGS = "-m32' export CXXFLAGS ="m32", export LDFLAGS = 'm32'"

    3 CFLAGS = "-m32". / configure

    However only 64-bit binary are generated.

    I'm unable to find through "opkg" all packages associated with 32-bit builds or anything related to 'multilib '. Could you get it someone please let me know how do NI Linux RT generate binary 32 bits?

    Looks like you are saying that you need a 32-bit library to work with 32-bit LabVIEW. However, LabVIEW on your target cDAQ is 64-bit, as all software on our basic objectives of Linux RT Atom (the ARM-based targets are 32-bit). So, if you want your HDF5 library to run on the target of the cDAQ to 64-bit, you must use a 64-bit version of HDF5. This is true even if you connect/deployment to the target of a 32-bit version of LabVIEW.

    Of course, if you want to run HDF5 on a 32-bit system, as a target of LabVIEW RT with ARM 32-bit processor, or LabVIEW RT older targets that use VxWorks or Phar Lap instead of Linux, or a 32-bit desktop machine running Windows or any other OS, you will need a 32-bit version of HDF5. But I would not recommend trying to build HDF5 for these environments of your cDAQ. I recommend compiling natively on the cDAQ, if you at all (*), for the code, you intend to run on the cDAQ.

    (*) You should be aware of this already, but you can cross - compile your HDF5 library using Eclipse, i.e. http://www.ni.com/download/labview-real-time-module-2014/4846/en/ - some people prefer this to the compilation on the target, which is a little limited resources.

  • The transition of the cDAQ to cDAQ ENET USB

    Hello community,

    For some reason, I'd probably change some of the cDAQ USB chassis that I use for the Ethernet frame cDAQ base. I already have some applications developed on the platform of the USB and I was wondering how painful (or even at all) migration from USB to Ethernet. I guess also assign an IP address to the chassis and set it up in MAX, it should be relatively easy.

    It would be nice to know about problems I can cope.

    Thank you.

    As far as I saw, just that everything is set up in MAX, and then it is homogeneous in all of your applications.  You may need to remove all instances of your USB cDAQ located in MAX in order to reuse the virtual name.

  • buffer size and sync with the cDAQ 9188 problems and Visual Basic

    Hi all, I have a cDAQ-9188 with 9235 for quarter bridge straing caliber acquisition module.

    I would appreciate help to understand how synchronization and buffer.

    I do not use LabView: I'm developing in Visual Basic, Visual Studio 2010.

    I developed my app of the NI AcqStrainSample example. What I found in the order is:

    -CreateStrainGageChannel

    -ConfigureSampleClock

    -create an AnalogMultiChannelReader

    and

    -Start the task

    There is a timer in the VB application, once the task begun, that triggers the playback feature. This function uses:

    -AnalogMultiChannelReader.ReadWaveform (- 1).

    I have no problem with CreateStrainGageChannel, I put 8 channels and other settings.

    Regarding the ConfigureSampleClock, I have some doubts. I want a continuous acquisition, then I put the internal rate, signal source 1000, continuous sample mode, I set the size buffer using the parameter "sampled by channel.

    What I wonder is:

    (1) can I put any kind of buffer size? That the limited hardware of the module (9235) or DAQ (9188)?

    (2) can I read the buffer, let's say, once per second and read all samples stored in it?

    (3) do I have to implement my own buffer for playback of data acquisition, or it is not necessary?

    (4) because I don't want to lose packets: y at - it a timestamp index or a package, I can use to check for this?

    Thank you very much for the help

    Hi Roberto-

    I will address each of your questions:

    (1) can I put any kind of buffer size? That the limited hardware of the module (9235) or DAQ (9188)?

    The samplesPerChannel parameter has different features according to the synchronization mode, you choose.  If you choose finished samples the parameter samplesPerChannel determines how many sample clocks to generate and also determines the exact size to use.  But if you use streaming samples, the samplesPerChannel and speed settings are used together to determine the size of the buffer, according to this excerpt from the reference help C DAQmx:

    Note that this buffer is a buffer software host-side.  There can be no impact on the material available on the cDAQ-9188 or NI 9235 buffers.  These devices each have relatively small equipment pads and their firmware and the Driver NOR-DAQmx driver software transfer data device to automatically host and the most effective way possible.  The buffer on the host side then holds the data until you call DAQmx Read or otherwise the input stream of service.

    (2) can I read the buffer, let's say, once per second and read all samples stored in it?

    Yes.  You would achieve this by choosing a DAQmx Read size equal to the inverse of the sampling frequency (during 1 second data) or a multiple of that of the other playback times.

    (3) do I have to implement my own buffer for playback of data acquisition, or it is not necessary?

    No, you should not need to implement your own stamp.  The DAQmx buffer on the host side will contain the data until you call the DAQmx Read function.  If you want to read from this buffer less frequently you should consider increasing its size to avoid the overflow of this buffer.  Which brings me to your next question...

    (4) because I don't want to lose packets: y at - it a timestamp index or a package, I can use to check for this?

    DAQmx will meet you if all packets are lost.  The default behavior is to stop the flow of data and present an error if the buffer of the side host DAQmx overflows (if, for example, your application does not pick up samples of this buffer at a rate equal or faster than they are acquired, on average).

    If, for any reason, you want to let DAQmx to ignore the conditions of saturation (perhaps, for example, if you want to sample continuously at a high rate but want only interested in retrieving the most recent subset of samples), you can use the DAQmxSetReadOverWrite property and set it to DAQmx_Val_OverwriteUnreadSamps.

    I hope this helps.

  • Find the cDAQ and command module at startup

    Hello

    I have a cDAQmx (8 slots) with USB port and a module of series C. 4 modules are digital 4-channel input (up to 220 v), 1 analog input, analog output 1, 2 digital output, etc...

    I want to make my program (for testing electronic cards) is:

    (1) at startup, check if the cDAQ is present in the system (i.e. USB is plugged, drivers were already installed correctly)

    (2) also check the modules which are plugged into the cDAQmx and check if they are in the correct order.

    For example, to test the product X I need two digital inputs to slot 1 and 2 and an analog input to slot 3.

    I ask this because people in production could make the mistakes I want to avoid:

    (1) avoid forgetting to plug in the USB and begin the test

    (2) avoid to connect the wrong terminals! The plug is the same for each module, so it is possible teoretically put the connector in a 10V analog input to 220V, causing a serious injury (I know they are protected, but I want to avoid this risk).

    For the chassis, you should be able to query "Device Module names" to get the name of each module currently in the chassis:

  • Online use of relaxation on the cDAQ-9181 with a cRIO-9401 module

    I'm trying to accomplish something very simple with the cDAQ-9181 and cRIO-9401 material: when a trigger occurs, wait 20 ms and then set some digital output lines. Reading the documentation for the cDAQ-9181 and cRIO-9401, I see that there is a trigger of PFI0; I do not see a physical entry for it, so I guess that it is implemented internally in a way. I tried to use a digital camera of entry as a trigger, but I get the error-200524 with my code. I looked if the examples, but I don't see how to do it with my gear. Help, please. Thank you. See attached png for the block diagram.


  • The SD cards are recommended to be used with the cDAQ 9133?

    Embedded controllers that are the recommended type and size recommended SD cards to be used with the cDAQ Win7 9132 and 9133?

    Hardware specifications for two controllers, you will find that the SD and SDHC cards up to 32 GB are supported.  There is no model or brand recommended, but there are 16 GB (783658 - 01) and 32 GB (783659-01) maps available for purchase through the OR.  You can find those listed in the accessories section available hardware user manual.  See the fees section of the controller product page for more details.

    EDIT: Linked to the UNIFIED and product Messaging page

  • Run an application of LabVIEW 8.6 in win 7 (using the cDAQ-9172, 9219, 9422)

    Hello.

    I did a LabVIEW application for a few years. At that time, I used windows XP and labview 8.6. The material used is the cDAQ-9172, with NEITHER-9219 (reading of four strain gage sensors) and a NOR-9422 (using only a single input frequency).

    First of all, can I install my old version of labview 8.6 in my 64-bit computer to windows 7? I got an error message when I tried...

    Second, how much should I install? My old computer was slower after you install labview with its pilots. Perhaps I installed too much? Do I have to install 1, 5 GB DAQmx drivers?

    If I need a new version of labview for win 7, how much is an update?

    Thank you!

    Hello

    First version of LabVIEW which is supported on Windows 7 is LabVIEW 2009 SP1.

    Regarding the drivers, if you want to develop or run VI:s in LabVIEW with the DAQmx API, then you must install the full DAQmx driver.

    If you only meet built executable in the LabVIEW environment to run, then you just DAQmx Base Runtime.

    If you also want to be able to configure the data acquisition equipment (to the MAX) in a runtime environment, you should also Configuration DAQmx execution.

    For upgrades of licenses if please contact the local office of National Instruments or follow this link:

    http://ohm.NI.com/advisors/UA/pages/UA/intro.XHTML

    Best regards

    Klas Andersson

    OR Sweden

Maybe you are looking for

  • Qosmio G40 - upgrade memory to 4 GB

    Dear all, I want to upgrade my memory standard 2 GB (2x1GB, 667 Mhz) up to 4 GB. Clearly, I realize that only 3 GB (or something around) will be visible. * The question is choose what type RAM os and which brands/models best fit (price and performanc

  • The use of recovery with satellite Pro 300 disks?

    HelloI have a 300 satellite with recovery disc Pro, I want to give this to my daughter I copied all I need her and want to wipe it.would be very grateful if you could give me instructions step by step how use the recovery disc. Thank you

  • Why are my planes and buildings black when I played Microsoft Flight?

    Sometimes when I Aerocache hunt buildings all will be black.  And other times, I'll go for a free flight and the plane is black which is originally It?  Happens to the plane once in a while not all the time.  But the building still remain black in th

  • Audio problems with Vista

    audio is present, volume is set to 100 for maximum audibility, but it is still extremely low despite the update of drivers. At the same time (actually quite frequently) audio turns off by itself and I don't have infections or corrupted files. Any rec

  • I have a SimpleTech #96300-41001-170 standalone hard drive model. I can see it in printers & devices but will not work.

    * Original title: stand alone single Drive & WIN-7 I have a model of disc hard SimpleTech #96300-41001-170 stand alone. I can see it in the devices & Printers. but will not work. It has been designed to work with Vista, XP & 2000. I am running Win -