Create and save boolean expressions for later evaluation

Is it possible to create Boolean expressions by inputs via user interface in LabVIEW and save them for later evaluation? I am interested in creating a 'flexible policy engine' which involves creating 'rules' comprising attribute values of certain attributes of objects based on boolean expressions which can later be used for arriving at some decisions based on the 'rules'.

Hi Belur,
Have you considered building a script based on the boolean expressions that you want to create for the flexible policy and saving the script to file?
Later, you can read the script and depending on the policy, it can re-create the boolean expressions.
A simple way to implement this is by having various pre-defined expressions places into a Case Statement. The script calls the appropriate cases that create the complete expression.
You can store the attributes of the objects and when the vi is running, it can first open the initialization file, read the attributes and set them.
For instance, you can read from and write to Property (and Invoke Nodes) to which you can the attributes.
Unfortunately, I don't have an example of this that I c
an share with you. There may be some if you do a search.
Hope this helps..
JLV

Similar Messages

  • How to Create and Save a workbook on Enterprise Portal

    Hi,
    I need to find out how I can create and save a workbook (for a query) in Enterprise portal. Can we save a work book and run it in the same format?
    Thanks

    Hi,
    refer below thread
    Re: How do you save the Workbook as View when the workbook do not have quer
    also see sap help
    http://help.sap.com/saphelp_nw04/helpdata/en/4d/f3fa40badbf36fe10000000a1550b0/frameset.htm
    Thanks

  • Errors trying to apply a Boolean expression for conditional text

    I have been trying to create some Boolean expressions to filter conditional text, with mixed results. The Boolean expression is three conditions separated by ORs followed by four conditions preceded by AND NOTs. When I apply the expression, FrameMaker exhibits and error and has to quit. The numbers in the error message are:
    9004, 4908044, 6134440, 5459515
    The hidden log file appears to be nothing more than a stack dump.
    Do the numbers listed above indicate anything?
    Are there any known limitations on how long a Boolean expression can or should be? One expression with one fewer OR worked.
    Does there need to be a space between an AND and a NOT? The builder does add one, so I assume it is not necessary.
    Does anyone have some general rules of thumb when working with Boolean expressions for conditional text?
    Thanks,
    Van

    Van,
    The error values are meaningless to users. However, please do send the logfiles to the [email protected] address.
    As far as conditionals go, the general rules are that conditon names must be quoted and that if your ar using the NOT, it must run together with the AND or OR, e.g. ANDNOT ORNOT.
    There's an articel in the Developer Connection on using the boolean operators at http://www.adobe.com/devnet/framemaker/articles/fm8_single_sourcing.html
    Perhaps if you posted the condition that caused the crash, someone might be able to spot an error.

  • How to create and save a file in flex web application ?

    Hi,
          I want to create and save a file form flex web application. Is it possible ?
    I have done some googling and found that its only possible through file referece, which needs some serverside implementation be called.
    Is it not possible with file reference to create and save file directly ?
    Can any one suggest how to over come this.
    Thanks in advance.

    Alex,
    code written with the Flex Builder 3 libraries will certainly run in Flash Player 10. However, what you need is not so much the capabilities of FP10 but the library functionalities of the Flex 4 package. And I think that Flex 4 code will only run in FP10 and not 9 (but haven't tested this as at work we have not yet been permitted to upgrade, so there is not a lot of point going for Flex 4!).
    Richard

  • SAP Query (SQ01) - create and save queryies

    Hi Expert;
    We wanted to implement SAP query reporting (SQ01) tool, and already developed custom HR infoset and user groups and transported to QAS.  We experienced the problem that we can not directly "save" any queries in SQ01. We pretty much have the client opened up and set at "Changes without automatic recording".  But keep getting a "transport object create" dialog upon "save" query.  But in Adhoc (PQAH), we don't encounter same problem.    We wanted our users be able to create and save any queries directly without creating any local objects. Is there another setting that needs to be set? 
    Thanks for any information that you can provide.  Points will be awarded.
    Helen

    Hello Helen,
    in SQ01 you can save queries like in HR Ad Hoc Query (or Infoset query as it is called outside HR).
    However this is only possible in the "Standard Area" not in the "Global Area". However as Ad Hoc Query is based on the SQ0x basics it only hides this effect.
    If you are doing HR specifics you should consider the documetnation on the special HR switches:
    http://service.sap.com/~form/sapnet?_SHORTKEY=01200252310000076208&
    In general if you are new to the topic you should consider the courses BC407 for Query Basics and HR580 for reporting in HR.
    Also to get a feeling for the different types of reporting with the InfoSet Query you can look at the following documentation:
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/a8/2e7237a323427ee10000009b38f8cf/frameset.htm
    HR Reporting Tools -> Sap Query -> InfoSet Query -> Calling InfoSet Query.
    Or you can book a special training if you need a contact let me know your email adress
    Best regards,
    Michael

  • Is it possible to create and save a .PDF without any compression to the resulting .PDF?

    I need an uncompressed file so I can use the resulting PDF to do a find/replace. Can't do it with compression.
    Thanks
    JDRHC1115

    Dave,
    Thanks for the reply. Of all the suggestions I've received this seemed to
    be most promising. I gave it a try and the problem is that when I attempt
    to save as optimized a message box pops up and says I have to save my
    document first. Low and behold when I save it, compression occurs. Even
    when I select the options you suggest I'm left with a compressed document.
    I'm using Acrobat Pro X
    Jeff
    From:   Dave Merchant <[email protected]>
    To:     Jeff Ross <[email protected]>
    Date:   01/06/2011 09:35 AM
    Subject:        Is it possible to create and save a .PDF
    without any compression to the resulting .PDF?
    You don't want the UncompressPDF plugin - that's designed to split out the
    COS objects but doesn't remove the Flate encoding (plus if you've never
    compiled a plugin before, it's not really the time to learn).
    Instead, simply save your PDF file using the PDF (Optimized) file type,
    click the Settings button and under "Clean Up" - "Object compression
    options", choose "Remove compression". Turn everything else off if you
    want to retain the PDF content exactly as it was before.
    Your document-level scripts will then be in the file as plain text.

  • Create and save custom transition

    Hi, I made a custom transition in FCP using video filters and keyframes and would like to save it to be able to use it again. Is there any way in FCP to create and save transitions? What files actually are the transitions included in FCP?

    I did a search and now I know, that the filters and transitions are written in FXScript languge. For those who're interested, there's an official Apple Using FX Script pdf ( http://developer.apple.com/documentation/AppleApplications/Conceptual/Using_FXSc ript/UsingFXScript.pdf ) and a really nice website with FX Script reference - http://www.fxscriptreference.org/ ...

  • On my home PC, I operate with Windows XP and use Outlook Express for my email.  Can my Outlook Express address book be imported by my IPhone4

    On my home PC, I operate with Windows XP and use Outlet Express for my email.  Can my Outlook Express address list be imported to my IPhone4

    Not directly; OE is not supported by iTunes. You need full Outlook. Address Book in later versions of Windows is supported.

  • Creating and saving a book for a web page

    I have been able to create and save as a pdf a 100 page travel book with about 195 photos. It was 89.9 mb. I gave it to my webmaster to put on my website but it is still a 10mB file that one has to download off the internet.
    my questions are...if you just want to use it as such, is there a way to make the book smaller in size,, not visual size--without losing quality in viewing = less MB? Or can one save the book in another way? (the movie version is very small to see all that is written).
    any advise would be most appreciated, thanks,
    tarzana

    tarzana:
    Welcome to the Apple Discussions. While in the book mode do a Print to PDF with the Save PDF to iPhoto option selected. That will create a jpg file of each page of the book that you can use to create an iWeb photo page and slideshow or create an iPhoto Web Gallery. I also use the same method to create an iDVD slideshow with music for each book that I make as described in Tutorial #6.
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've created an Automator workflow application (requires Tiger), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. It's compatible with iPhoto 08 libraries and Leopard. iPhoto does not have to be closed to run the application, just idle. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.

  • My boss cannot create a new subfolder by pressing "new folder" until he's already saved the file to his desktop. A "read only" error appears the first time. Is there a way to create and save to subfolder directly? It's Mavericks/Macbook Pro

    Hi, when my boss wants to save a new file in a new subfolder, he presses "new folder" but cannot create a new one because a “read only” error box appears. Once he saves the file to his Desktop he clicks on “save as” again and then he can create a new subfolder by pressing “new folder.” Is there a way to create and save to a subfolder directly without having to first save somewhere else?

    Your server file handling has nothing, and really nothing to do with Adobe software. If files don't get locked for (over-)writing and/or lose connection to the program opening them, then your server is misconfigured. It's as plain and simple and that. Anything from "known file types"/ file associations not being set correctly, MIME types being botched, crooked user privileges and file permissions, missing Mac server extensions, delayed file writing on the server, generic network timeout issues and what have you. Either way, you have written a longwinded post with no real value since you haven't bothered to provide any proper technical info, most notably about the alleged server. Either way, the only way you can "fix" it is by straightening out your server and network configuration, not some magic switch in Adobe's software.
    Mylenium

  • How to set up and configure AirPort Express for AirPlay and iTunes

    Saw somewhere that supposedly there were some apple written guidlines on the above topic. I have searched all over for them. Anyone know where I can get a copy to read through. Just trying to educate myself a bit and sety up another room with access to itunes, radio, etc with high quality speakers and amp off my express.

    Here you go ...
    How to set up and configure AirPort Express for AirPlay and iTunes

  • Create and save a .pdf file

    Afternoon!  I am creating a pdf utilizing the cfdocument tag and it works great.  It opens and displays well.  My question is, is there a way to automatically save that generated pdf on the server without opening it?  My end goal is to run a scheduled task every week that creates and saves a pdf automatically.

    <cfdocument format="pdf" orientation="landscape" filename="YourPDFName.pdf" overwrite="yes">
    it will save a copy of the pdf in the same folder as the <cfdocument> is run from, the problem I got is it wond display the pdf at creation time, all that is returned to my screen is the letter "z"
    so may be best to fun the code in a loop and one time add in the filename and overwrite paramaters, if you dont need it displayed, then your gold.
    Craig Wiseman

  • What I need to create and publish a magazine for iOS and Android?

    Hi!
    I would like to know what I need to design, create and publish a magazine for iOS and Android. I would also like to know what products I need, what price would you pay and what process I have to follow to carry out this work.
    Thanks in advance!

    It is NOT possible to create a Single Edition app for Android. Single Edition apps work only on the iPad.
    You can create Single Edition apps using any account—CC, Pro, or Enterprise—and if you cancel your DPS subscription, these Single Edition (or single-folio) apps are still available in the App Store as long as you maintain your iOS account with Apple.
    For multi-folio apps, the app container is downloaded from an app store, but the folios are downloaded from the Adobe Distribution Service. If you cancel your DPS subscription, the Adobe Distribution Service basically shuts down for that app. New users can still download your apps from an app store, but the library will be empty. Existing users can still view the folios they've downloaded, but they can't get any updates or new folios.

  • How to send a text message to a group of people and save the list for next time?

    how to send a text message to a group of people and save the list for next time from an iphone 4s?

    Hey there ipremacha,
    It sounds like you need to enable Text Message Forwarding on your iPhone for your iPad to send MMS/SMS messages through your phone.
    Connect your iPhone, iPad, iPod touch, and Mac using Continuity
    Go to Messages > Text Message Forwarding, and enable the device(s) you would like to forward messages to.
    Your Mac, iPad, or iPod touch will display a code. Enter this code on your iPhone to verify the SMS feature.
    Thank you for using Apple Support Communities.
    Regards,
    Sterling

  • Is CDN built in Azure Websites or CDN needs to be created and linked to website for content sharing

    Is CDN built in Azure Websites or CDN needs to be created and linked to website for content sharing...

    Hi
    CDN is a separate service in Azure and you can serve your content there.
    Then your azure website can use those CDNs that you provide in azure (just like any other CDN out there like Jquery Ajax etc ..)
    Regards
    Aram

Maybe you are looking for

  • Deploying a C# Application with NI-CAN

    Hi, I've been working lately on updating some of the software at work.  Almost all of it is written in C++. Now, people want to move towards C#. For NI CAN we have a (C++) wrapper that makes a .dll (canInterface.dll) which has been used successfully

  • SWN_SELSEN not working in test client after client-copy

    Hi all, We are using extended notification without problem until test client was refreshed by client-copy from production client. In test client, report SWN_SELSEN did not generated notification even there are newly generated workflow items.  Because

  • Need to locate my story files from a recovered HD. Where does Story keep my data locally?

    I was working locally on an OSX machine and the OS corrupted the drive. I was able to restore all my applications, and it looks like much of my data. I am not sure if the OS is still intact on the drive, and I am not going to test that at this time.

  • Dev Center Article sample download is corrupt

    Can anyone else confirm this. Prototyping AIR applications with Fireworks On the first page, sample zip download does not de-compress. Tells me it is corrupt or the wrong type of document. h

  • DB2 migration v8.1 to v9.5 in SAP 6.40

    Hello Sirs, I'm planning the migration of the databases of v8.1 to v9.5 in SAP 6.40. I have a few questions regarding this issue... if anyone knows please tell me. 1. Is there any inconvenience of having DEV system under DB2 9.5 and the other systems