PXI 5105 - min record length varies with number of initialized channels

Hello everyone,
I'm having a hard time with this issue. Why the record length I acquire with "niScope Multi Fetch Cluster" varies, depending on how many channels I initialize? I.E., I want to fetch 20k data points per channel. If I configure and acquire from 1, 2, 4 or 8 channels, the record length of all signals is 20k points. However, If I configure 3, 5, 6 or 7 channels, the record length is 19934 points. Always 66 points less than the desired value, doesn't metter the configured record length, its always 66 points less. Doesn't metters which channels I initialize, only the amount of channels (it seems to be 2^n). And this is the record length immediately after the data acquisition block. To make things worse, the block "niScope Actual Record Length" returns the desired amount of points, and not the amount I'm actually reading.
Why is this happening?
If this rule is correct, I can figure out a solution.
Best Regards,

Hello Giovanno,
Please, to this question,contact the technical support in your country so that engineers will help you.
Thank You.
Rita Souza
Engenharia de Aplicações
National Instruments Brazil

Similar Messages

  • Fetch and peak detection all channels of PXI-5105 with 4M record... HELP!

    Dear collegaues!
    Please help me to improve performance my application, see attachment, and sorry for my English.
    So, my task is to fetch and peak detection all (eight) channels of PXI-5105 with 4M record and sample rate 4M with loop 1 sec...
    Inputs of all my channels are wiring to NaI detectors with 0,5...1 microsec of pulse width (really) and freq from 0 kHz to no more than 40 kHz.
    Why I've selected 4M record and 4M sample rate namely? Answer is that I've tested PXI-5105 previously by generator 40 kHz and 0,5 microsec width pulse. It is working fine and peak detection indicate for me 40000 pulses/sec. If I set lower than 4M record and 4M sample rate it is no working. In my honest opinion 4M record and 4M sample rate are very min settings.
    In the present time peak detection working only 6 channels... When I've connected to diagram more than 6 "peak detector.vi" - I see the error "...out of memory...".
    Please advise me, what is to be done for that is all working fine.
    Solved!
    Go to Solution.
    Attachments:
    consumer-producer7.vi ‏44 KB

    What you are running into is an out of memory error in LabVIEW.  You have enough onboard memory to capture 4M samples per channel on the digitizer.  The issue is with fetching and manipulating that data in your LabVIEW application.  You will want to step back and take a look at how you are handling your data to understand why that is happening.
    1) 4M samples/ch = 4M Samples x 2Bytes/sample/ch = 8M Bytes/ch
    2) Expanding to 8 channels creates 64M Bytes of data in the raw binary format
    3) You are scaling your data by fetching in a 1D WDT format.  This stores each sample in a 32 bit double, expanding the memory to 256M Bytes (in addition to timing information)
    4) By splitting up the array of waveforms and branching data it you can easily create copies of this data, and if your consumer loop is not completed with the last data, you may be trying to capture a whole new set, creating yet another copy.
    So you can see that while you have 1.5GB of controller memory, when dealing with large arrays of data you can easily eat up that memory.  There are several things you can try to make your application more efficient.  You could work with an unscaled binary data format, you can wire the array of waveform directly to the peak detect vi (instead of creating 8 copies, you will have a single copy with arrays of output) or you could revisit the record size you have chosen (experimenting with your threshold and width settings might help you to get the results you want with smaller record lengths).
    -Jennifer O.

  • How to load unicode data files with fixed records lengths?

    Hi!
    To load unicode data files with fixed records lengths (in terms of charachters and not of bytes!) using SQL*Loader manually, I found two ways:
    Alternative 1: one record per row
    SQL*Loader control file example (without POSITION, since POSITION always refers to bytes!)<br>
    LOAD DATA
    CHARACTERSET UTF8
    LENGTH SEMANTICS CHAR
    INFILE unicode.dat
    INTO TABLE STG_UNICODE
    TRUNCATE
    A CHAR(2) ,
    B CHAR(6) ,
    C CHAR(2) ,
    D CHAR(1) ,
    E CHAR(4)
    ) Datafile:
    001111112234444
    01NormalDExZWEI
    02ÄÜÖßêÊûÛxöööö
    03ÄÜÖßêÊûÛxöööö
    04üüüüüüÖÄxµôÔµ Alternative2: variable length records
    LOAD DATA
    CHARACTERSET UTF8
    LENGTH SEMANTICS CHAR
    INFILE unicode_var.dat "VAR 4"
    INTO TABLE STG_UNICODE
    TRUNCATE
    A CHAR(2) ,
    B CHAR(6) ,
    C CHAR(2) ,
    D CHAR(1) ,
    E CHAR(4)
    ) Datafile:
    001501NormalDExZWEI002702ÄÜÖßêÊûÛxöööö002604üuüüüüÖÄxµôÔµ Problems
    Implementing these two alternatives in OWB, I encounter the following problems:
    * How to specify LENGTH SEMANTICS CHAR?
    * How to suppress the POSITION definition?
    * How to define a flat file with variable length and how to specify the number of bytes containing the length definition?
    Or is there another way that can be implemented using OWB?
    Any help is appreciated!
    Thanks,
    Carsten.

    Hi Carsten
    If you need to support the LENGTH SEMANTICS CHAR clause in an external table then one option is to use the unbound external table and capture the access parameters manually. To create an unbound external table you can skip the selection of a base file in the external table wizard. Then when the external table is edited you will get an Access Parameters tab where you can define the parameters. In 11gR2 the File to Oracle external table can also add this clause via an option.
    Cheers
    David

  • Writing Datalog Files with record length

    How do I write a Datalog File with a record length of 128 int16s?

    Each I16 number in LabVIEW that you write uses 2 bytes because 8 bits equals 1 byte. If you write 128 numbers, the file will be 256 bytes long. You can modify the VI to write I32 (4 bytes) or I8 (1 byte) just by changing the representation of the number. You also need to change the subVI that does the actual writing (Write File+ [I16].vi). Be sure to rename the VIs that you change. I would think that your Fortran program would work as long as the data types match.

  • Trying to record Stereo Mix with a monitor through my headphones.  Using Screenium to record Audio and Video, using Avid MBox Mini with MXL 909 Microphone for the audio through the interface.

    Basically, what I am trying to do is this:
    Record my screen through Screeenium, record my voice as audio through an Avid MBox Mini (interface) with a MXL 909 microphone to pick up the audio.  I have all that figured out.  I'm able to efficiently record my audio and screenplay through these instruments and programs.  What I am having trouble with is the stereo mix.  I am running into a slew of problems here... My goal: Add on the audio of a game that I am playing (for example, Amneisia) so that the audio for my game will be picked up internally, and not through the speakers to be recorded through the microphone.  I want there to be no external sound except me talking into my microphone.  I also want to be able to HEAR the audio of the game through my headphones (and if possible, myself as well, through a monitor maybe?)
    Problems I have run into so far:
    -Haven't gotten it to pick up in game audio at all while using headphone.  Can't figure this out
         -Downloaded soundflower, have the output as soundflower.  Not picking up anything, will put all my sound and midi settings at the end.
    -When I do record through my microphone, it is only picking up a single channel (left earpiece only, no right channel)
         -I have figured out it is NOT the equipment, I use Pro Tools and am able to pick up both channels with my mic, recorded a few tests. It's settings and I can't      figure it out
    -Trying not to run 16 million programs while running the game, will cause lag.
    Summed up:
    Trying to record:
    -Audio from gameplay of any game I am playing through alternative route of speakers (do NOT want to record game audio through speakers, internally)
    -Record voice through Avid MBox Mini and MXL 909 microphone.
    -Record screen gameplay through Screenium
    I followed a guide that told me to achieve "stereo mix'' I need to download soundflower and follow "X" steps.  That is done and these are my current settings:
    Audio Midi Setup - Stereo Mix custom Aggregate Device, Soundflower (2ch) selected, Avid Mbox Mini selected, Soundflower Output #1 has 2 channels (1-2), using Avid MBox mini for "Input" in order to record.  Using Soundflower AND Avid MBox mini as "Output" in order to hear the sounds and replay game sounds (could be the problem? Maybe?)
    Sound Settings - Output Stereo Mix (custom channel)  Input Avid MBox Mini (recording)
    I'm hoping this isn't too hard to understand.. I'm VERY bad at explaining information regarding computers.. It's hard becuase I don't understand it.  I can clarify anything that I am able to, so any help on finding certain things would be greatly appreciated.
    My computer: Macbook Pro MAC OS X Lion (11G63) 10.7.5  2.4 GHz Intel Core i7 4GB 13333 MGz DDR3  (If any of this is imporant)

    Hey guys,
    I tried to do some research and it looks like you need to have an external device and its drivers, such as an external microphone, installed on the computer to record audio that can be saved as a sound file. Another Suggestion is to try an auxiliary spliter for your headphones and external speakers?
    What software are you using to record your game?
    If anyone knows anything different, please let me know.
    Thank you for being a part of the Lenovo Family,
    Catie
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
    Donate KUDOS and Click "Accepted Solution"

  • Transfer records to UNIX with different record length

    Hi all,
    I have the following problem. I have to transfer records to a UNIX file. The maximum length of a record is 2000. The records are TAB seperated. I also have records which have a length less then 2000. When i look at the file in Excel the last field is always very large. Isn't there a way to only transfer the real length of the record. I have tried to transfer the record in Binary an Text mode. I used the Length statement, but nothing worked for me.
    Hope anyone can help me.
    Greetings Maarten

    Hi Maarten,
    "Transfer" with "length" option should work. I am not sure what you passed as length to the "transfer" command. Did you used a fixed length of 2000 or did you actually found out the record length of each record and passed that value?
    Scenario 1.
    Here in this scenario, you will always have the last field set to maximum length.
    loop at itab.
    transfer itab-record to file length 2000.
    endloop.
    Scenario 2.
    In this second scenario, you should have your excel's last field set to the maximum occupied length of that field.
    loop at itab.
    v_len = strlen( itab-record ).
    transfer itab-record to file length v_len.
    endloop.
    Hope this helps.
    Srinivas

  • Reading fixed length file with different record types

    Hi,
    I need to read a fixed-length file with different record types, but the record identifier is in 31st position and not in 1st position.
    But if I give 31 as position in File adpater wizard, BPEL takes whole 1-31 as identifier.
    How we need to read such files.
    Thanks
    Ravdeep

    hi ,
    u cannot use the default wzard for this
    use some thing like this nxsd:lookAhead="30" nxsd:lookFor="S"have a look at the below link it has some examples
    http://download.oracle.com/docs/cd/B31017_01/integrate.1013/b28994/nfb.htm

  • Fixed record length with GUI_DOWNLOAD

    Hi All,
    In our current system we set global variables GLOBAL_FIXLEN_* by calling form SET_FIXLEN(SAPLGRAP).  This allows us to create ASCII download files using function module WS_DOWNLOAD that have a fixed record length of 160 as required by the bank.
    We are now going to a unicode system and WS_DOWNLOAD is being replaced by GUI_DOWNLOAD.  How can I continue to create a fixed record length of 160 using this function module?  I cannot find any similar GLOBAL_FIXLEN* variables in GUI_DOWNLOAD.
    Thanks in advance for suggestions,
    Kirsten

    Hi,
    Kirsten,
    I find form "set_trail_blanks" also not available in GUI_DOWNLOAD.
    FYI
    aRs

  • Maximum record length in internal table?

    Is there a maximum record length in an internal table?  Please note:  My question is NOT related to table space.  I'm referring only to the length of an individual record (A.K.A. row length).
    I am using a work area to insert data into an internal table.  Both the work area and internal table are defined by the same structure.
    The structure has a total length of 672 bytes.  For the sake of this discussion I'll point out that at the end of the structure, bytes 669, 670, 671, and 672 are four separate fields of 1 character each.
    When viewing the work area record in the debugger I'm seeing all the fields and all the values.  When viewing the internal table in the debugger after a record is inserted, the internal table ends with the field defined at Byte 670.  The internal table does not include the two fields defined at Bytes 671 and 672.
    Am I to assume from the above explanation that the length of a record ( A.K.A. row) in an internal table cannot exceed 670 bytes?
    Thank you.

    Manish,
    False alarm!  While, technically, you didn't answer my question, your request for code ended up helping me answer my own question.
    To provide you with some code I wrote a simple test program using the record layout referred to above, with a DO loop to put some records into the internal table, followed by a LOOP AT, with accompanying WRITE statements to display the contents of the internal table and demonstrate that the last two fields weren't being stored.
    However, when I ran the test program, the last two fields were being displayed.
    It was at that point, when stepping through the debugger that I noticed the scroll arrows above the last column of my internal table that allowed me to scroll to the right and see my final two fields.
    Apparently, because of the large number of fields in my internal table I had reached the default display length of the debugger.  While I was obviously aware of the scroll bar found at the bottom of the display, I had never worked with an internal table of that width in the past and hadn't even noticed the scroll arrows above the last column before.
    Thanks for taking the time to respond helping me get to the solution.

  • Msi tv @nywhere record length?

    I'm trying to record a movie that is 1hr and 20 mins in length with the record option in best mode. But when I open the file I get the original movie plus another file with the same movie name plus volume1. so it's splitting the file. I've tried customising the file split size but it's still doing it. records to a max of 3.96gigs then the file splits. Anybody know how to make this stop? Really pissing me off now! Thanks for any help

    I think I figured it out.  This is the data that shows up when I choose best:
    [Real-time Best]
    Format:      MPEG-2
    Audio:
    Format:      MPEG-1 Layer II
    Sampling Rate:   44.1 kHz 16-bit Stereo
    Bit Rate:      224 KBits/sec
    Video:
    Size:      640x480
    Frame Rate:   29.97 frames/sec
    Bit Rate:      6400 KBits/sec
    Total:
    Bit Rate:      6883 KBits/sec
    File split size :   4063 MBytes.
    Total record time :   525 minutes
    So it looks like it's just a hardcoded limit in the software.  You'll probably just have to join the 2 parts using a video editing package ie premeire(sp)

  • OL 5.6 mcelog - warning: record length longer than expected

    OS: Oracle Linux 5.6 x86_64 UEK 2.6.32-100 under Virtualbox.
    Problem: root mail account filling up with cron messages:
    /etc/cron.hourly/mcelog.cron:
    mcelog: warning: record length longer than expected. Consider update.
    Apparently this issue is still present in OL 5.6 as it was in OL 5.5:
    mcelog-error in mail from hourly cron job using Unbreakable Kernel
    The following may not be the correct or best way to fix the problem, but it works for me:
    rpm -ivh http://public-yum.oracle.com/repo/OracleLinux/OL5/6/base/x86_64/mcelog-0.9pre-1.30.el5.src.rpm
    cd /usr/src/redhat/SOURCES/
    tar zxvf mcelog-0.9pre.tar.gz
    cd mcelog-0.9pre
    Test:
    /usr/sbin/mcelog --ignorenodev --filter >> /var/log/mcelog
    mcelog: warning: record length longer than expected. Consider update.
    ./mcelog --ignorenodev --filter >> /var/log/mcelog
    (quiet)
    Implement:
    mv /usr/sbin/mcelog /usr/sbin/mcelog.orig
    cp /usr/src/redhat/SOURCES/mcelog-0.9pre/mcelog /usr/sbin/mcelogRegards.

    Username:SQL*Loader-350: Syntax error at line 14.What is line 14 in your script?
    Thanks,
    Hussein

  • Program to write signals from PXI 5105 using labview 2011

    Hello
    I am new in using labview. I need help in writing program to continuously record the signals form PXI 5105 using LabVIEW 2011.  I prepared a program using help examples. It is recording the signal using pxi 5105 into the file after trigger. I tested the code using waveform generator with -100mV to 400mV, 1 kHz, sine wave. I have also attached the waveform of signal from the excel file recorded by the program. I have following queries
    (i) Is the program correct to continuously record the triggered signals. Have I used the while loop correctly?
    (ii) why some part in waveform is missing.
    (iii) What should be the value of millisecond multiple ( I used zero)
    I want to use above program for strain gauge signal measurement. Where I have to record the data at 20Ms/sec sample rate for 1 milli second after trigger.
    thanks
    Attachments:
    Signal recording programme.vi ‏85 KB
    recorded_signal.png ‏38 KB

    Hi,
    Sorry but I've only got LabVIEW 2010 so I can't open your file. If you can post a 2010 version I can take a look.
    vinod_p wrote:
    (iii) What should be the value of millisecond multiple ( I used zero)
    If you are talking about the "Wait until Next ms Multiple" function then "Wiring a value of 0 to the milliseconds multiple input forces the current thread to yield control of the CPU." (from the context help for the function - press <ctrl>+h). Is this the behaviour you want?
    Normally the ms multiple function is used to synchronise loops as it waits until the next multiple (be it 10ms or 10s) before continuing the loop.
    -CC
    "If anyone needs me, I'll be in the Angry Dome!"

  • Capture average Record length

    Dear,
    Besides the dba_tab_columns view which can report the average column length in a table, are there any other views that can report the average record length in a table (i.e., average record length is the acutal bytes occupied by all records in that table divided by number of records.)?
    I also assume that there is no need to turn on statistics to store the average column length in the dba_tab_columns view. Is it right?
    Thanks

    Hi,
    AFAIK, DML is just manuplating the transaction records with in the table, how we can expect Optimizer to update stats of the table @each and every transaction, if that is the case, think of the Situatin where "N" number of users working on the DB, with parallel/ shared session on one single Objects or different objects and if you compared the maxtrans of particular objecti in DB with sessions transactions - then definitely the I/O is going to impact and there would be bottle neck, so looking into that, the the Optimizer automatically manage the stats instead based % of changes in transaction rate on tables (Objects) changes.
    If you want to changem then I think alternatives are there, create a trigger where execute the job to run immedaitely to correct stat or else your custom code to update stat- but it not suggested performance would be cause on DB.
    HTH
    - Pavan Kumar N
    Oracle 9i/10g - OCP
    http://oracleinternals.blogspot.com/

  • Maximum Multitrack Audio Recording Length

    Hi there..
    I'ld like to know about the Maximum Multitrack Audio recording length of LE.
    For Cubase software,the Multitrack Audio Recording Length is depends on the capacity of our H.Disk...but for GarageBand the Recording Length is limited by adjusting the Measure and Tempoh to the lower tempoh....
    May i know how about LE?is it posible to set the Recording Length up to 5 Hours even 8 Hours??
    thanks...
    Ray

    This is correct, but it doesn't actually give you an ENDLESS amount of recording time.
    The time is still dictated by logic, it seems to be linked to a certain number of bars. So therefore by setting the tempo really low, as the original poster said you can get a very long time out of it. I'm not sure how long this would equate to.
    Once before I transferred a minidisk to cd for a friend I remember it stopped recording at about 70 mins ish, and that was set to the default of 120 BPM. So I would expect somewhere in the region of 4 times this length if setting the tempo to 30 BPM. The minimum tempo you can set logic to work at is 5 BPM, this would equal roughly 1680 minutes or 28 Hours. But whether or not it would actually happen or not is a different matter, and bare in mind these are rough maths done from a distant memory of a rough figure.
    But hope that helps.

  • Failed to open a rowset....offset and/or length of column {table_name} exceeds maxium record length of 0

    Post Author: anand.kolipakkam
    CA Forum: Data Connectivity and SQL
    hi all,
    I moved  Transoft USQL Database from one server to another, even though i am able to validate the server with usql client but my crystal reports is giving errors while trying to open up some of the reports.
    Unfortunately doesnt happens for all the reports, it happens for only for the reports which prompts for values in preview screen.
    This is the error i get
    first error screen....Failed to open a rowset....
    second error screen
    Failed to open a rowset
    Details:HY000:&#91;Transoft&#93;&#91;TSODBC&#93;&#91;MF&#93;(log: 3816-175022)offset and/or length of column exceeds maxium record length of 0
    Thats it i get a blank crystal report screen.
    I would appreciate if experts would help me out..

    Don't use localhost as your server name. It's a reserved name and should not be used in code.
    Try this also [Kbase |http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333533353333333433363339%7D.do] SAP Note 1553469 - How to enable Database logging in Crystal Reports for Visual Studio 2010
    Edited by: Don Williams on Jan 30, 2011 6:02 AM

