Size of the queue for Signal form write XNET

Hello

I am using the XNET library to play a preset on an output signal waveform. I work with LabVIEW 2014 SP1, 14.5 XNET on a W7 Pro 32-bit operating system. I use an NI PCI-8512 map. This is my first app using the xnet library.

In my test application, I give the user the ability to set the waveform to play. The total duration and the sampling frequency can be set. The output MAY report is cyclical, with a cycle time of 0.01 s (10 Hz). I chose to use the same frequency for example my wave form and writing of the CAN.

I have difficulty working with the size of the queue. In this example, it's good but I did not really why. I tested different values in the size of the queue and 100000 seems to be good up to 60 seconds. But for the longest (about 5 minutes), this method is not good...

What is the right way to work in this mode and how use efficiently the property size queue? Information and example of using software and hardware OR XNET are not very convincing...

Thank you in advance!

You can add several items at the end of the queue until the queue is empty.  So if you want to write 10,000 points, and your buffer is only 1000 points, then wait and monitor the number of messages remaining in the buffer, and once it is less than 100 say adds an another 900.

I used this method for flashing on CAN and LIN.  I needed a way to watch specific at specified times images, and a single point of frame link would not repeat (which could write the same byte twice what would be bad) I could have made the rivers and used avoiding, but a better solution was to use queue and add more pictures at the end of the queue to try to keep it as complete as possible.

Tags: NI Products

