Need in a more gentle way to constrain the digital paintings

I wrote a set of screws to manipulate, track and record data in a table with four dimensions.  The table can be extremely large, so I used the U16 numeric type, which was sufficient to describe all my data in time.  Now, I also need to handle floating-point numbers (SGL is good enough) in small paintings 4 d.  I could change my screws to manage SGL and they could compel the U16, but which should double the size of the table and limit its final size, which was the point of using in the first place the U16.

Is there a simple way to allow a VI to manage two numeric types without actually forcing?

(FYI, my screws include various table functions, the structures in place element, data value references, PDM functions and a functional global variable to pass the array between parallel loops).

Thank you.

Bracker says:

Is there a simple way to allow a VI to manage two numeric types without actually forcing?

Yes and no, what you do is create a polymorphic VI, it is a common interface that can call different sub - vi according to the entries. In this case, you will make a new sub - vi with SGL input and output and when you deposit and the polymorphic VI he'll adapt/selection of wire to the cords.

If the only thing you need to do with the sub - vi is to change the type of data it should be very quick and easy, and the result in the main code is beautiful.

/Y

Tags: NI Software

Similar Questions

  • I need to learn more about an event in the Security Audit log

    Here's an audit trail that we see.  I need to know more about this event and what it means.  This is a Windows 2003 server.

    In particular:

    -How do I determine who or what is: primary logon ID: (0x0, 0x3E7)

    -How to determine what work or article is the GUID: C:\WINDOWS\Tasks\User_Feed_Synchronization-{F9ACF166-98DF-45BB-8F33-86CB4DD8A279}.job

    Thank you.

    Event type: Success Audit

    Event source: security

    Event category: object access

    Event ID: 560

    Date: 18/06/2011

    Time: 22:14

    User: NT AUTHORITY\SYSTEM

    Computer: ABCWEBA04

    Description:

    Object open:

    Object server: security

    Object type: file

    Object name: C:\WINDOWS\Tasks\User_Feed_Synchronization-{F9ACF166-98DF-45BB-8F33-86CB4DD8A279}.job

    Manage IDS: 2828

    Operation ID: {0,1576635}

    Process ID: 876

    Image file name: C:\WINDOWS\system32\svchost.exe

    User principal name: ABCWEBA04$

    Main domain: ABCRX

    Primary login ID: (0x0, 0x3E7)

    Client user name: -.

    Client domain: -.

    Customer login ID: -.

    Access: READ_CONTROL

    SYNCHRONIZE

    WriteData (or AddFile)

    AppendData (or add subdirectory or create instance of channel)

    WriteEA

    ReadAttributes

    WriteAttributes

    Privileges: -.

    Restricted Sid Count: 0

    Access mask: 0 x 120196

    Hi Mike7211,

    The question you posted would be better suited in the TechNet Forums, resources for computer scientists. Please visit the link below to repost your question:

    http://social.technet.Microsoft.com/forums/en-us/category/WindowsServer

    Thank you!

  • Need to display more than two columns in the game now (library view)

    The current reading list (under the library, not the instant game tab menu tab a top of the player) shows only two columns, the title and duration.  I can't add more columns by selecting choose columns, or restore the columns.  I have this problem with one of the entries in the left column of the display of the library (like, songs, recently added, etc.).  Is there a way can I fix?

    It's machine running a version of Windows XP on the computer and WMP11.  I had Windows XP and media player 11 on my laptop for several years and have had this problem.  I don't know what is different between the two machines that causes this problem.

    Yes, it seems to be more at hand than just differences in operating system. However, I think I found a way to get more columns in the game now:

    1 restart WMP, start to play music and go to playback.

    2. click on the heading of column Title to sort by title.

    3. switch to another view (for example songs ) and go back to playing now. You should already see the additional columns now.

    4. to make the columns 'stick' between reboots WMP, you also needed to right click on the column header in the current playback, select Choose columns , uncheck automatically hide columns and click OK .

    Tim Baets
    http://www.BM-productions.TK

  • Is there a more efficient way to use the visible property node to make the inactive/hiding controls on the front?

    I just inherited the labview code to run a system of imaging optics mamography.

    It has 32 sources 128 detectors and 2 games of light and the user has the possibility to control the parameters of gain for each sensor to each source for each source of wavelengths, so as you can imagine there are a lot of orders and LEDs on the front panel.

    The user also has the possibility to choose the number of sources and that they would like to use detectors.  v: * {behavior:url(#default#VML) ;} O'Bryan: * {behavior:url(#default#VML) ;} w\: * {behavior:url(#default#VML) ;} .shape {behavior:url(#default#VML) ;}}}} Normal 0 false false false MicrosoftInternetExplorer4 / * Style Definitions * / table. MsoNormalTable {mso-style-name: "Table Normal" "; mso-knew-rowband-size: 0; mso-knew-colband-size: 0; mso-style - noshow:yes; mso-style-parent:" ";" mso-padding-alt: 0 to 5.4pt 0 to 5.4pt; mso-para-margin: 0; mso-para-margin-bottom: .0001pt; mso-pagination: widow-orphan; do-size: 10.0pt; do-family: "Times New Roman"; mso-ansi-language: #0400; mso-fareast-language: #0400; mso-bidi-language: #0400 ;} "}

    Depending on how many sources are entered labview code through a loop For which in fact a 'smooth box' visible or invisible, on the adjustment of gain control depending on whether the current detector is greater than the seizure of the number by the user.  This loop slows down the program because it works 128 times (max number of detectors) and has 4 structures deal (2 sets of wavelengths, 2 for each breast) with 64 nodes of property each where it is visible property to enabled or disables the box with that covers the detectors.

    I was wondering if there was an easier way to enable or disable controls for unused detectors, not only that slows down the program but to reconfigure the data to use more sources, I stop the program and restart it.

    Any advice on the creation of a dynamic front would be appreciated


  • More simple way to complete the xml data in a drop-down list

    Hi all

    I have a dept.xml as below.

    <? XML version = "1.0" encoding = "UTF-8"? >
    < departments >
    Department < and > account < / Department >
    < departmentAdmin < / Department >
    Department < and > Security < / Department >
    < / departments >

    Can I know what is the easiest way to fill in the 'account', 'Admin' and 'Security' in a drop down list?  And how?  Can we by befriending pure?  Or has done by the script?

    Thank you all!

    CL

    To embed the XML data in the PDF file, open it in Acrobat and then:

    Forms-> manage form data-> import data.

    And you choose XML file.

    I hope this helps.

    Diego

  • Preview RAM needs 2 or more images to...

    Working on the inside according to the effects on the macbook pro and random ram preview came up with the error: After Effects error: Preview RAM needs 2 or more images for playback

    The audio leak memory with scrubbing is listed as fixed in the next update:

    http://Adobe.LY/1pFGGRE

  • Drag more than one MC at the same time

    Hi Eo,

    I need to drag more than one Mc at the time:

    n.b.: emc2 is an mc on the main timeline. This code is in a nested MC.

    Prnt: MovieClip = this.parent as Movieclip;

    function drag(e:MouseEvent):void {}
    If ((e.type == "mouseDown") & & (GlobalVar.stat == 'clicked')) {}
    this.startDrag ();
    Prnt.EMC2.StartDrag ();
    }
    If ((e.type == "mouseUp") & & (GlobalVar.stat == 'clicked')) {}
    this.stopDrag ();

    Prnt.EMC2.stopDrag ();
    GlobalVar.drag = false;
    }
    }

    This.startDrag () stop to work when I add prnt.emc2.startDrag ()...

    Why?

    The documents help explain it as follows: "the sprite remains draggable until the Decree of way explicit through a call to the.

    Sprite.stopDrag()method, or until another sprite made draggable. What a sprite is draggable at the time. "

  • Unable to access computer because the account password for Windows Vista has been forgotten and don't have a password reset disk/hard to find ways to restore the system... Help please

    Hello
    I'm stuck on the screen on my computer for my Windows Vista Home Premium 64-bit edition. The password to the user account has been lost, and now I am unable to access my computer. I don't have a created password reset disk so I can't reset the password. I searched these forums and seems the most effective way is to run a system restore to a time where I did have a password for my account. Fortunately for me, I did an automatic update of Windows that created a system restore point literally moments before I put the password, so I should be able to get access to my computer once I figured out how to get system restore to work. The advice I found on other forums do not seem to work, because I'm in my Windows vista operating system disc, but no screen is coming up with 'Repair your computer', which indicate the steps happen. I need assistance to find another way to run the system restore on boot menus/Vista/DVD CD. Thank you.

    Go to Bestbuy or other PC shop. They can fix it for you. (Could I have so I am not allowed to post these alternative instructions.)

  • I use display spectral pitch to analyze changes people´s speech (for research purposes). I need the visuals of interesting changes to the basic blue line to document my results in the articles. It is a more sophisticated way to th

    I use display spectral pitch to analyze changes people´s speech (for research purposes). I need the visuals of interesting changes to the basic blue line to document my results in the articles. It has more sophisticated way to do than to take a screenshot? It is very short sequences consisting of a few words I need to visualize somehow on a scale of hertz.

    Hearing is not really adapted to the analysis of speech on a very basic level, I fear. He does not have analysis by Wavelet, or something like that and certainly won't break down whatever it is complex in its components. What you really need is a software dedicated at the end of the analysis of speech, and some of it is free - try this: Praat: doing Phonetics by computer

  • I'm moving from Vista to Windows 7. I get a question that tells me that I need a BIOS upgrade. I have an Inspiron 1720 laptop model. Is there a way to find the update is necessary?

    I'm moving from Vista to Windows 7. I get a question that tells me that I need a BIOS upgrade. I have an Inspiron 1720 laptop model. Is there a way to find the update is necessary?

    original title: bios update

    Hello

    you have a problem here as Dell does not have Windows 7 drivers available for your model of laptop etc, etc.

    Unfortunately, you need these Windows 7 drivers, etc. to upgrade to Windows 7

    read the information on your laptop on the link below

    http://support.Dell.com/support/downloads/DriversList.aspx?c=us&l=en&s=Gen&OS=WLH&OSL=en&SystemID=INS_PNT_PM_1720&CATID=-1&impid=-1

    For more information contact Dell about this

    Dell support:

    http://support.Dell.com/

    Dell support at the link above.

    http://en.community.Dell.com/support-forums/default.aspx

    Dell's Support Forums at the link above.

  • Is there a more effective way to interrogate this cache?

    I have an interesting dilemma that I don't know how to fix. I have a cache of objects ClientType (see below). I'm trying to find the CustomerGroups that contain a password key for the customerValues card, which also have a CustomerValue.value between a high and low value. In others, do me all the CustomerGroups who have a client of "101" code, which contains a CustomerValue between 50 and 250. I have this fine work to aid request a customer filter - but the problem I have is that the cache contains approximately 500,000 items. The research must be applied to all objects, and because most of the clients contain a customervalue - we end up deserialization of objects to perform the comparison of the value in the cache that fills the eden space so quickly (in a multi-threaded env) that we are to throw himself into the holder space. This causes performance issues because it weakens the large global catalogs. We use 3.5.2 consistency and all are active POF. The works of current query - I'm looking for the most effective way to do with respect to the use of time and lot. I am willing to trade increased Rightsizing memory use for best performance - which means the addition of index / improves the news is very good. The big problem is fill the eden space so quickly. Any ideas?
    class CustomerGroup
    {
        Set<Customer> customers ;
    }
     
    class Customer
    {
        Map<Integer, CustumerValue> customerValues;
    }
    
    class CustomerValue
    {
      private int value ;
      private boolean isNew ;
    }

    Simi74 wrote:
    Robert - appreciate the help. The question I have for this juicer is that the price is related to a specific customer. For example:

    ClientType contains 1 client.

    This customer has 2 CustomerValues in his card.

    These entries to resemble the following:

    Key: 100
    Value: CustomerValue.value = 10
    
    Key: 200
    Value: CustomerValue.value = 50
    

    If I'm following your logic, the extractor that you recommended would apply to values (that is to say, 10, and 50). So, if I searched for CustomerGroups that have values between 5 and 15,
    return the ClientType as one of the values is 10. However, I also this map to a specific client code (in this case either 100 or 200 - they key in the matching values). Thus, the query is really more like 'give me all the objects ClientType to 100 client code where the value is between 5 and 15'. I should only get this object if the client code is 100. I can't do a ContainsFilter with the client code and use BetweenFilter because using an AllFilter since this logic would be tantamount to a 'false' positive press 200. Logical in this case being 'the ClientType contains a 200 client' who is true and does the ClientType contain a value between 5 and 15, which is also true, because the value list has 10 and 50. But it must return this object ONLY if the customer key passed is 100. The example below is a false positive.

    /* following code returns the object, but should not! */
    Filter[] filterArray = { new ContainsFilter( new CustomerKeyExtractor(), new Integer( 200 ) ),
    new BetweenFilter( new CustomerValueExtractor(), 5, 15) };
    
    Filter filter = new AllFilter( filterArray ) ; 
    

    So my question is how to apply a hint on the CustomerKey/CustomerValue as a whole without deserialize all the objects for each search? Or is it a problem with the structuring of the object? If that's the problem - of recommendations on alterations are welcome as well fix this filtering.

    Ah, ok, got it now...

    What is the client code?

    Is it just a key generated with an arbitrary value, or is it a thing of enum type (key to a value of metadata property with only a finite number of different property names, etc.) with only a small number of different codes in all of the cache?

    If it's a thing of enum type, then instead to extract only the 'value' s as integers, you can extract pairs ' value: code "represented as long with the code being the high 32 bit which would be always classifiable and allow querying: instead of valueMin and valueMax, you would code: valueMin and code: valueMax as the beach.

    If it's an arbitrary generated value, then it is a bit more problematic (extraction POF does not support crossed down in individual map entries, so it can't be indexed without the plan, including the entire Customer objects to deserialize), but I wouldn't address that if it is not necessary, so please indicate if the previous approach fits your needs :). In the case that it is not, you would probably want to the extracted value to be structured on the other hand, the value is the code and 32-bit higher at least 32. You must also write a custom filter that supports the index which is able to use this index going in the direction of Alexey BetweenFilter but with additional controls for the code... In addition, you must check whether the consumption of memory of the filter can be too high...

    Best regards

    Robert

  • 30.0 Firefox is so slow since updated. IE &amp; Chrome not having problems loading pages, showing the blank pages, need two or more tests to open Web pages.

    30.0 Firefox is so slow since updated. IE & Chrome not having problems loading pages, showing the blank pages, need two or more tests to open Web pages. It seems to have something to do with the Visual data on the pages. My MSN homepage gets old and dies every time I open the page after the re-opening and closing of firefox. It takes forever! What is a memory drain? Each open page in a new session of firefox suffer the same fate.

    Start Firefox in Safe Mode {web link}
    While you are in safe mode;
    Press < Alt > or < F10 > to display the toolbar.
    Followed;

    Windows; Tools > Options
    Linux; Edit > Preferences
    Mac; name of the application > Preferences

    Then Advanced > General.
    Find and stop using hardware acceleration.

    Dig safe web sites and see if there is still a problem. Then restart.

  • I need to know how can I turn off the automatic updates of Firefox, because I work in a business that requires that. In the ideal, of group policy or some ways to disable all the computers on the network

    I need to know how can I turn off the automatic updates of Firefox, because I work in a business that requires that.
    In the ideal, of group policy or some ways to disable all the computers on the network

    Some info here (Group Policy)-> http://www.unidesk.com/blog/how-disable-firefox-auto-updates

    Above article refers to-> http://sourceforge.net/projects/firefoxadm/

    If this answer solved your problem, please click 'Solved It' next to this response when connected to the forum.

  • Satellite M30: I need a resolution more

    Hello

    I have M30, XP system.
    The resolution of 1280 x 800 pixels screen isn't enough. Is there a way to increase the resolution?
    (Virtual resolution are not good that need you to scroll the screen...)

    Hello

    I think that your internal display is at its maximum resolution. If you need a higher resolution then my suggestion is to use an external monitor.

    BR

    Tom

  • Need help: best way to exchange the Ipads?

    Dear all,

    Need help a genre:

    I use Ipad Air2 and my father is using retina Ipad Mini... I gifted him before 2 years...!

    We thought to share the Ipads because he loved the biggest... Can someone guide what is the best way to swap the parameters of the iPad?

    It is by taking backup and restore from Icloud? There will be data loss? or anything else that needs attention (something that he needed to be reconfigured)?

    Any help is very appreciated!

    Make a backup of each individual iPad. Use your own accounts: How to back up your device using iCloud or iTunes - Apple Support

    Import your photos from each iPad: import pictures and videos from your iPad, iPhone or iPod touch to your computer - Apple Support

    Then do it on every iPad: what to do before you sell or give away your iPhone, iPad or iPod touch - Apple Support

    Then restore the backup in your 'new' ipads: restore your device from an iCloud or iTunes backup - Apple Support

    If the ipads have the same size of storage with the same iOS version, it should work fine. -AJ

Maybe you are looking for

  • I would like to change the order in which the items are displayed in context menus (right click).

    I just got 38.2.0 of Thunderbird and I want to be able to customize, as indicated in the subject of this question. I can find how to proceed for the toolbars, but, not for the context menus. Thanks for your help. BTW - I think I will like the new imp

  • Connection HDMI 2710 change screen size

    When I have my monitor 2710 connected via DVI for my video (ATI Radeon HD 4600) adapter cable the OS window occupies the entire screen.  If I connect the monitor via a HDMI cable on the same card that I have about 1 inch of black space on all sides a

  • fill a 1 d table

    I'm prototyping an encoder with a simple Adder in awhile function loop, which increments every 1/4 second. (That part works). I want to LabView to each of these values automatically set consequtive elements in a table. I tried the "Insert Into functi

  • Properties of the file - Date of the last recorded

    Hello. I'm having trouble understanding the properties of the file, as "Last record Date" (DLS) and "Date modified" (MD). I asked that the last of them, MD, has been changed whenever the content has changed. But Distribution lists must be updated als

  • Stolen card!

    You * thieves g, I can't delete my xbox credit card! Give back me my card! * I don't want to pay!