Unable to read 5th channel using cDAQ 9178 with NI 9219 modules

Dear LabView user,
I've made a VI for reading the measurements of a couple of LVDT sensors, a load cell and a couple of strain gauges. When I connect 4 of these sensors to my cDAQ 9178 with using 1 slot of NI 9219, then there is no problem for my VI. But if I use 2 modules, and connect the 2 LVDT sensors and the load cell to the first module, and the 2 strain gauges to the 2nd module, then my program only will show the readings of the first module and the readings of only 1 strain gauge on the 2nd module. I've found that there occurs an error for the 5th channel in the 'zero' state. It says my buffer size is too small... How can I solve this problem? I can't work with finite samples because it is a continious measurement. 
I also have the cDAQ 9171 USB module, if I only connect 4 sensors to this module, the sample rate is high (100 Samples/sec), when I use the same configuration, but connect this with the cDAQ 9178, the sample rate is much lower however I use the same NI 9219 module to fill the slots. Is there some kind of setting I need to make when switching over to the cDAQ 9178?
I've attached my VI.
With kind regards,
Pete

Dear RavensFan, 
Thank you for your answer.
"Have you tried swapping the modules between the slots and see if you still have the same problem or if it moves?"  When I use the cDAQ 9178, I always use the first 2 slots next to the power suply and the usb connection, you mean that I should try for example the 4th and the 5th slot or other slots? I will try this on Monday, and I will let you know.
About the states machines inside a state: How is it possible then to use several buttons, like start and stop measurement and the 'home' button inside the state "measurement"? Should I make another simple state machine inside this state? 
What about that 5th channel that I'm unable to read? The problem happens in my "zero" state: to acquire my "zero elements", the loop does the job for the 5 channels for the first 8 samples, after that, it doesn't want to sample the 5 channels anymore, it only does for 4 channels... It's something about the buffer size, but I don't know how to fix that.
With kind regards,
Peter