Maybe you are looking for

  • Enjoy Purchase order - Personal settings v Vendor Master fields

    We want to use Personal settings to default certain fields but want fields from the vendor master to take prioirty.... can we change the field selection available to users or can we switch off personal settings, or change the priority so if payment t

  • Exporting HDV project for use in Premiere

    Hello All, I have cut a new scene for a film previously edited on Premiere Pro 1.5. The new scene was put together on FCP 5.1 and whenever I export I am left with a file that my PC doesn't recognise. Does anybody have any thoughts on this? Many thank

  • Disable the USB drive usage of iPod nano

    Hello, I am using iPod Nano 4G, 8GB. I disabled the "Enable disk usage" option in iTunes, also the the manual mode is disabled. I dont want my iPod to be detected as a Mass Storage Device. But even after these, whenever I am connecting my iPod to my

  • Help:ranking report(order by sales amount) can't have break up groups!

    break group:vendor/department/sub_class and order by sales amount in sub class level;

  • HT201068 Remote Desktop 3.8 startet nach Update nicht mehr

    Nach dem heutigen Update startet Remote Desktop 3.8 nicht mehr. Ich habe das Programm gelöscht und neu installiert. Jetzt bekomme ich die Meldung „Die Remote Desktop Client-Software auf diesem Computer stimmt nicht mit der Version der Administrator-S