Similar Questions

  • What is a good way to use the queues for the model of consumers/producers?

    Hi all

    I am following the model of consumers/producers to use the queue to synchronize the following process: the producer is a loop to produce a number N, I will put each number generated in a table and after each 5 numbers generated, I put the table in the queue and pass it on to the consumer. I have to wait the use by consumers of the data and it will then remove the item from queue so that producers will have the chance to produce another 5 numbers. As I put the maximum size of the queue one, I expect that the producer and the consumer turns to produce / consume all five numbers and the opportunity to another. Here is my code

    When the checkbox is false, the code will be

    For the first 5 numbers, product will generate every thing right and put it in the table, and it's going to pass the array to the quere so that the consumer will have the chance to loop through the table. I except the procude loop will continue only when the queue is available (i.e. all items are deleted), but it seems that once the consumer starts the loop loop of the product will continue (if the indicator x + 1 and x 2 will be changed to numbers). But this isn't what I want, I know there must be something wrong, but I can't say it is.

    dragondriver wrote:

    As you say in 1, sequency structure to enforce the order of execution, that's why I put it here, in this example, the simple question, I replace the complete code with increase in the number, in the real case, the first markers + 1 and + 2 must be performed in this order.

    Mikeporter says:
    1. get rid of all the structures of the sequence. None of them are nothing but apply a work order which would have been the same without them.

    So even if you delete the sequence structure, there will be a fixed & defined order and it is because LabVIEW follows the MODEL of FLOW OF DATA.

    Data flow model (more precisely in the context of LabVIEW): a block diagram node runs when it receives the required inputs. When a node is running, it produces output data and transmits data to the next node in the path of the data stream. The flow of data on the nodes determines the order of execution of the VIs and functions on the block diagram (click here for reference).

    Now in your code, just remove the sequence structure will not make you order will be going to stay the same, but you need to do some very minor changes (as thread of the error in loop, before that he go to the node "Élément Dequeue").

    Come to the main point: it's a good way to use the queue for the consumer/pmodel that?
    The model you are using (and qualifying as consumer/pmodel) is much too deviated from the original consumer/pmodel which model.

    dragondriver wrote:

    For the second, Yes, it's my fault for delete, though. I'm actually the example of model of producer/consumer design pattern, but I do not pay attention to the while loop in the part of the consumer.

    While loops (two producers & consumers) are the essential part of this architecture and cannot be deleted. You can start your code using standard model.

  • set the maximum size in the Options for field text for a field in bi publisher RTF

    Hi all

    How to set the maximum size in the Options for field text for a field in bi publisher RTF.
    I have a RTF which is a field I need to add a validation condition, but after the addition of certain conditions in the text to add tab helps, it does not after a certain length, how can I increase the unlimited length, please help me on this

    Thnaks

    You can try to keep the validation condition outside instead of form fields

    as do

    or

    If you want to use form fields break your calculation and use 2 or 3 form fields so that you have any calculation of form fields.

  • How to reduce the size of the file for documents

    How to reduce the size of the file for documents

    The full version of Acrobat can do (not for free Acrobat Reader) for the pdf files.

    Please give us some info like what type of file you are talking about and software that you have at least.

  • How can I change the size of the font for the comments/text call out boxes?

    How can I change the size of the font for the comments/text call out boxes?

    Hey sylviec10386621,

    Once you add any call box, select this option and press (Ctrl + E) to open its properties.

    Try this at your end and let me know how it goes.

    Kind regards

    Ana Maria

  • Size of the file for DPS

    Hello

    I'm trying to compress the size of the file for DPS.

    I tried to resize to 1024 x 768 images before placing them in the file and I was wondering if it would make a difference?

    By example, if I place a picture of 3000 x 3000 pixels in the DPS document compresses it anyway?

    Kind regards

    Chris

    For all, but the overlays pan and zoom and pan images are down sampled at

    108 of PPIS for PDF folios. There is no real need to do anything in Photoshop.

    Simply place your image and your scale in InDesign.

  • How can I change the size of the race for the Brush tool?

    Hey guys,.

    I wanted to know how to set the size of the race for the Brush tool? It seems I can only fix the pencil too race size. All suggestions are useful!

    Thank you

    When you select the Brush tool there are two points that appear at the end of the tools.  One is for the size of the brush, the other is for the shape of the brush.

    Something else to vary the size of the brush over is a zoom before or zoom out of the scene.  Size of the brush does not fit so if you do very small step the brush becomes very large comapratively.

  • How to increase the value of the queue for a server to avoid errors

    In the RESOURCES section of a config of ubb, "MAXQUEUES 700" stand for all servers queue or queue on each server?

    Because there are a lot of "ERROR: the Message Queue blocking warned childbirth, Qaddr = 583902 ' for a server in ULOG, what should I change the value of the queue of this server to a higher value to avoid this error? Change the "MAXQUEUES? If increase the queue for a server?

    Thanks for your kindly reply.

    MAXQUEUES is used to specify the maximum number of queues - not number of messages on a queue of (each).

    To solve your problem of blocking, you might consider adding servers (to accelerate the responsetimes).
    Another option could make synchronous calls if it would make sense for some application that you design.

  • How to get the size of the Applet in my form?

    I am in the form of Oracle 11 g, I want to focus my use of the window the code below:
      v_app_width := TO_NUMBER(GET_WINDOW_PROPERTY(FORMS_MDI_WINDOW,WIDTH));
      v_app_height := TO_NUMBER(GET_WINDOW_PROPERTY(FORMS_MDI_WINDOW,HEIGHT));
      v_win_width := TO_NUMBER(GET_WINDOW_PROPERTY(p_window_name,WIDTH));
      v_win_height := TO_NUMBER(GET_WINDOW_PROPERTY(p_window_name,HEIGHT));
     -- message("width" ||v_app_width);
      SET_WINDOW_PROPERTY(p_window_name,POSITION,(v_app_width- v_win_width) / 2,(v_app_height - v_offset - v_win_height) / 2);
    This works for 6i, but does not not for 11g. As
     GET_WINDOW_PROPERTY(FORMS_MDI_WINDOW,WIDTH)
    Returns the value 0.
    But once this line of message without comment, the next shape call this procedure of Center window works fine.

    My problem is similar to this: http://www.orafaq.com/forum/t/149809/2/ but there is no solution.

    I also found this: http://docs.oracle.com/cd/B14099_19/winitan.1012/relnotes.1012/relnotes/forms.htm
     5.1.4.1 GET_WINDOW_PROPERTY Returns 0 on Microsoft Windows
    
    GET_WINDOW_PROPERTY(FORMS_MDI_WINDOW,WINDOW_HANDLE) returns zero even with separateframe=true. Oracle Forms Online Help states that this should work on windows platform. This is incorrect as this Built-in does not support MDI. 
    [Edited 3/12 16:50] Today, I found this code does not work for my first form (login form) when the application is launched. After login, the forms of rest can be focused very well. Don't know what is the reason.

    So, if this does not work, how can I get the size of the applet and focus my window?

    Published by: frank1018 on March 12, 2013 16:53

    If you want to Center your window when MDI is enlarged...

    first create timer... under a time-new-forms-example...

    Declare     timer_id   Timer ;Begin       timer_id := Create_Timer( 'laf_timer', 50, NO_REPEAT ) ;end ;
    

    Use this solution in what timeout... because it will not perform this procedure at a time new forms instance or preform triggers...

    declare     mh number;     rh number;     mw number;     rw number;begin                       If lower(Get_Application_Property( TIMER_NAME )) = 'laf_timer' Then
    
                             mh     :=     get_window_property(forms_mdi_window,height);                    mw     :=     get_window_property(forms_mdi_window,width);                    rh     :=     get_window_property('yourwindowname',height);                    rw     :=     get_window_property('yourwindowname',width);                          set_window_property('yourwindowname',position,(mw/2)-(rw/2),0);  /* i make 0 for the value of Y.. for i liked it on the top but you can change it too */
    
              end if;
    
    end ;
    

    Published by: ck on 14 March 2013 02:44

  • How to set the size of the screen for sensitive design mode?

    Previously, I was able to select one of several sizes of standard screen for sensitive design mode when you test a Web site, but can now only to select a size. Why and how can I change this?

    The drop to the bottom of the list in the display of delicate design is empty?

    You have a pref devtools.responsiveUI.presets the topic: config page?

    If this is the case, then try to reset this pref to get the built-in default presets.

    You can open the topic: config page via the address bar.
    You can accept the warning and click on "I'll be careful" to continue.

  • The new version, I installed today (25/06/13) keeps the size of the browser for some awfully big gawd Office size resizing. How can I get him to stop?

    This isn't a question to run in full screen or minimize/maximize... I resize down and throw later and it comes back as an office of great size.

    Hi Griffvan, Firefox now allows to adjust the zoom level of the page according to your settings in Windows, to better support high DPI displays. For example, if Windows is set to the font size of 125% (120 DPI), the content area will be enlarged by 25% compared to 21 of Firefox and earlier versions.

    The straight to the earlier style display line is the approach of two steps:

    Step 1: Install the extension of theme font & size changer . Why? Because disabling the scaling affects the area of chrome (menus, toolbars and tabs) as well as content.

    After restarting Firefox, click on the new 'A' icon at the right end of the navigation bar and change the size of the police from Normal to 15.

    Step 2: Change your global scaling in the topic: configuration preferences editor.

    (1) in a new tab, type or paste Subject: config in the address bar and press ENTER. Click on the button promising to be careful.

    (2) in the filter box, type or paste the pix and make a pause so that the list is filtered

    (3) double-click layout.css.devPixelsPerPx and change its value to 1.0 for Firefox 21 size of the fonts in the content area.

    This should take effect immediately without another.

  • I can not adjust the size of the window for Firefox on OSX 20 after update

    After updating to the latest version of FF, I can no longer adjust the size of the window. I tried to click and drag the four corners of the window, but it remains the same size. Before the update I could adjust the size of the window. I tried rooting around in the topic: configuration settings but have not been able to find something that would determine the size of the window being locked to certain dimensions. I have also reset firefox to its default settings and this does not resolve the issue.

    Execution of OS x 10.6.8 with Firefox 20.0

    Try to disable the use of Firefox graphics acceleration hardware.

    You need to restart Firefox for it to take effect, so save any work first (e.g. you compose mail, documents online that you are editing, etc.).

    Firefox menu > Preferences > advanced

    In the mini ' General' tab, uncheck the box for "use hardware acceleration when available.

    If you restart Firefox, the problem is solved?

    See also: starting today, Firefox windows is more scaleable. OS x 10.6.8 Firefox 20.0

  • How to change the size of the font for the finder windows?

    The font size in the finder and the general text boxes is too small for our use. It can be increased? I can't find anything for this in preferences.

    Finder

    Launch the Finder.

    Click on the "View" menu in the Finder menu bar, then "options".

    A small dialog box opens.

    Click inside the box pop up next to "text size: ' and choose the font size.

    There is no possible preference to change the font size in the other text boxes.

  • Is there a problem with the maximum size of the RAM for Satellite 320CDT?

    I have a 320CDT Satellite with the latest BIOS (v8.00) and Windows 98 Second edition installed. There are 32MB memory base and a 32 MB module in the single expansion slot. If I change it to a plug-in 64 MB I see that 64 MB of total memory reported, not 96 as expected; the specification for the machine indicates that the admissible maximum memory is 160 MB (32 MB base + 128MB expansion). Does anyone know if there is a problem with the maximum memory size for this model and if there is a solution or workaround? I need to know quickly, in order to decide if I should return the memory module to the vendor! Thanks a lot for any help, Peter

    Satellite 320CDT supports an internal memory of 32 MB and a single slot can be used!
    You can improve it to max 96 MB (32 + 64 MB)
    I found a few old memory modules. You can use the modules SODIMM 144 pin EDO PA2043U 32 MB or 64 MB PA2044U

    Greetings

  • HP officejet pro 8600 printer: print the job stuck in the queue for a printer hp officejet 8600

    I try to print a document on my 8600 pro hp officeject and printer, but it will not be printed because there is a print job stuck in the queue.  I tried to cancel the print job stuck but will not remove. I tried to turn off the printer, but it still won't delete. Can you tell me how to cancel a print job that is stuck in the queue?

    Hello

    From the desktop, hold down the Windows key and press R.  In the run window, type services.msc and press to enter.

    Scroll down to the print spooler service, right click and select Properties, then click the Stop button.

    Now search for C:\Windows\System32\Spool\PRINTERS, then delete the work inside this folder - you may need to click a command prompt to get the authority to open the PRINTERS folder.

    Restart the computer and you should find that the document has been deleted.

    Kind regards

    DP - K

