Problems with programmaticly changing units

I'm using the units feature of LabView 6.1 (base) and ran into two distinct problems.
The first one appeared when I try to programmatically set the data range on a numerical control. While the value property has units, the data range properties do not. Which makes those properties pretty much useless when units are used (and therefore belongs in the bugs category). I have been unable to find an alternative way to convert the data range into the same units specified in the control.
My second problem arose when I had to implement custom scales because of the inability of LV to write back scaling constants. However, I can't seem to include units in my own setup because "convert unit" only works with a fixed scale and I have
not been able to find any VIs capable of handling units in a more dynamic way so that I can set them according to a saved string value.
Are there any options available that I missed which could help me with these issues?
Edwin

Edwin,
I have tried the same thing that you describe in question one in the attached VI. If you change the data ranges and then run the VI, you will note that the numeric value will only ba allowed in the new range. (If the current value is outside of the range that you have set, then you will need to change the value of the cotrol to be in the new range before the new range properties will take effect.)
As for your second question, can you expand upon this? I am not sure that I understand what you mean. Is an example VI possible? Thanks
Randy Hoskin
Applications Engineer
National Instruments
http://www.ni.com/ask
Attachments:
Data_Range_with_Units.vi ‏22 KB

Similar Messages

  • Problem with iChat changing my custom away message after 30 minutes

    Lately, I've been having a big problem with iChat changing any custom away message that I put up to "Away" after 30 minutes or so. Is there anything I can do to make it stop? Another issue I'm having is that sometimes when people on my buddy list change their away message, it doesn't show up on iChat unless I go offline and then sign back on. Any idea why it's doing that, and what I can do to get it to stop?
    Thanks.
    - Danielle
    G3 iMac   Mac OS X (10.3.9)  

    Hi ienjoyanime,
    Go to the General Section of iChat Preferences.
    Does it say you are set to Go to Away when you log off/QUit iChat ?
    is the computer going to Sleep at this point ?
    10:59 PM Saturday; April 1, 2006

  • What is the problem with fonts changing to myriad pro? Is this problem ever going to be resolved? Its driving me mad!

    What is the problem with fonts changing to myriad pro? Is this problem ever going to be resolved? Its driving me mad!

    Browser Dog, Amy,
    The default font remains Myriad Pro until you change it, either in the RGB/CMYK Startup files or in the preferences, options depending on versions.
    Concerning missing font names, I believe this may solve it:
    Open System Preferences and go to Accessibility. Next, select Display from the source list along the left, then check the box labelled Reduce transparency.
    It was first presented in this post #15 by TheUlser:

  • Problems with Plan Change - Needs Immediate Result

    Hello,
    I have been a long time Verizon Wireless customer.  I have two lines, one of which was assigned to a tablet with a 1gb plan.  I maintained this line for the upgrade since my other line has unlimited data.  I recently upgraded to the Note 3, and in the process was told that I'd have to establish a new line to accomplish the upgrade.  The representative, from Costco, let me know that it shouldn't be a problem transferring the same plan to the newly established line and not to worry about anything going wrong.  That night I called Verizon for the first time and worked with a customer service representative who ended up making the problem worse by canceling the tablet line before transferringthe device to the new line.  This caused a problem with my sim card, and I have to request a new one because my old was was constantly showing an "aging" status.  Even a few days later.  The first night consisted of two phone calls to Verizon because the rep mentioned above ended up disconnecting me trying to get over to tech support.  The second rep was much more helpful, but wasn't able to do anything and let me know I'd have to work with tech support, but should wait until the next day to allow the sim to "age."
    The next day was the 4th of July, so I called back the next day and went through a similar process, spent about 30 minutes with one rep, only to be told my sim was still "ageing" and to talk to tech support.  Every time I was connected with tech support it was a minimum 30 minute wait, just to be told that there was nothing they could do, again, and they sent me a new sim card.  When i received that sim, at which point it was the following week, I called back and activated my tablet successfully.  Hung the phone up and thought all was well, until I saw my balance due the next day.  It was nearly double what I usually pay.  The representative never informed me that it would default to a prorated amount based on that payment, of 4gb.  None of which I need.  I called back, again, and was told that I wasn't able to use the old plan I had since it didn't exist anymore.  This time the representative was very pleasant, and let me know she'd put a request in to see if the old plan would be possible, given my situation.  I was alright with that, and this was the first time I wasn't frustrated after hanging up the phone.
    She called me back yesterday letting me know that Verizon isn't willing to allow me to use my old plan, and that there is a new plan options, that is 10 dollars a month.  Honestly that was all right, so I called in today to change it to that plan and have it backdated to the date of upgrade to fix my billing issue.  During the process of looking up my information, the representative I spoke with today disconnected me.  Over the last week and a half I have spent nearly 3-4 hours on the phone with Verizon just trying to fix this issue that was not anything I could have controlled.
    The rep at Costco told me I'd have no issues transferring my lien to the new line we opened that day, and the first individual I spoke with on the phone canceled the line too early and further delayed the process by requiring me to request a new SIM card for the tablet.  After being disconnected this time, I'm extremely frustrated with the entire situation and Verizon in general.  I've been a customer of Verizon for nearly ten years, and for the fist time I am considering moving to another carrier seeing.  In that ten year period, I have probably called into customer service less than 5 times.  And in the last week and a half I have made more calls, and spent far more time on the phone than every before.
    The bottom line is, I need to have the plan changed on my tablet line to something comparable to what I had previously, which was a 20 dollar, 1gb plan with the 10 dollar tablet fee.  I need this taken care of ASAP and I need to know it's being done correctly.  If Verizon is going to partner with companies like Costco to provide phones to members, and increase their customer base, than these reps need to be better equipped to handle the upgrade process.  And it seems that the call centers I have spoken with are a 50/50 shot in terms of reaching someone who is able to do their job effectively and in a timely fashion.
    I hope to be contacted with a resolution by today or I will be returning the phone, and looking elsewhere for my wireless needs.
    Thank you.
    Josh

    There is an "undocumented" parameter you need to include in your
    page. It MUST be a hidden field value called "p_action". The
    form hidden value is either "OK" or "CANCEL" (case sensitive).
    Thus, when the form is submitted, this parameter states to
    commit the changes. Useful if you have a "Save" button and
    a "Cancel" button.

  • Problem with programmat​ically control histogram color

    Hi,
    I'm developing a function to display multiple channel histogram. But I can not programmatically control the color. I use XY graph to display, and there's no problem with other type of plots.
    Attached is the example vi I use for the test. Please tell me if I make any mistakes.
    Inhaler
    Attachments:
    histogram_colortest.vi ‏38 KB

    instead of using plot.color, use the fill/point color.
    -Joe

  • Still problems with ID changing in Teaming 2.1?

    Hi,
    They are still problems with changing the ID from user in the eDIR when they are
    will synchronized with the Teaming system?
    In the past it was a very bad thing if the user name (ID) was a shortened form the
    name of the user e.g. ssmith for Sarah Smith.
    When "our" Sarah has married and her new name was e.g. Sarah Stone, new user ID is
    sstone, the Teaming system can't "realize" that ssmith and sstone are the same user.
    Is this problem fixed in the version 2.1?
    THX
    Andre

    Hi,
    A opened a request by Novell and get the answer that all is still the same since version 1.x.
    Maybe this behavior will change in the version 4.x.
    It's really sad that Teaming can't handle changed IDs.... really sad....
    Than we have two ways... first, we change all our IDs to IDs with digits like 1234 or the second way... we use
    SharePoint.... really sad.....
    I'm wonder me that we are the only firm with such problem....
    THX
    Andre

  • AdvancedDataGrid problem with programmatically adding a column

    Hi everybody,
    I have a Problem with adding columns programmatically to a AdvancedDataGrid. The code:
    var cols:Array = thisDataGrid.columns;
    cols.push(dgc);
    thisDataGrid.columns = cols;
    does create a column, adds it to the cols array, bot the last code line has no effect. The cols wont be found in the thisDataGrid.columns property...
    What could be the problem? I'm working with a test license, and on the advanceddatagrid the watermark shows up. Could this be a problem?
    Thanks for help!
    Markus

    As the columns property of an adg is bindable, you could try to bind it to an array and afterwards, add columns to that array:
    AS:
    [Bindable]
    private var adgCols:Array = new Array();
    private function addCol():void
                    var myCol:AdvancedDataGridColumn = new AdvancedDataGridColumn();
                    myCol.headerText = "test";
                    myCol.dataField = "v1";
                    adgCols.push(myCol);
    MXML:
    <mx:AdvancedDataGrid id="adg" designViewDataType="flat" columns="{adgCols}"/>
    This helps?
    Dany

  • Problem with Tempo change using factory - Please Help!

    Hi, All
    Im experiencing a problem when I change the tempo of an audio file and want to revert back to its original state. I understand that you can not just undo the process so I try and delete the file from my bin and import the file again. The problem that I am experiencing is that even though the original file is at the original tempo, once imported to my bin the temp changes automaticaly to the one I deleted. Is there something I am doing wrong? any help on this would be greatly appreciated.
    Thanks
    Patryk

    you can stretch any audio file already recorded in Logic but there is simple rulethat you must follow:
    the Sample must be recorded in Logic at original BPM tempo
    you can use Bus routing or bounce...
    all resulting files will be vere same as apple loop...
    if your file is not recorded in logic just find the correct BPM and after tha, Bounce it!
    G

  • Bridge CS4 edit history problem with OS change from XP to 7

    I've changed my OS from XP to 7.  After reinstalling software, Bridge CS4 no longer keeps my editing steps in the "edit history" metadata.  The only steps recorded are that I've  saved a file.  I have the edit history box marked in preferences in both Bridge and PS, and have tried changing the metadata section in Preferences to session only, concise, and detailed.  None of those choices make a difference.  Any suggestions on how to get my edit history steps back in the metadata of Bridge?  I use the edit history frequently!  Thanks in advance!

    Work through all of the steps (ideas) listed at http://ppro.wikia.com/wiki/Troubleshooting
    If your problem isn't fixed after you follow all of the steps, report back with ALL OF THE DETAILS asked for in the FINALLY section, the questions at the end of the troubleshooting link... most especially the codec used... see Question 1
    Read Harm on drive setup http://forums.adobe.com/thread/662972?tstart=0
    - click the embedded picture in Harm's message to enlarge to reading size

  • Problem with font changes making video unrenderable

    Hi- I hope someone can give me some advice. I have been creating different language versions of a video and until now I merely duplicated the original sequence and then changed the individual titles to create a new language version ( there is no narration - only text). Now for some reason, whenever I try to change the text, it make the corresponding video unrendered. The title appears but the video disappears- and cannot be rendered.
    I have completed about six different versions without problems, but now I can't make further changes on the video.
    Grateful to anyone who can give me some advice.
    Best regards,
    L O Foster

    cannot be rendered...that's odd. But becoming unrendered is standard. When you render the text on top of the video it makes one renderd file out of the two layers, If you change one of the layers, then the rendered file is no longer current and it has to make a newly rendered file with the current settings (in this case the altered text.) It's no different than if you were to change a setting on a filter, even one tiny notch, or change the duration of a transition. If you want to limit the amount of the render, cut the bottom clip at the beginning of the text clip and the end and it will only need to re-render the area overlapped by the text.

  • Problems with duplicate persistence units

    I suppose that Weblogic 10.3 do not support some locations of persistence.xml.
    For example. On Jboss server I can succesfully deploy ear with this structure
    -services-ejb.jar
    -services-ws.jar
    -/APP-INF/lib
    -/APP-INF/lib/services-jpa.jar with persistence.xml i META-INF
    -/META-INF/application.xml
    But on Weblogic 10.3 it is impossible. Weblogic got an error with duplicate PU in the same location...
    <2009-06-04 16:06:18 CEST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    weblogic.management.DeploymentException:
    at weblogic.application.internal.flow.JpaFlow.prepare(JpaFlow.java:59)
    weblogic.deployment.EnvironmentException: duplicate persistence units with name servicesJPA in scope services-ear.
    First PU location: file:D:/apache/bea10.3/wlserver_10.3/samples/domains/wl_server/servers/examplesServer/tmp/_WL_user/services-ear/skzpn4/APP-INF/lib/services-jpa.jar.
    Second PU location: file:D:/apache/bea10.3/wlserver_10.3/samples/domains/wl_server/servers/examplesServer/tmp/_WL_user/services-ear/skzpn4/APP-INF/lib/services-jpa.jar
    My application.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <application xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_5.xsd" version="5">
    <description>services ear</description>
    <display-name>services-ear</display-name>
    <module>
    <ejb>services-ejb.jar</ejb>
    </module>
    <module>
    <web>
    <web-uri>services-ws.war</web-uri>
    <context-root>/services-ws</context-root>
    </web>
    </module>
    <library-directory>APP-INF/lib</library-directory>
    </application>
    Is any solution to keep persistence in library directory?

    Edwin,
    I have tried the same thing that you describe in question one in the attached VI. If you change the data ranges and then run the VI, you will note that the numeric value will only ba allowed in the new range. (If the current value is outside of the range that you have set, then you will need to change the value of the cotrol to be in the new range before the new range properties will take effect.)
    As for your second question, can you expand upon this? I am not sure that I understand what you mean. Is an example VI possible? Thanks
    Randy Hoskin
    Applications Engineer
    National Instruments
    http://www.ni.com/ask
    Attachments:
    Data_Range_with_Units.vi ‏22 KB

  • Problem with merging changes made in Business Catalyst

    I put some text frames in my Muse project and now my client try to make some changes in text using Business Catalyst but we have big problem because it is impossible to merge changes back to the Muse project. The site is in Polish language but I also tried to do it with English. The result is different but also wrong.
    As you can see bellow (screen1)I tried to change words "Adobe Muse" to "adobe muse" and "apps" to "application". Look at Preview on Page result. The newe phrase "adobe muse" is inside the word "videos" instead of following it. So we have: " ....and videoadobe museuse is....". But fortunatelly after clicking "Merge into Muse" everything is OK (screen2).
    But when I use Polish language both results are wrong: Preview on Page and the result after merging (see screen 3 and 4)
    So I can't work together with my client and it's a big problem because I choose Muse and Business Catalyst for this project just to have this possibility.
    Some ides about reasons? I hope these problems are easily solvable.

    Hi TheArtDictator,
    The issue you're running into is similar to http://forums.adobe.com/message/6012076#6012076.
    There isn't a fix yet. What we know is that HTML character entities (like &reg; or &ndash;) can somehow appear in content edited using In-Browser Editing. The Muse sync process doesn't expect/handle them correctly. What we don't know is what causes these entities to be inserted. To help us figure that out, could you find out:
    - Which OS and browser (including versions) were used by the client?
    - Did the client copy/paste content from external sources?
    Thanks,
    Abhishek

  • Problems with values changed from timeout to event

    Hi all
    i've this question.
    I'm talking with an instrument (oscilloscope) asking it some values and i can see them into my labview panel (refreshing them every timeout loop).
    I can set different values into labview panel and the scope changes its settings so in the next loop my panel reads the new value from the scope.
    I obtain this with some events and all is working perfectly.
    My problem is this: when i click on an element (click generates an event) labview must finish timeout loop and only then executes the event, so the new value set by the user will be ignored.
    What can i do to execute the event "instantly" with new user values?
    tnx to all
    http://www.sd-studio.it - web design agency

    As per your description, the user input should be delayed, not ignored, because LV will execute the event at last.
    Anyway, to shorten the delay, you may simply set a 0 ms (or a very short, e.g. 10 ms) timeout for the event structure and manage a timeout "by hand". For example, you store in a shift register the last time you executed the refreshing code; when the timeout event executes, you subtract the last time value from the current time; if the difference is more than a given threshold, you actually execute the refreshing code.
    Paolo
    LV 7.0, 7.1, 8.0.1, 2011

  • Big problem with tempo changes in comp mode

    So I made a sweet comp of a track in a song that has some tempo changes and when I reopened the song later all of the takes that were recorded after the tempo change had moved and were no longer in time with the rest of that song. Since they are in comp mode I can't move them back into place. What's going on here? Is there any way to fix this?

    Hmm, the comping "feature" still seems to be buggy. Unpack the comp folder and move the regions back into place - far from ideal but the only way I could think of to fix your problem.
    Are you on Logic 8.0.1 ?

  • Problem with speed change in Twixtor Pro

    Using Twixtor 5.0 and After Effects CS6, and I'm struggling with a situation where keyframing the Speed% change causes the slow frames to freeze for several frames at a time.
    What works:
    Drop clip into new comp
    Enable Time-remaping, and extend the length of the comp to a good minute or so longer than source clip
    Add Twixtor Pro to clip layer (appears to behave the same if you drop this comp into another clip and apply to that)
    Set frame rate to match comp's (and clips)
    Set speed% to something low, like 5.
    Clip plays back nice and smooth and slow, every frame is interpolated.
    What doesn't work:
    Repeat above steps... up to 5
    Set a keyframe for speed% to 1000
    Advance playhead ahead a second, set another keyframe to maintain speed
    Move several frames, set keyframe for speed% to 5
    When I playback the clip, after the last speed change, instead of nice smooth motion, I get a still frame, then several identical frames, then it jumps again to the next incremental frame, and so on – with NO smooth interpolated frames. The result, as you can guess, is quite jerky.
    If you trash all the keyframes and just leave the speed change to 5, it plays totally smooth. Which is just great, except for the fact I want to actually animate it.
    Has anyone encountered this?
    In the meantime as a backup, I'm using Timewarp, but I would love to sort this out.

    Hi Rick, I appreciate your persistence to help. That's definitely another way to use the plugin which I've never used in the past, but does eliminate the need to enable time-remapping. Certainly not as common as the majority of the tutorials out there, including Re:Vision's own.
    For the sake of argument I tried this approach, but unfortunately the problem persists. Out of curiosity, were there specific problems you avoided by using the solid method vs applying directly to the footage?
    If I can dig up my serial numbers I will install the CS6 update as instructed. I'll definitely update this post if I get any positive results.
    UPDATE:
    I'm pleased to say upgrading to 5.1.5 fixed the problem!

Maybe you are looking for

  • Posting for payroll-Mid Year Go Live

    Dear Friends, We are going live in Payroll on August.I have some clarifications regarding the leagacy data upload, kindly calrify 1.After uploading Data from April 2008 to July 2008 , if i run payroll thru INLK schema, do i need to do Payroll FI post

  • How to insert a page break in smartform

    hi all i have to print only ten records per page. Is there anyway to insert a page break in smart forms?????

  • RG1-Macro

    Dear all, I Downloaded RG1 macros from Service .sap.com..Zip file. After my RG1 Report saved in Desktop.... I opend RG1 macro Excel and tools,,Udertoold Clicked on Macos...But my Noram Excel report is not updating in RG! macro Excel. How can i use RG

  • Setting headers to the HttpRequest

    How to set content in header of the ServletRequest.. Can any body please help me ..

  • My new ipad air doesn't allow me to see purchased apps

    I've backed up my old ipad on itunes and set up the new ipad air from the backup but none of the apps have appeared and when I go to the App Store to download them from iCloud the icon for iCloud doens't appear and there are no apps visible in the Pu