CDAQ 9181 NI 9239

Hi I have a cDAQ9181 with a NI 9239 device inside as a network device. When I attach the cDAQ9181 to our corporate network the Measurement & Automation Explorer has no problem in finding the device, then I simply click "add device" and the drivers of the NI 9239 are installed and I can start collecting data.
This should also work when I directly connect with the device via an ethernet cable according to the documentation, however when I do this I can only get as far as finding the device and when I want to add the device so that I can see the NI 9239 I get the following error:
So I thought it might have something to do with my firewall settings so I turned everything off but I still got this message. Then I tried using a different switch but still got the same error. Could someone give me any fresh ideas to try?

Hey Gert,
I believe you have some issues with the IP addressing. Is the device with DHCP settings and your computer on Obtain IP automatically? 
Check this thread: http://forums.ni.com/t5/Multifunction-DAQ/Error-201401-when-Add-Device-on-cDAQ-9188/td-p/1840983
Cheers!
Bozhidar

Similar Messages

  • CDAQ-9181 not detected in MAX

    I have NI device which I am trying to connect to in NIMAX however it just not getting connected to it or searched. But I see it running in NI Network browser with some random ip address which I can not ping. Hence I can't configure that device in Network browser either. 
    Any Idea what's wrong? or if there is any utility to configure it? Or it's a NI-DAQ version problem. ??
    I tried NI - MAX 5.1, 5.5 & 5.6 but no use, they all failed to detect it. 
    Where I can download just the device drivers but not whole NI suite?

    Hi prabhushrikant-
    Which version of NI-DAQmx are you using currently?  You can download the latest version here, but make sure first that it meets your O/S and LabVIEW (or other NI software) compatibility requirements.
    What 'random ip' do you see in the network browser for the device?  What happens if you try to click on the link in the network browser?  Can you tell us more about the networking setup on your PC and network?  Do you have multiple NICs in the PC?  What are their networking settings set to (DHCP, static IP, etc)?
    Tom W
    National Instruments

  • Use 9239 simultaneously in two application

    I am using only one channel 9239 ( 4 Channel Analog input) in my app, I want to use another channel of same module in another application simultaneously,is this  possible ? To initialize DAQ(NI cDAQ - 9172)  and 9239 same time in two application
    I am using labview 8.5, app is calling a DAQTASK

    No you can't You can only have one task running that uses the same hardware resource. Create a single app that reads both channels.

  • Read cDAQ device data directly into diadem

    I need to read data acquisition hardware analog channels directly into Diadem for display, logging and analysis. 
    Has anyone done this?  I cannot even find the drivers in Diadem to add it as a data source.
    Software installled: Diadem 2012  / NI MAX / Signal Express 2013 LTE
    Hardware: 2x cDAQ 9181, 1 with NI9201 -10/+10v analog input, 1 with NI 9203 current input.
    I am able to conifgure the modules, read and display then in signal express, but I have no idea how to get the channel data directly into Diadem.
    Thanks,  Jim

    Jim,
    Please check chapter 2-1 of the attached manual to set up NI hardware with DIAdem DAC.
    Let us know if you need additional information.
          Otmar
    Otmar D. Foehner
    Business Development Manager
    DIAdem and Test Data Management
    National Instruments
    Austin, TX - USA
    "For an optimist the glass is half full, for a pessimist it's half empty, and for an engineer is twice bigger than necessary."
    Attachments:
    DIAdem_DataAcquisition.pdf ‏1902 KB

  • Counter miss TELL pulses, NI DAQmx 9181 with NI 9402

    Hi,
    I am trying to read TTL pulses from a function generator using a counter. I am applying a 1KHz signal to the counter. Every time counter reads the pulses correctly in first cycle of measurement, but it miss some counts in all following cycles.
    I am using NI cDAQ 9181 Chassis and NI 9402 module with LabVIEW 2014 and NI Max 14.0.
    My computer has Windows 8.1 operating system.
    Please find the attached VI and images of Front Panel after run.
    What could be the reason for that, please guide.
    Thanks !
    B. Sharma
    Attachments:
    Counter cDAQ Testing-LV 2014.vi ‏44 KB
    Counter cDAQ Testing-LV 2014_Front Panel.png ‏68 KB
    Counter cDAQ Testing-LV 2014_Block Diagram.png ‏70 KB

    1.  The Elapsed Time VI starts counting when you first call it, so the first loop will take about the desired amount of time (although OS timing is not very reliable anyway).  The Express VI will reset itself as soon as you hit the time target.  Then, you wrap back around and reconfigure your task.  This takes time (during which the DAQ task is not counting, but the Elapsed Time VI has already been reset), and so all subsequent acquisitions will actually run some time less.  For example, if the configuration took 100 ms and you wanted to acquire 1 second of data, you would only get ~90% of the count.
    2.  The time it takes to reconfigure the task is going to vary dramatically with the bus you are using due to latency (ethernet > USB > PCI/PCIe).  So it makes sense that the problem was not noticeable with PCI, and it was most severe with ethernet (9181) compared to USB (9171).
    3.  Discarding the first sample on buffered counter measurements is a behavior change with STC3-based DAQ products (e.g. X Series, C Series, 621x) compared to older NI DAQ products (e.g. E Series, M Series, 9172).  In your case, when you use the E Series card the first measurement represents the count measured between the arming of the task and the first edge of the gating counter (which toggles almost immediately, you are very unlikely to receive an external 1 kHz clock edge during this time).  Since this measurement is often not desired and can be confusing, it is discarded in the newer NI hardware.
    Here is the behavior from the M Series and X Series user manuals (I know not your exact hardware, but I know that the diagrams are in these manuals and your E Series and cDAQ systems respectively will behave the same).
    From M Series User Manual:
    From X Series User Manual:
    Best Regards,
    John Passiak

  • Can't set sample rate 1609

    Hi,
    we've recently upgraded to LV 8.6 and DAQmx 8.7 and then got problem with the data aquisition that uses the DAQmx API. For example, we have a cDAQ-9172 and 9239 AI module. The device could be user configured and a typical configuration could be a continous acq, single sample in 10 Hz. After upgrading the error -200279 "Attempting to read samples that are no longer available ... has been overwritten" has come up soon after the task was started. It turned out that the property SampleClkRate is not affected by the value that is put into the DAQmx Timing.vi, unless it was set > 1612,9, if you set 10,100 or 1000 or whatever the sample rate will still be 1612,9 when you read from the timing property.
    So the buffer then of course becomes overflown, but the question is why there is a minimum sample rate like this? Earlier it was fine to set it an arbitray value and the acquistion would be in that rate.
    There are many solution to get around this (read faster etc.), but it strange that the behaviour of the code can change like this from a version to another...
    /Henrik
    Solved!
    Go to Solution.

    I see one flaw in your program, you have hardware timing and software timing in one loop. The loop is limited by the software wait. (I think this is on purpose for demonstration).
    I have looked at the manual for the 9239 and page 18 notices that hte minimum input rate is 1613kS/s
    So that is explained, the only problem is that the DAQmx timing VI does not return an error or warning when setting a too low rate.
    Ton
    Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
    Nederlandse LabVIEW user groep www.lvug.nl
    My LabVIEW Ideas
    LabVIEW, programming like it should be!

  • Can read TEDS in MAX but not with DAQmx VIs

    Hi,
    I have a cdaq 9181 with a 9234 accelerometer module.  I have 3 teds equipped accelerometers connected to ai0, ai1, and ai2 repectively.  In MAX, when I reserve the chassis I can read all three teds, no errors.  When I do the same thing in labview (ie reserve the chassis, create a daqmx task, associate teds data with each physical channel, all with daqmx VIs) I can only read two out of three teds.  The third one throws a "no teds sensor detected" error.  This code has been in use for about four months now, though I just rewrote the calling VIs, and hasn't displayed this problem.  I've attached a snippet of the task building VI for reference.
    Any ideas what's going on?
    Thanks.
    Using LV2012 and MAX 5.3.1 running on Windows 7 32 bit.
    CLAD
    Attachments:
    Build Daq Task Snippet.png ‏58 KB

    Nope.  That's a delete from array, length 1, index 3.
    In any case, I eliminated that block since the string array wired to the for loop controls how many devices the VI attempts to configure.  Same result, verified it was trying to configure ai2.  Here's the updated snippet:
    CLAD
    Attachments:
    Build Daq Task Snippet v2.png ‏54 KB

  • Best Practise for connecting to Ethernet based device

    Hi,
    I have inherited a system where we have a cDAQ-9181 controlling an vehicle access barrier, with a LabView application on  a PC talking to it via Ethernet.
    (The application is very simple - press a button > send a value to the 9181 unit > opens the barrier )
    All works fine most of the time.
    ( We occasionally get network related errors. The LabView application sometimes thinks another PC has reserved the unit, or gives “error 89130 - device not available for routing” )
    The users would now like to be able to easily run the application from a second PC ( not at the same time ), but this seems to be a problem. If I exit the application on PC “A” and run it on PC “B” it struggles to reserve the chassis, and throws the “89130” error and I have to restart the unit via MAC.
    While I’m a “veteran” control programmer, I’m new to LabView, and would be very grateful for any pointers on “best practise” for talking to devices via Ethernet, or any specific suggestions for handling multiple PCs talking to a single device.
    Thank You.
    Tim.

    Hi Tim,
    Thank you for your post and welcome to the NI forums.
    There are lots of knowledgebase articles on our website and you should be able to find documentation for most of our hardware.
    There is a good troubleshooting guide for cDAQ Ethernet here (http://ae.natinst.com/public.nsf/web/searchinternal/e67b4e4749f378ff862577270059bd4b?OpenDocument) - it outlines the steps to take to ensure you have a stable a connection as possible. You may have already seen it, but the quick-start guide for your specific device may also be worth consulting for best practices. Are these helpful?
    As for using more than one PC - this shouldn't be too much of an issue. I would expect that the resource isn't being closed correctly - when you exit the App on PC 'A', how are you closing off the resource?
    Best regards,
    Eden S
    Applications Engineer
    National Instruments UK & Ireland

  • Read DAQmx: timeout too long

    Hello,
    The DAQmx Read VI does not seem to take the timeout I set into account: when the connection with my cDAQ 9181 is lost, I would like the Read VI try only once to read the data and quicly return an error instead of waiting for 10+ seconds.
    The attached screenshot summarizes the problem: I let the while loop run for a while normally before to unplug the ethernet cable from the cDAQ to simulate a network failure. As you can see, it took more than 18 seconds for the Read VI to return an error although I set the timeout to 1 second.
    I am obviously misunderstanding something, but what?
    The module is a NI-9206
    Thank you!
    LabVIEW 2013 SP1
    Windows 7 64bit
    Windows Server 2012 64 bit
    Windows 8.1 32 bit
    Attachments:
    BD+FP.png ‏86 KB

    John_P1 wrote:
    ben64 wrote:
    The 1000 ms wait is useless and may occur before the DAQmx Read vi adding an extra secondif so. The DAQmx Read.vi will wait until data is received or 10 sec and then generate an error.
    It's true the 1000 ms wait is useless, but I wouldn't expect it to add to the loop time since it is executing in parallel with the read
    John, I would have agreed with you, but following Ben's suggestion, I removed the Wait 1000 ms and the last iteration of the while loop indeed took about 10s to complete. I don't understand that at all. If somebody could explain...
    Now if I use a timeout equal to the inverse of the rate, the VI timesout as expected (see attached screenshot). Thanks guys, I wish I could mark two posts as solution.
    LabVIEW 2013 SP1
    Windows 7 64bit
    Windows Server 2012 64 bit
    Windows 8.1 32 bit
    Attachments:
    Screenshot.png ‏48 KB

  • Connecter un CompactDaq Ethernet à plusieurs pc

    Bonjour,
    Je veux savoir si c'est possible de lire les signaux acquéris par un CompactDaq ( chassis cDAQ-9181 + module d'entrée NI 9425) sur deux applications Labview sur deux PCs différents . 
    Eventuellement, un switcheur pourra étre utiliser pour servir les deux PC d'une communication Ethernet avec le chassis.
    Merci

    Si vous n'arrivez toujours pas à utiliser les remote panels, regardez ceci:
    Server does not support Remote Panels
    J'espère que cela vous aidera
    Meilleures salutations

  • SEARCH ARRAY AND COUNT TRANSITION FROM HIGH TO LOW

    I have 4 dig inputs.  I want to count the number of times each individual input transitions from high to low and display the count  I attached the vi as v11.  Thanks for any help.
    Solved!
    Go to Solution.
    Attachments:
    count.PNG ‏94 KB
    9422_Digital_In_mod.vi ‏52 KB

    Hello Jootbox,
    Are you by any chance using a cDAQ 9181 chassis?
    If you are it might be a good idea to use the 4 counters internally available on this chassis.
    A simple example about counting edges can be found over here:
    https://decibel.ni.com/content/docs/DOC-11412
    Kind Regards,
    Thierry C - Applications Engineering Specialist Northern European Region - National Instruments
    CLD, CTA
    If someone helped you, let them know. Mark as solved and/or give a kudo.

  • Synchronis​ation deux entrées analogique​s

    Bonjour,
    je possède deux chassis de type cDAQ-9181 et cDAQ-9181, l'un connecté à la carte d'acquisition NI 9229 et l'autre à la 9215. Ces deux cartes acquièrenent respectivement les distances lié au déplacement d'un arbre et l'autre la pente de cette arbre.
    Je suis débutant en programmation, j'aimerai synchroniser le déclenchement simultanné de l'acquisition de mes carte, j'ai essayé de m'inspirer des exemples exisstant, sans succès.
    Voici ci-dessous le synoptique présentant mon système
    Merci d'avance 

    Bonjour Backo,
    Vous devriez jetez un coup d'oeuil à ce forum.
    http://forums.ni.com/t5/Multifunction-DAQ/CDAQ-917​4-9178-modules-synchronization/td-p/1501706
    Ainsi qu'à ce White paper.
    http://www.ni.com/white-paper/3615/en/
    Cordialement,
    Sabri JATLAOUI - Certified LabVIEW Developer

  • 「NI cDAQ-9178」「NI 9225」「NI 9239」を使用したLabVIEWでの電力演算について

    お世話になります。
    ご回答よろしくお願い致します。 
    「NI cDAQ-9178」に「NI 9225」と「NI 9239」を取り付け、それに三相(50Hz)の電圧と電流の瞬時値を取り込み、LabVIEWで演算して
    「電圧実効値」「電流実効値」「有効電力」「無効電力」「周波数」の5項目を得たいと考えております。(現在は導入検討の段階です)
    そこで、貴社HPの「交流電力回路の測定技術を学ぶ、電流・電圧・位相角の測り方」を拝見しまして、
     LabVIEWの電力測定向けパレット「Electrical Power Measurement」について、下記2点お聞きしたく連絡させて頂きました。
    ① 「Electrical Power Measurement」の関数を使用すれば「電圧実効値」「電流実効値」「有効電力」「無効電力」は得られそうだが、
      「周波数」は得られるのか?
      もし得られないのであれば、別にカウンタモジュール(アナログ用)が必要なのか?
    ②三相50Hz(周期:20ms)を測定するが、サンプリング(演算結果の出力)は10msで行いたい。
      半波分しかないが、「Electrical Power Measurement」の関数で演算できるのか?
    以上、よろしくお願い致します。
    解決済!
    解決策の投稿を見る。

     日本National Instruments 神谷様
    ご回答ありがとうございます。
    追加質問させてください。 
    Electrical Power Measurement Resouce Kitを確認しましたところ、周波数を測定する関数はありませんでした。
    しかし周波数を測定できる「トーン計測」 Express VIをがございますのでこちらをご利用頂くことが出来ます。
    >承知しました。トーン計測で検討いたします。
    サンプリング周期10msで測定に測定結果につきまして、位相角以外の測定には問題がないと思われます。
    しかし位相角及びトーン計測関数を用いた周波数測定を行うにはナイキストの定理以上(通常は測定対象信号の周期の10倍以上)の
    サンプリングレートで収録されますとより精度の高い測定結果を得ることが出来ます。
    >こちらの説明が不十分でした。申し訳ありません。仕様が伝わっていなかった様ですので、構築検討中の計測システムについて補足説明をさせて頂きます。
      三相AC200V 10A 50Hzの電圧瞬時値計測用に「NI 9225」、電流瞬時値計測用に「NI 9239」(CTを使用し電圧変換して入力)の二つを同期させて計測します。
      「NI 9225」「NI 9239」共に50kS/秒なので50Hzの半波分の10ms中では、電圧電流共に500個の瞬時値が測定できます。
      この500個の瞬時値を10ms毎に演算して「電圧実効値」「電流実効値」「有効電力」「無効電力」「周波数」を得たいのです。
      つまり、10ms毎に瞬時値を得たいのではなく、10ms毎に5項目の演算結果が欲しいのです。
      これは可能でしょうか。データにそれほど高い精度は求めません。
    もし、この内容を解釈されての前回のご回答でしたら申し訳ありません。
    以上よろしくお願い致します。

  • Real-time NI 9239

    Hi All,
    I have a DAQ 9172  with two NI 9239 module. I would like to measure 3 stator current and 3 stator voltage and also the rotor speed (an analoge input) of an AC machine to estimate the electromagnetique torque in real time. The estimatior is an open loop one but it needs some feedbacks and also function transfer as I have used in Matlab Simulink. I have control and simulation and interface toolkit but not real-time toolkit. Please help me haw can I do that in real-time.

    Hi,
    The Cdaq-9172 are not a real-time controller, if you will use it in real time mode (with determinitic loop) you need have a computer with a real time OS.
    Windows are not a real time OS, but you can optimize it with your application.
    You can see below differents notes about real-time.
    http://zone.ni.com/devzone/cda/tut/p/id/3938
    http://zone.ni.com/devzone/cda/tut/p/id/2111
    http://zone.ni.com/devzone/cda/tut/p/id/5038
    Regards,
    Christophe S.
    FSE East of France І Certified LabVIEW Associate Developer І National Instruments France

  • Synchronise NI 9239 & NI USB 8473 with Signal express

    Hello, I have a Cdaq 9174 chassis with an NI 9239 module (analogue input at 50Khz/ch) with Signal Express.
    And I wanted to know if we could acquire this four inputs synchronised with datas from CAN connection by using a NI USB 8473 ?
    Many thanks.
    Patrick.

    For me you can't use the driver NI-CAN is not compatible with Signal Express. The Only way you could use it with SE, is to pass through LabVIEW VI.
    You'll find in the below link the way to do it.
    http://digital.ni.com/public.nsf/allkb/359D14941D6936E98625729D008387D5
    I advise you to stay in LabVIEW this kind of program. It's easier.
    Best regards.
    Sabri JATLAOUI - Certified LabVIEW Developer

Maybe you are looking for

  • How to share contacts in iCloud?

    For years I'm trying to digitalize the contact and calendar information in my household on the Apple eco-system, which started in the early years of MobileMe... in the mean time the rather expensive (family pack) MobileMe service has been replaced by

  • How can I get PS CC to always load my preferred Preset while saving for web output?

    For my purposes, I'd prefer to save all JPEGs at 100% quality while saving for web output. I've made a preset as seen below. However, PS doesn't always defer to this setting when I begin saving an image for web. Is there a way to make this preset aut

  • Real time waveform graph in while loop

    Hi I have a VI which includes a subVI that reads data from an oscilloscope and presents the output in the form of a cluster made up of the initial time t(0), a time interval delta t and an array of voltage readings. This cluster can then be wired to

  • Executing 2 bat files in a single java program

    I have 2 bat files named batch1.bat & batch2.bat these 2 files has to run one after the other.I has written the code as bellow: When i execute it it runs the first batch file named batch1.bat and exit. it is not running the second batch file. can any

  • J1IS problem

    Hi, I am facing serious problem in J1IS,i assigned correct G/L account in Account determination in CIN menu.But system picking Rg23A G/L account for Consumables,Assets,tools materials. Example  2000000000     Consumables               J1IS   create E