Property node - setting custom time?

Hello,
as posted with a vi , I have the following problem:
I have a program with 2 buttons and a chart. When I press the first button , the interpretation in the chart should take this value(10:15:30) as begin point. And when I press the second button the chart should begin plotting from second (13:00:00) value.
I have created everything except finding how to connect those values to the node property.
The time in the chart should take my value, not sth which makes unsense.
Also I need to change the sample rates ( 5 points/sec if button one is pressed)
(10 points/sec if button two is pressed)
pls help...
John
Attachments:
test1.vi ‏56 KB

What version of LV are you using?
In your cluster of time/date, you have an hour of 30, which doesn't exist.  Thus the date/time to seconds function is not handling it.
This was  bug in earlier versions of LV.  Later versions fixed the bug with handling values of out range and would allow out of range values to roll over for the next.  So 30 hours is 1 day 6 hours.  However the latest version still has 1 bug remaining for one of the values in the cluster.
Look into this thread.  http://forums.ni.com/ni/board/message?board.id=170&message.id=268112#M268112
Message Edited by Ravens Fan on 12-03-2007 04:23 PM
Ben was on it all along.  Take a closer look at the difference between your VI and his posted screenshot and the bundle by name functions.
Message Edited by Ravens Fan on 12-03-2007 04:25 PM

