Performanc​e of mathscript in RT scan mode of CRIO 9075

Hello, 
I am working in active vibration control field. I want real time control of vibration. I am new with Labview and working with Matlab for last 3-4 years. For real time control purpose, I am using NI 9234 AI card, CRIO-9075 Integrated Controller and NI 9263 AO card. I have .m code for controlling process.  I am using RT mathscript module to get required data. The problem is it is taking 45-50 ms for 1 iteration and i am loosing so much data in each iteration. When I am running same matlab code in my system (laptop) with same inputs, it is taking 2-3 ms and in matlab itself it is taking 5-7 ms. Why it is taking time using CRIO-9075? How can i improve the system? Is there any other fast controller or any other better option for this application?
can anyone help me? 
Thank you in advance for the help.   

I have been working on this issue and referred to earlier discussions like:
http://forums.ni.com/t5/LabVIEW/RT-cRIO-Shared-Variable-Engine-Errors/td-p/1697368
I have added a delay in my RT code (in initialization phase) and since then I have been able to solve the issue. Basically I think that SVE needs tome to work.
Please let me know if anyone has any better idea.
Thanks

Similar Messages

  • My printer hp photosmart c4680 is stuck in the scanning mode how do i get it out to print again need

    My printer hp photosmart C4680 is stuck in the scanning mode how do I get in back to the printing  again I need help please

    i have this problem too! have you fixed yours yet?

  • Can someone explain Scan mode to me?

    I'm just looking for a little help. I have just taken a production coordinator role and part of my job is to export broadcast quality movies as well as send different formats to clients to check. Today my boss told me to export a clip in DV Pal and make it "progressive". So, in the options I found the scan mode drop down had a choice of "interlaced" or "progressive" and I therefore chose the latter.
    I just wondered what the reason was for choosing "progressive" over "Interlaced"?
    I know this probably sounds like a dumb question to a lot of you, but my boss is not the most helpful, informative of men so I am kind of trying to learn as I go.
    So, if anyone can offer any advice regarding this or even tips about codecs and exporting, that'd be really great.
    Many thanks.

    Think of every horizontal line of pixels on your screen as a different line.
    Progressive: scans one line at a time moving downwards
    Interlaced: scans every odd line moving downwards, then every even line moving downwards.
    Pretty much progressive provides a better picture, but interlaced can raise the framerate. The problem with interlaces is that videos can end up looking ugly and stripe-y.
    If this doesn't make sense, maybe this video can help:
    http://www.youtube.com/watch?v=LV8UDBsf45Q
    (go to the 1:10 mark to see the big differences)

  • Progressive Scan mode (DVD on Sharp Aquos LCD)

    I want to use the Mac Mini as a DVD player on my 32" Sharp Aquos. Does anyone know if the Mac Mini supports progressive scan mode?
    Also, has anyone run into issues connecting to the 32" Sharp Aquos LCD TV?
    Thanks
    Curt

    Along the lines of progressive scan vs. interlaced... I've noticed while playing video from Quicktime I can make a selection to pick which one I prefer. I've got a project that I created in iMovie and I notice that if I were to share (export) a clip using the expert settings I can chose whether it is interlaced or progressive. However, when accessing those same .mov files in iDVD I don't see any settings that indicate whether the final DVD will be interlaced or progressive. From the looks of the footage viewing it on my computer it looks like it is interlaced. How can I create a DVD with this iMovie footage that ends up displaying as progressive?
    thanks for any advice.
    -charlene

  • Which c-series modules are compatible with Scan Mode?

    OK, so I just wasted 4 hours.
    I started a new Project with a need to use a 9220 analogue input card on a cRIO 9030, but immediately became stuck when I was unable to add the module using the right click Add New C-Series Module wizard to the 9030 chassis.
    My first (and only) assumption was that this was a new card and I needed the latest Device Drivers. So I installed those.
    When that failed I upgraded my LV2014 to LV2014 SP1, and also upgraded the Real-Time and FPGA modules too.
    4 hours later, when that failed, I realised that maybe this isn't a card compatible with Scan Mode so began searching ni.com for information. I've searched a whole raft of terms and I just cannot find information on which modules are supported by Scan Mode (which is presumably nearly all of them). I know it exists somewhere because I one referred to it when I had an RS485 module that was only compatible in FPGA mode, about four years ago.
    So:
    1. Is there an easy way to determine if a C-Series module is compatible with Scan Mode? I still don't know!
    2. Can we please have Scan Mode compatibility shown in the Add C-Seris Module Wizard. When attempting to add a module to a cRIO chassis, the wizard can hint to us that a particular module is not compatible. By not showing the 9220 in the drop down list I was led to believe the module was not a known device (and hence I attempted to upgrade my drivers). It would be better if the module was listed but disabled and not selectable, with some informational text to explain why. It's a fair assumption that a module will be compatible, so we don't expect it to not be listed when we attempt to add it. In fact, the possibility that some modules aren't compatible can evade your consciousness temporarily and make you do stupid things (like upgrade your installation!).
    3. Can we please have Scan Mode compatability information put on each module's description page. That would have made this whole process much quicker.
    Thoric (CLA, CLED, CTD and LabVIEW Champion)

    Well, I definitely agree that finding info about RSI module support is not as easy as it should be. Since I know where to look, I will refer you to this document, which I found linked from this page.
    That's the best document I know of on the topic.
    Cheers!
    TJ G

  • How to use 9871 RS485 card in scan mode in PXI-7813R (Reconfigurable IO)

    I would like to use 9871 in scan mode in RT code rather than writing FPGA code.
    Plese find the attached snapshot of RT project.
    Attachments:
    9871_InFPGA mode.png ‏13 KB

    Hello craige,
    There isn't any reason the module won't show up properly in MAX. This is probably just a software configuration error. Do you have Scan Engine support installed on the system? Did you specifically install the NI 987x serial support on the RIO? This can be done from the add/remove software window.
    Cheers!
    TJ G

  • My printer, hp photosmart c4200 all-in-one is stuck in scan mode

    My HP printer--HP Photosmart C4200 All-in-One is stuck in scan mode.  I have tried holding start button 60 sec, unplug from power supply, hold while I plug back in with no luck.

    Hi @Bungybill,
    Welcome to the HP Forums!
    I understand that you cannot copy or scan with your HP Photosmart 3110 on Mac. I am happy to help!
    For further assistance, I will need to know:
    The version number of the Mac Operating System. To find the exact version, visit this link. Whatsmyos.
    If the power cable is plugged into a surge protector, or directly to the wall outlet. Issues when Connected to an Uninterruptible Power Supply/Power Strip/Surge Protector. This applies to Inkjet printers as well. 
    If you make a copy, and lift the lid, do you see a light come on and the scanner bar move?
    Hope to hear from you soon!
    RnRMusicMan
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" to say “Thanks” for helping!

  • Can the same I/Os be used for both scan mode and fpga mode

    Hey guys,
    I currently have this project where I want to have the same I/O in both the RT VI and FPGA VI.
    (as in use a C series module on the RT VI and FPGA VI concurrently).
    For the customer's sake, I want to keep using the scan mode for the ease of programming,
    but I want to use the I/Os in the FPGA VI to implement a safe state.
    Is this possible? Thanks.

    Either scan mode or FPGA interface. You can't use both in one project.
    Suggestion
    Setup a safe mode project or double the target in one project.

  • DV Export Settings: Scan Mode in iMovie HD

    Could some one please tell me the purpose of the Scan Mode under the DV Export Settings?
    I wanted to export some clips so I could bring them into Final Cut Pro. I went File>Share>Quicktime>Expert>Share>Export Movie to DV Stream>Options and saw that the scan mode had the option of progressive. Does that mean I can change from interlaced to progressive? Or does that need to be set to what you imported?
    Thanks
    Power Mac Dual 1.4   Mac OS X (10.4.4)   2GB Ram, SATA RAID drives

    Hi James:
    QT Player's Scan mode setting doesn't deinterlace video, It just flags the DV stream as progressive.
    Sue

  • Setting chassis for scan mode

    Hi
    I am building project in project explorer and setting chassis NI cRIO 9103 for scan mode. I select scan mode from properties. In order to deploy new settings, I follow instructions ( right click chassis>>deploy settings), but when I right click chassis the only option I could choose from are New, Arrange by, expand all, collapse all, remove from project, rename, help and properties. I dont have deploy. Am I not following instructions or is there anything wrong?
    Thanks for help
    Best regards

    Definitely sounds like some necessary software isn't installed or had an installation problem.  Can you reply back with what you have installed?
    You should have installed at least
    LabVIEW
    LabVIEW RT
    NI-RIO
    and preferably, in that order.
    Thanks,
    Sebastian

  • When use scan mode and FPGA simultaneously, why does the FIFO Read can not be used?

    Hello, I am using compactRIO-9025 to do a project and trying to use scan mode and FPGA simultaneously ( Hybrid mode). I have already build a project as the following tutorial.
    http://digital.ni.com/public.nsf/allkb/0DB7FEF37C26AF85862575C400531690 and I have NI 9205, NI 9023 in Scan mode and NI 9871 in FPGA mode in the same project.
    In the FPGA Target of the project,  I add a FIFO and tried to use it to log in data from NI 9871. I wired the module I/O node to FIFO Write in the target vi. However, when I  droped the invoke method to the block diagram of the host vi and right clicked it, there is no FIFO Read can be choose. Could you please help me to solve this problem?
    Thank you very much!!

    I am not aware that using the Scan Engine is blocking any access to a transfer FIFO. But please reread this from your quoted KB:
    Secondly, the number of DMA FIFO's that can be used in the FPGA code will be reduced, since the scan engine uses two DMA FIFO's. Most FPGAs have 3 DMA FIFO's, so there will only be one DMA channel left to use in the FPGA code.
    This means, you have only a single DMA FIFO left which is either Target to Host or Host to Target.
    Make sure that you configured the FIFO to be the correct direction for your needs...
    hope this helps,
    Norbert
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • Scan mode when exporting - progressive or interlaced?

    This may be a dumb question but I did a search and couldn't find anything definitive.
    I have large uncompressed quicktime files that I need to export with the DVCPRO codec down to a file I can then use.
    What's better to use as far as the scan mode? Progressive or Interlaced? And what's the difference between the two?
    Any insight into this matter would be really helpful.

    In layman's terms...
    Film is Progressive.
    TV is Interlaced.
    Computer monitors do not show interlaced material in its true form... that is with a 'gun' zooming down the screen showing one field and back up the screen showing the other 60 times a second, as in a TV.
    If you really want to see what progressive material will look like you need a progressive monitor. If you really want to see what interlaced will look like you need an interlacing monitor (broad generalization, but kind of true... I mean, you can get a good idea what progressive will 'look' like on an interlacing monitor, but you won't get a good idea what interlaced will look like on a PROGRESSIVE monitor).
    SO...
    What YOU really need to decide is 1) what type of LOOK you are going for... smooth 'reality' look of interlaced, or film-ish look of progressive, and 2) where you will be presenting this work... if it is for the web, realize that 90% of the monitors will be progressive in nature.
    Don't be AFRAID of interlaced material... just use it for what it was intended for use with... er... in which it was intended to be used... er... well, you should get my point by now.
    Good luck,
    CaptM

  • No Computer Detected in Scan Mode Only. Officejet Pro 8500A. MAC OS10.9

    My 8500A will not detect my computer in scan mode.  Both printer and computer are on the network.  I can print from my computer.
    Directions for A 'Connection Error' or 'No Computer Detected' Error Message Displays during Scanning only go up to 10.8 and when following directions to Open Print Queue and window opens but with no printer settings.
    This question was solved.
    View Solution.

    Re: Officejet Pro 8500A MAC OS10.7 No computer detected in scan mode only
    Options 
    This post solved my problem.
    11-06-2013 06:21 AM
    Hi rogerpk,
    I will do my best to help you resolve your scan issue. Follow the steps in this LINK for scanning in OS X v10.9.
    Let me know if this helped.
    Thank you.
    Advance 23
    I work on behalf of HP

  • Scan Mode for C-Rio 9074

    So I'm using the C-Rio for my research, and I'm trying to program the C-Rio 9074 in scan mode, however, then programming options are not popping up whenever I select the C-Rio from New-> Target and Devices. 

    Okay, I installed the Real Time module, FPGA module, upgraded labview from 2011 to 2012, and installed the C-rio drivers. However, I still cannot get into scan mode. I included a picture of the error
    I thought I configured my network correctly. I step my local area connection 2 with an ip address of 10.0.0.1 and a subnet mask of 255.255.0.0. 
    Finally, I set the C-rio Ip address to 10.0.0.2 and subnet mask of 255.255.0.0

  • CRIO-9073 scan mode speed

    I am testing scan mode speed of a cRIO module.
    It seems I cannot make it operate reliable under 4 ms loops.
    I'm just reading 6 parameters and writing 7 digital outputs within the timed loop.
    Is this to be expected from this hardware ?
    Martin

    Hi Martin
    There are many factors that we need to consider programmatically, for example if you are using a while loop, timed loop, a timing VI inside of the loop (wait, wait until next ms multiple, etc). also we need to keep in mind how is reading the parameter and writing the digital output if there is any dependency or code that need or is being executed in the middle.
    Last but not the least as you said there might also be hardware limitations in order to confirm this we might need to know which modules you are using.
    One way to determine which is the function that is taking longer to execute, or is delaying your application, is to benchmark a part of your code or the whole code. Take a look to this forum and keep in mind that in order to disable a part of the code without deleting the code is to use the diagram disable structure.
    Regards
    Esteban R.