Maybe you are looking for

  • Satellite L500-208 does not automatically go to power saving mode

    Dear guys, I have a Satellite L500-208 (Serial: PSLS9E) with pre installed Windows 7 64-bit.For some time, the laptop does not automatically energy saving mode (as configured in the Power Options). Automatic change "Energy saving" worked some time ag

  • Qosmio G50 will not play certain discs

    Hey Recently my in my Qosmio G50 dvd player will not play some discs.You can hear it try and then suddenly stop and start again. Others work fine, but some just used to play.I have try it on other computers and it plays very well. If this is not the

  • BB10 SDK 3 qnx.fuse.ui.text.Label issues

    textFormat.size = 22; //Added this in to change font size var lblText1:Label = new Label(); lblText1.text = "Click \n on board to resume game"; // lblText1.wordWrap=true; // lblText1.autoSize= TextFieldAutoSize.LEFT; Hello It's probably a noob questi

  • Secondary ACS authenticates not to dynamic users

    Hi all I have two ACS server for windows with version 4.2. My problem is that, if the primary ACS server is down, dynamic users from the database windows in unable to authenticate with the ACS secondary. Please note that if a user is added to the ACS

  • How to strengthen the basis of oracle data that is installed by default configuration

    Hello DBAs,A recent hearing in our database by the world famous firm oracle administration gave us their evaluation report, which also includes a clear guide to harden our server and the database. I got very frustrated by their report because he had