Similar Messages

  • I am unable to do video chat using Gtalk either with ichat as well as Safari Browser any idea.

    I am unable to do video chat using Gtalk either with ichat or Browser. i tryed to use Firefox with Viedo chat plugin but this also doesn't help. My Voice and Picture is going but i am unable to receive. I am using Mac OS X10.7 Lion.

    IE uses an [http://en.wikipedia.org/wiki/ActiveX ActiveX] control to handle Flash objects.<br />
    Firefox uses a different [http://en.wikipedia.org/wiki/NPAPI NPAPI] plugin.<br />
    <br />
    Your above posted list of installed plugins doesn't show the Flash plugin for Firefox.<br />
    See [[Managing the Flash plugin]] and [[Installing the Flash plugin]]<br />
    <br />
    You can find the links to download the Flash plugin for Windows at the bottom of this page:<br />
    Adobe - Common Flash Player download and installation issues (Windows): http://www.adobe.com/products/flashplayer/support/index.html<br />
    Go to: 3. Download Adobe Flash Player : Flash_Player_10_Plugin (All other Windows browsers)<br />
    <br />

  • Unable to read the file using UTL_FILE Dir

    I need to read/write a file from/to the operating system through PLSQL Package. I used UTL_FILE package to do the same. In the application server the utl_file_dir(/usr/tmp in my system) is created as a softlink to database server.
    oI want to run this package through the application server. However I am unable to read and write the file to the operating system.
    I just wondering it is not reading/opening the file from the server. Please suggest me how to modify my code.

    Hi,
    How to check if it is end of file or not? I have the following function which is working fine in my win2003 server std 32bit and Oracle10g Database R2 Standard Edition one 32bit. HOwever, when I deploy to production server which is 64bit OS and database, it gives error at UTL_FILE.GET_LINE(fptr, tmp);
    Any idea why it behaves like that?
         FUNCTION readFile (
              inHTML OUT CLOB,
              path IN VARCHAR2,
              htmlFile IN VARCHAR2
         ) RETURN BOOLEAN IS
         fptr utl_file.file_type;
         tmp VARCHAR2(5023);
         bufferlen BINARY_INTEGER;
         BEGIN
              fptr := UTL_FILE.FOPEN(path, htmlFile, 'r');
              DBMS_LOB.CREATETEMPORARY(inHTML, TRUE);
              DBMS_LOB.OPEN(inHTML, DBMS_LOB.LOB_READWRITE);
              LOOP
                   UTL_FILE.GET_LINE(fptr, tmp);
                   if tmp is not null then
                        tmp := tmp || CHR(10);
                        bufferlen := LENGTH(tmp);
                        DBMS_LOB.WRITEAPPEND(inHTML, bufferlen, tmp);
                   end if;
              END LOOP;
              WHEN NO_DATA_FOUND THEN
              DBMS_LOB.CLOSE(inHTML);
                   UTL_FILE.FCLOSE(fptr);
                   RETURN TRUE;
              WHEN OTHERS THEN
                   DBMS_LOB.CLOSE(inHTML);
                   DBMS_LOB.FREETEMPORARY(inHTML);
                   RETURN FALSE;
         END readFile;

  • Unable to read values populated using Java Script

    hi Experts,
    we generated a BSP Page through some SPRO setting it contains HTML and ABAP scripts.
    in that we have 2 select - option - dropdowns. i first one is being populated by ABAP script. second one is being populated by java script.
    the BSP page is working fine. but i am unable to read the second dropdown value using a class method
    we call this class method in the BADI : CRM_SERVICE_WEBREQ. method : FORM_ON_EVENT
      CALL METHOD cl_uxs_xml_services=>get_value_via_xpath
      EXPORTING
        ir_node                   = ir_form_data
        id_xpath                  = 'secondChoice'
         id_xpath_namespace_uri    =
         id_xpath_namespace_prefix =
         id_multi_namespace        =
      RECEIVING
        rd_value                  = lv_value
      EXCEPTIONS
        not_found                 = 1
        not_unique                = 2
        OTHERS                    = 3
    but i am able to read other fields in the page. i am not sure but i changed the id and name on the second drop down.
    pls let me know how to read the value for second drop down.

    Hi Ben Grice,
    ASP.NET questions should be post in
    ASP.NET forums. You can get better help there.
    Thanks for your understanding.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Unable to read/write bytes using 9870 with cRio 9151

    Hi everyone,
    I'm currently having some problems trying to use 2 ports of module NI 9870. I'm unable to read bytes even if I try to send some datas (I always get a Timeout) and I'm also unable to write some datas( I can't see nothing on Hyperterminal).
    Please find enclosed a snapshot of my Fpga code.
    Regard,
    Nicolas Kaminski, Toulouse France
    Attachments:
    ReadBytes.jpg ‏93 KB
    WriteBytes.jpg ‏30 KB

    Hello,
    Can you give us some other details:
    Are you sure that you provide power to the 9870 module?
    Do you have tested your system with an example? (NI-987x Serial Loopback.lvproj)
    DO you get something through that loopback?
    Regards,
    Mathieu P. | Certified LabVIEW Associate Developer
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    Journées techniques : des fondamentaux aux dernières technologies pour la mesure et le contrôle/comm...

  • I am unable to read pdf files using Acrobat Reader on my MAC OS X. Any suggestions?

    How do I read pdf files using my MAC OS X?

    You can read pdf files with preview. Select a pdf document, right click on it, and choose Preview. You can also get info and select to choose Preview for all.
    You can also install Adobe Reader 10.1.3 for Lion. It will also install a plug-in to read pdf docs in the browser.
    http://www.adobe.com/support/downloads/detail.jsp?ftpID=5360

  • Unable to read file - opening a html file with excel

    Hi all,
    I have the next issue:   I have developed a report on HTML format, however when I export this one (to excel) I save the file with a 'xls' extension, however, (in excel 2007), when I try to open the file I get the error "Unable to read the
    file".
    can you help me with this issue?

    Hi,
    Did you create a PivotTable report in the file? As your description, the HTML format could be used correctly in Excel 2007. Did you get the other error message?
    Such as,Unable to read file.
    When you click OK,   you receive the following error message:
    Errors were   detected in '<var>filename</var>.xls', but Microsoft Excel was   able to open the file by making the repairs listed below. Save the file to make   these repairs permanent.
    PivotTable report   '<var>report_name</var>' on   '[<var>filename</var>.xls]worksheet_name' was discarded due to   integrity problems.
    Please try to use the workaround:
    Turn off AutoRecovery when you work with any workbooks.Click Excel button>Excel options>Save>Uncheck AutoRecovery
    Following this, if the issue exists, I recommend you fix the issue the following KB:
    http://support.microsoft.com/kb/943088
    http://support.microsoft.com/kb/929766
    Regards,
    George Zhao
    TechNet Community Support

  • No audio from second Channel using Webcam Capture with ASIO source

    I am trialing elements version 10 as I am looking for a capture / recording / editing solution for making music videos. I want to be able to record from my webcam and also record two audio streams silmutaneously.
    I am using a logitech webcam pro 9000 and a line6 Ux2 Audio recording Sound device. The UX2 is an ASIO compatible device that allows two streams to be recorded; in my case guitar and Microphone for voice. I am able to do this in ASIO comaptible audio editing software.
    So I have tried selecting the Audio device settings prior to starting a capture but each time I start a capture the audio device reverts to standard windows Realtek audio device. I then select the Line6 Device in the capture window and procede to record but I only get video and one audio channel. Is there a way to record live from webcam AND get both audio channels using ASIO driver?
    Cheers
    Greg

    Only if your camcorder records in stereo. Otherwise, you will only get one channel of audio and you will need to use the Fill Left or Fill Right audio effect to spread the audio across both.

  • Unable to read ITResource details using Platform class

    Hi,
    When I try to read the ITResource parameters using Platform class, it says ITResource does not exist, code below:
    tcITResourceInstanceOperationsIntf itTResourceOperationsIntf=Platform.getService(tcITResourceInstanceOperationsIntf.class);
    Hashtable itmap=new Hashtable();
    itmap.put(OIMConstants.ITRESOURCE_NAME, resourceName);
    tcResultSet rset=itIntf.findITResourceInstances(itmap);
    However, if I use the same code by getting the instance of ITResourceInstanceOperations, I am able to read the parameters ?? Any idea on this ??
    Thanks,
    Hrushikesh

    Project folder is a IDE concept, not used by Java itself. Java works with class paths, which designate where it can search for classes and resources.
    Anyway, most of the IDEs handle properties files correctly (i.e. copy them in the right place when building/compiling, so that they can be found by Java when running the program). So you should put them along with java classes, in your packages structure.
    So if you have a properties file named "Toto.properties", which is located in the "titi.tata" package, then you would load it with:ResourceBundle.getBundle("titi.tata.Toto");

  • Unable to read Diagnostic Code using MessageHeaders/InternetHeaders

    I'm trying to read "Diagnostic-Code" Header using the following code:
    +{color:#0000ff}MessageHeaders messageHeaders=new MessageHeaders(part2.getInputStream());+
    + Enumeration iheaders=messageHeaders.getAllHeaders();+
    + while(iheaders.hasMoreElements())+
    + {+
    + Header header=(Header)iheaders.nextElement();+
    + System.out.println("InternetHeaders : "+header.getName()+": "+header.getValue());+
    + }{color}+
    Message contains the following:
    {color:#008000}*--nBSIUV3H002931.1262025031/**dummyserver.net*{color}
    Content-Type: message/delivery-status
    *{color:#0000ff}Reporting-MTA:{color} dns; dummyserver.net*
    *{color:#0000ff}Received-From-MTA:{color} DNS; localhost*
    *{color:#0000ff}Arrival-Date:{color} Mon, 28 Dec 2009 13:30:30 -0500 (EST)*
    *{color:#ff0000}Final-Recipient: {color}RFC822; [email protected]*
    *{color:#0000ff}{color:#ff0000}Action:{color}{color} failed*
    *{color:#ff0000}Status: {color}5.3.0*
    *{color:#ff0000}Remote-MTA:{color} DNS; dummyserver.net*
    *{color:#ff0000}Diagnostic-Code:{color} SMTP; 553 5.3.0 <[email protected]>... Unknown user - sorry.*
    *{color:#ff0000}Last-Attempt-Date:{color} Mon, 28 Dec 2009 13:30:31 -0500 (EST)*
    *{color:#008000}--nBSIUV3H002931.1262025031/dummyserver.net
    {color}*
    But the above Code is able to read only the first three headers in {color:#0000ff}*blue*{color} and not the ones in *{color:#ff0000}red{color}*.
    The reason seems to be the blank line which is being considered as end of headers.
    Please suggest how to read "Diagnostic-Code
    " without reading the stream and matching pattern.

    Try using the DSN support included with JavaMail.
    As described in [NOTES.txt|http://java.sun.com/products/javamail/NOTES.txt], add dsn.jar to your CLASSPATH.
    See the javadocs for the [com.sun.mail.dsn.DeliveryStatus|http://java.sun.com/products/javamail/javadocs/com/sun/mail/dsn/DeliveryStatus.html] class.

  • Iomega ZIP drive-constantly unable to read disks when using on both PC&Mac

    I'm constantly having problems with Iomega ZIP disks:
    -can't be read by PC or MAC
    -needs reformatting
    I have to erase the disk using disk utitlities and make sure its FAT 32 (not 16) for the PC to read it.
    However this is only temporary as the disk will again become unreadable by both machines.
    Is this because i'm constantly using is on both machines?
    Does anyone else have this problem?
    Any solutions?
    This appears to have started since the last major OS X upgrade - i.e 10.3 to 10.4.
    Cheers
    Tasha

    You may not want to hear this - but the best thing to do is to get anything that matters off Zip disks, and never touch them again. They're inherently unreliable, and you're much better off using CD-R or DVD-R.

  • Read Purchase data using Report painter with CCSS structure

    Hi
    I'm triying to set-up a simple Budget by material procedure using Rosurces defined as material and KP06 to plan Qty and Values.
    All works fine.
    Later I need to write a report for Compare Planned vaues and Effective values at material (resource) level.
    Unfortunately resource can be used only for planning, so none Effective values is available in CO.
    I thought to write a Report using Report painter and library 1VK (CCSS structure) for planned values and import from a LIS table the effective values (Ordered, Invoiced) directly from Puirchasing environment.
    Is it possible by using exit or other tools, import LIS data into a CO Report painter program ???
    Thanks in advanec for your help.
    Claudio

    Hi
    I try to specify better my need.
    I've defined using report painter a  Z report using Report Painter.
    Inside teh new Report, I can use a Customer key-figure which does'nt exist in the CCSS structure.
    Is there any solution to Read data from other SAP tables and use these info into the report.
    I'm not very frioendly with Set, Key-figures and variables, and I'd like to undestand if my needs can be solved using Report-painter.
    Thanks for your help.
    Claudio

  • Unable to read SD cards, CF cards, etc with windows 8. Windows 7 and before work

    Hi everyone,
    One strange thing I've found with Windows 8.1 is that if I try to access a SD card, micro SD card, CF card, or similar, I get an error that says something about you need permission to access this. I've tried giving myself permissions, but it still doesn't work.
    The SD card is from a digital carmera. 
    The microSD card is from my Android device.
    The CF card is from my Nikon D70.
    The odd thing is they all work in windows 7 and before. 
    Added oddity: if I plug my android into the computer and browse that way when the device comes up, I can access it. 
    This is happening on any windows 8.1 machine (pro/enterprise)I've tried it on. I've googled the issue but have found no resolution.
    Has anyone else seen this?
    Thanks
    This topic first appeared in the Spiceworks Community

    Added Info for original posting:
    Windows 8.1 64 bit OS.  Dell box shipped with Windows 8 and upgraded to 8.1 via the Windows store.  As stated in original post, computer is Dell XPS 8700, I7 cpu with 16 gbs of RAM.
    Happy to answer any more specific questions.
    Richard

  • I am unable to get sound using apogee jam with my guitar. I can see input levels but no sound. What step am I missing?

    I am unable to get any sound using apogee jam with my guitar in logic pro 9. I am using Macbook pro.

    status...      
    DWdrummerBeam  
            Jun 4, 2012 3:24 PM    
    I think I have done something wrong. I used my Apogee Jam on a guitar project with several audio tracks in Logic Pro 9. And while the Apogee Jam still was connected, I switched to another project with only instrument tracks (synths). I forgot to change the "Built In Input". After I did this, my guitar sounds like crap when I try to use Apogee Jam in the same guitar project, or also if I create a new project. I use Guitar Rig 5 (Native Instruments) as my guitar plug-in. But the guitar sounds strange even if I don´t assign Guitar Rig.
    Can somebody help me?

  • I need to read multiple counters using PCI 6601 can I do this, and How?

    I am reading 4 TTL signals from a Magnetic Pickup how do I read multiple channels using PCI 6601?

    Not concerning my primary question, I would like to point out to an N.I. Rep. that there is a typo in the help section concerning "posting a message".
    I have built a large format, two axis digitizer using linear encoders, a 6601 counter/timer, and labview 8. In building my application program, I  initially am using two daq assistants, with each set up to accomplish  the task of reading two encoders simultaneously. In doing some research, It has come to my attention, that, with my current configuration, errors may result, due to one daq assistant attempting to access the cards driver while the other is acquiring data.  All attempts to get two channels working through a single daq assistant have resulted in an error message informing me that I can only have one task per counter.Thus far, I have not seen any noticeable errors, thought I would like to have this device "rock solid", as it will be used extensively.
    Is it possible, that I should have purchase  an "S" series board instead?

Maybe you are looking for

  • IDML files freeze up program, fonts won't show, exporting very slow

    I was contacted by someone from Adobe, then case was closed before I could get back to them with details Case #0186178987 case was closed before resolution was reached. How do I re-open this? I tried the Customer Support Portal but it did not open th

  • Input source disappears after restart or log out. How to fix it?

    I use two input sources: U.S. and Russian-PC. But recently the Russian-PC started to disappear everytime I restart the iMac or just log out and log in back. Instead of Russian-PC there is Russian which is inconvinient to use. So I always have to open

  • Can't Edit Video

    I needed to import a MOV movie from iTunes to my iPad.  The file was imported into the movies list on my iPad, but I can open up the editing to trim.  Can I trim this?  It does play fine on my iPad. Thanks!

  • Custom Barcode in Adobe Form Design

    Hi All, I want to know is it possible to add a custom barcode in Adobe designer (SFP) and if yes then how to achieve that ? Regards Ravi

  • Desktop app - creating and destroying forms/frames dynamically.

    Hi all, I'm creating a small crypto app for the desktop using java. I'm using JFrames (import javax.swing.JFrame) with Oracle JDeveloper 11g under Linux. I want to have a "welcome" form/frame where users can choose their encryption method, and then o