Maybe you are looking for

  • I've tried to install osx 10.6.8 and my computer freezes with some weird computer lingo during the reboot.

    this is what happened when i installed the 10.6.8 update last week (twice!!)  Thankfully, I had a time machine back-up, but how can I upgrade to Lion if this update doesn't work? My iMac Model Name:          iMac   Model Identifier:          iMac7,1

  • 10.9 laptop doesn't print to shared printer

    I had a 10.7 MacBook Air which printed just fine to a Lexmark 500n color printer shared from an olg G4 powerbook laptop. I upgraded it to a 10.9 MacBook Air, and added the printer as usual. When I print, it goes through the process and the file event

  • Move tables to application tablespace

    Hai All, In my application many tables and indexes stay in system tablespace. Use query 'Alter table table_name move tablespace app_tbs' and 'Alter table index_name move tablespace indx_tbs'. we can move objects from system tablespace to application

  • Error in a while loop formula

    I am trying to use a while loop formula to show the characters in a field up to the open parentheses '(', however I am recieving an error message saying: 'A subscript must be between 1 and the length of the string.'_ There are values in the field tha

  • Connect to Port 3307 in Dreamweaver CS3

    I know how to connect to a MySql database in Dreamweaver CS3 using the MySql connection string server behavior. However, I now have to connect to a db on port 3307 and I've never done this before. Is it possible to manually edit the php file in the c