Similar Messages

  • Labview 2010 64-bit property node setting

    I am trying to set the selection start and selection size for an array in LabVIEW 2010 64-bit on a Windows 7 64-bit machine.
    LabVIEW 2010 64-bit crashes and is shut down by Windows.
    The call works fine in LabVIEW 2010 32-bit on the same machine.
    The computer is a Dell Precision 3500 with 4 GB ECC memory, an Intel Xeon 3530 2.8 GHZ CPU, and a 320GB hard drive.  I have LabVIEW 2010 Service Pack 1 installed.
    Here is an example of code with just one property node call.
    Is this a bug or something weird with my system.
    Attachments:
    Array Property Node Crash Example.png ‏24 KB

    I was able to reproduce the problem, also using LV2010 64-bit on Windows 7 64-bit. I tried various representations of the array data type as well as trying to not include the data type for the control reference as well as trying it via a property node in the calling VI. LabVIEW crashed each time. I'd say it's definitely a bug.

  • Save array control to .cfg with property nodes.

    Hi there!
    I have a front panel with many (and I mean many!) boolean arrays in tabs, and I want the option to save the values selected by the user to a .cfg file, which will be used to make the same selection again without the tedium of clicking on buttons. The only controls I want to save the value of are 1D boolean arrays of length 7 or 11, and these occur only on some of the tab pages; the others have been setup so that on their iteration a false criteria is met and no code executes.
    I have managed to get references to each control in each tab, and using a 'more specific class' function to narrow it down to Array controls only. However, when this runs, an error from 'convert variant to data' pops up, and use of a probe tells me the reference being called by my property node at the time of the error is that of an array INDICATOR, rather than a control. I thought the 'controls on page' node and subsequently the array control class specifier would mean that references for other types of array wouldn't make it into the true case where the saving to config file happens.
    The indicator in question is an array of a cluster of two strings and a string array, if that makes any sense/has any relevancy, and the error occurs on iteration 1 of the outer loop and iteration 21 of the inner loop, corresponding to the 22nd control reference from the second tab.
    I hope I've made the problem clear.

    There is a property called Is Control? (or Is Indicator?) that will help you sort them out.  I do not recall the exact name of the property but that should get you close enough to find it.
    Lynn

  • Sharepoint 2013 webDAV PROPPATCH fails with status code 409 error every time when trying to set custom property.

    Sharepoint 2013 webDAV PROPPATCH fails with status code 409 error every time, when trying to set custom property.
    anyone have any idea

    Hi
    Stumbled upon the resolution myself. The Bean Area item needs to be set to Visible=Yes in the property palette for the bean within Forms Builder, and also the implementation class also in the bean's properties must match exactly the package & class name specified in the PJC (my full implementation class string had to be set to oracle.forms.demos.runApplication).
    As this bean has no user interface component, and since the Visible property has to be set to Yes, to avoid having a random square shape for the bean sitting on the form's canvas, I also set the Width and Height properties for the bean to 0.001. This does show a very small dot on the form, but that will be acceptable.
    So in summary there has been a change for PJC / Bean Areas between 6i and 10g Forms, in 6i you could have the Bean Item to be set Visible=No, and the SET_CUSTOM_ PROPERTY built-in would work, however in 10g Forms the Bean Item must be set to Visible=Yes for the SET_CUSTOM_PROPERTY built-in to work.
    Daryl

  • Is it better to use Invoke nodes or property nodes to set/get control values?

    I have a series of VI's that run in parallel, each to manage different functions- pumping, sensing, a fluid flow model, an experiment generator/runner.
    These need to exchange data, which I am currently doing using invoke nodes (that are all in subVIs), using methods "Set control value" and "Get control value". I find that every now and then (perhaps 1% of the time) the data isn't exchanged correctly and therefore the system doesn't work. I can imagine how "set" could go wrong if they happen simultaneously, and can devise ways of preventing this. However, the "Get" method suffers from the same problem. This is a major problem, because I want to leave it running for several hours.
    I could in
    principle achieve the same thing using property nodes and find myself wondering if this might be more reliable. But I don't want to change over only to find it makes no difference!
    Can anyone advise?

    You can use some kind of syncronization such as queues, occurances, or notifiers but I think the easiest way would be to create and action engine. This was only one action can execute at a time avoiding a "race condition". Possibly a write action and a read action might help. You also can add queues or notifiers into this concept. hope this helps.
    BJD1613
    Lead Test Tools Development Engineer
    Philips Respironics
    Certified LV Architect / Instructor

  • How to set up SSO between e-portal employee node & ebill customer node?

    We have a requirement to set up SSO between e-portal employee node & ebill customer node.
    I am told that sso is possible only between 2 employee nodes.
    Please advise.

    Not sure I understand which part is failing.
    Is it the C program calling your packaged function? Or does the error occur in the PL/SQL code, in which case you should be able to pinpoint where it's wrong?
    A few comments :
    1) Using DOM to build XML out of relational data? What for? Use SQL/XML functions.
    2) Giving sample data is usually great, but it's not useful here since we can't run your code. We're missing the base tables.
    3) This is wrong :
    vStrSqlQuery := 'SELECT * FROM ' || vTblName                     || ' WHERE record_update_tms <= TO_DATE(''' || TO_CHAR(vLastPubTms, 'MM/DD/YYYY HH24:MI:SS') || ''', ''MM/DD/YYYY HH24:MI:SS'') ' ;
    A bind variable should be used here for the date.
    4) This is wrong :
    elmt_value := xmldom.createTextNode (doc, l_clob(1));
    createTextNode does not support CLOB so it will fail as soon as the CLOB you're trying to pass exceeds 32k.
    Maybe that's the problem you're referring to?
    5) This is most wrong :
         l_clob(1):=REPLACE(l_clob(1),'&lt;?xml version=&quot;1.0&quot;?&gt;', NULL); 
         l_clob(1):=REPLACE(l_clob(1),'&lt;', '<'); 
         l_clob(1):=REPLACE(l_clob(1),'&gt;', '>'); 
    I understand what you're trying to do but it's not the correct way.
    You're trying to convert a text() node representing XML in escaped form back to XML content.
    The problem is that there are other things to take care of besides just '&lt;' and '&gt;'.
    If you want to insert an XML node into an existing document, treat that as an XML node, not as a string.
    Anyway,
    Anyone that can help me to find out the required magic number
    That would be a bad idea. Fix what needs to be fixed.
    And please clearly state which part is failing : the C program or the PL/SQL code?
    I'd vote for PL/SQL, as pointed out in [4].

  • How do I set a custom time & date format in the top bar?

    Hello guys,
    Very embarassing question, because I've had Apple's for all of my life (starting with the original Apple Macintosh) but I still haven't figured out one thing
    How do I set a custom time & date format in the top bar?
    When I go to System Preferences > Language & Text > Formats I can set different formats. I have no idea where you will see these, but I know that it's not the top bar where the time and date is being displayed. Because no matter what I enter, the format in the top bar will stay the same. I can only choose things like 24-Hour clock or not, blinking dots and so on in the Time & Date settings from the System Preferences.
    Can anyone here point me in the right direction? I see you can even choose to display the week of the year - I'd love to do that!
    All help appreciated!
    Greetings

    Language & Text system preferences, Formats tab, customize dates.
    There are also many third party menu item utilities that can.  Search Macupdate.com for some.
    One search yielded iClock Pro.  Although I never used it I would think it allows customization.  The link I gave you is to the Macupdate download page for that app.  On that same page is a Similar Software section which has other apps that can do the same thing. 
    One listed is iStat Menus.  The primary use for iStat Menus is not for displaying date/time but it does do that.  And I know it can do what you want because I use iStat Menus to track temperature sensors n my machine and, like you, I want to customize the menu time/date.  So I use it instead of the apple clock.  It does have the customization features I think you are looking for.

  • How to set property nodes for each of the multiple y-axes?

    In Labview 6i, I have set up multiple y-axes on an xy graph. I want to change certain properties of each of the 2 y-axes independently. I believe I can do this using "property node".
    However, after I have created a property node for the xy graph, I realised that there is only 1 y-axis selectable from the list of properties. How can I set the property of the other y-axis then?
    Thanks for the help!

    I believe there is a property called "active graph"... this allows you to
    select the active graph to apply the property changes to...
    Later...
    meng118230 wrote in message
    news:[email protected]..
    > In Labview 6i, I have set up multiple y-axes on an xy graph. I want to
    > change certain properties of each of the 2 y-axes independently. I
    > believe I can do this using "property node".
    >
    > However, after I have created a property node for the xy graph, I
    > realised that there is only 1 y-axis selectable from the list of
    > properties. How can I set the property of the other y-axis then?
    >
    > Thanks for the help!

  • Setting DAQ channel by property node does not display the value

    I am writing a configuration VI to set channel selection and calibration parameters for an SCXI chassis. I store a default setup in a configuration (ini) file and read that file automatically when the VI is called. The value from the file are set by property nodes using the "Value" property. The values from the file do not display in the DAQ channel selection rings, but the numerical calibration values do display correctly. When I click the down arrow in the channel rings, the correct value displays.
    This behavior exists both in LabView and app-builder EXEs. Also, if I change the property nodes for the DAQ channels to local variables, it works. The Value (signaling) property doesn't cause them to display
    properly either. Why can't I use the property node?

    I don't understand exactly what you are trying to do.
    Please upload a simple VI to demonstrate the behavior you are describing. Remember also to attach the .ini file.
    Best regards,
    Philip C.
    Applications Engineer
    National Instruments
    www.ni.com/ask
    - Philip Courtois, Thinkbot Solutions

  • How do I configure the mixed signal graph property node to set the plot names

    I have a mixed signal graph displaying digital and analog data in two groups.
    I would like to programmatically set the names of individual plots i.e. rather that the digital graph displaying 'Digital 0->Line 0'  I would like to set it to 'Signal 1'  in the vi.
    How do I do this?
    Probably via the property node but I cant get this to work without errors?  (i.e. i cant find the right combination of node arguments to set.)
    Also,  I can set the names of the plots of the component waveforms programmatically, but when I bundle the plots together to form the mixed signal graph, the plot names are reset to the mixed signal graph default values. Can this behaviour be turned off?

    What are you doing? You need to select the plot first and then set the name, like this:
    Attachments:
    Mixed Signal Graph_BD.png ‏1 KB

  • ActiveX, WingMan Joystick, Immersion TouchSense: can't set "design time" property

    I am trying to control a Logitech WingMAN force feedback joystick from
    LabVIEW, via the ActiveX control provided by Immersion Corporation
    (ImmWeb.ocx).
    I know I have basically got the ActiveX right, because I can control
    other
    Immersion-enabled devices (Logitech iFeel mouse) fine.
    However, I can't get the WingMAN to work: the ActiveX control has a
    dtDirectXForbidDevice property, which I need to change to
    dtDirectXRequireDevice. Immersion have told me that this property is
    set
    at design time, and is read only at run-time. Trying to set it at
    run-time
    returns an error. How should I set this property, ideally within
    LabVIEW, but alternatively by some other means?
    Many thanks.
    Patrick
    p
    .[email protected]

    Aaron Marks wrote in message news:<[email protected]>...
    > I'm not sure about this one, but try right clicking on the control on
    > the front panel and selecting the Property Browser. See if you can
    > change the property there.
    I can _SEE_ the property there, but I can't change it. 8-(
    Patrick

  • Error 1082 when setting Strings[] property of a menu ring control via property node.

    I've attached a VI in which I attempt to set the Strings[] property of a menu ring control via a property node.  Can anybody figure out what I'm doing wrong here?  I'm using LabView version 7.1.
    Thanks,
    Mark Moss
    Attachments:
    Bug Test.llb ‏69 KB

    Open up your Stations Parameters Control.ctl file and change it from a Strict Type Def. to just an ordinary Type Def. (the pull down menu is located next to the font selector).

  • Property to set hex/binary/decimal format at run time?

    Hi, I'd like to allow my user to choose between hex/binary/decimal formats in his number input. I'm happy to do the radio button stuff and the code to "hear" what he wants, but I can't find a property of my variable which selects the format at run-time - there is of course the "Format & Precision..." which I can get at by right mouse click BEFORE running, so I know it's likely to be available at run-time. Any suggestions welcome. Thanks, Richard.

    It's not necessary to use property node because you can use the builtin
    property of the indicator.
    Click the rigth mouse button over the indicator and select show radix.
    On the left side of the indicator appear radix that you can push to choose
    between hex, binary, octal and decimal.
    Bye
    Golzio
    "R" ha scritto nel messaggio
    news:[email protected]..
    > Hi, I'd like to allow my user to choose between hex/binary/decimal
    > formats in his number input. I'm happy to do the radio button stuff
    > and the code to "hear" what he wants, but I can't find a property of
    > my variable which selects the format at run-time - there is of course
    > the "Format & Precision..." which I can get at by right mouse click
    > BEFORE run
    ning, so I know it's likely to be available at run-time. Any
    > suggestions welcome. Thanks, Richard.

  • Significant digits not obeyed when value set through property nodes

    Hi, I have a front panel with a large number of indicators on it. As updating each one is a very straight forward task, I am using the This.Panel.Controls array to step through and update each indicator appropriatly. The problem is, that because I have so many indicators, and the actual numbers aren't that important (they are also being logged elsewhere) I only wish to have 4 significant digits displayed so that the value fits into the size of the indicator. I set each indicator to have a display format of %_4f, but when I run it this is not obeyed and 7+ digits are displayed. I'm guessing this has something to do with updating the controls via the property node, but I'm not sure why that should cause an issue. Any ideas?

    Nope, I double checked the format string. I do mean significant digits by the way. My imput values are expected to be in the range 0-100 but I've sized my indicators to fit only 4 digits, which will give me at worst a 0.1% error over the full range, which is good enough. Right now the channels from which I am grabbing data are all disconnected, so I am just getting noise. I've attached images of both the format string I'm using, the relavent part of my code where I update values, and an example of the output I get. Thanks,
    Jon
    Attachments:
    FormatString.PNG ‏32 KB
    ouput.PNG ‏2 KB
    ValueUpdating.PNG ‏25 KB

  • Use property nodes to change the state of a boolean through time

    I want to be able to switch the value from a boolean control, using property nodes, so that if the time elapsed is equal to 0,1 ,2 ,3 s, it should be false and if the time is equal o.5,1.5,2.5 s, the value should be true.
    Can some one tell me how to do this with propert nodes or with any other method?
    Thanks in advance!

    -Check this link for ideas on how to make loop run for specific period of time.
    http://forums.ni.com/t5/LabVIEW/how-to-make-a-loop-run-for-specific-period-of-time/td-p/1641018
    -To change value using property node>>right click boolean>>create>>Property node>>value>> Change it to write.
    -Forget about specific period of time, first learn to change the value of boolean programmatically.
    Thanks
    uday,
    Please Mark the solution as accepted if your problem is solved and help author by clicking on kudoes
    Certified LabVIEW Associate Developer (CLAD) Using LV13

Maybe you are looking for

  • Battery Life Has Certainly Dropped

    Hi folks. I'm having yet another issue with my Macbook. This time the battery life is not lasting anywhere near as long as it should be. With a full charge, it usually lasts about 2:30, whereas when I first bought it it lasted a significantly longer

  • Using filter in PAPI-WS to search instances based on project variables

    Hi All I wanted to search the BPM instances from my external application. Used PAP-WS to do that. To be precise, I was using the filterbean, and have set the process scope, status scope, and the variable on which I want to filter. However, I noticed

  • How do you display the tables of EBS R12 (VIS)?

    Hi, My sqlplus does not work but I have an Oracle sqldeveloper. How do you display the tables info of order management module in EBS R12 for windows? For example: Base tables oe_order_headers_all oe_lines_all oe_lot_serial_numbers oe_sales_credits oe

  • Would like to restrict webpulish of queries by report id?

    Is there a way to restrict webpublishing (S_RS_TOOLS) by report id component?

  • Chinese Traditional (Hong Kong) Language Pack

    Recently installed the Chinese Traditional (Hong Kong) Language Pack onto the computer running Windows 7 Enterprise version with 'New ChangJie 2010' input method, but there are errors/problems.  After inputting 1 or more strokes, I am unable to selec