Labview for batch processing

dear sir,
 i am using labview7.0 for scada application  using dsc module. In this application we are aquiring data from instrument. Now i want to develope scada software using labview dsc module for batch processing. But i donot have any idea about batch processing. Please help me to know more about batch processing. And how can i develope the scada software for that
thanking you
falgandha

Hello,
Batch processing typically involves raw materials that are
combined to mix or react in a certain sequence over a period of time to
produce the completed output. Often, different recipes are used to
combine the materials in different ways and with different sequences to
change the outcome. Automation is used in batch processing to precisely
control quantities, times and sequences (description found with a Google search of 'batch processing'), and you can use LabVIEW DSC to control your system.  This is accomplished by using data items called tags bound to your hardware.  To send a command to your hardware, you would write a new value to a tag bound to that hardware.  Hardware could include PLC's, Fieldpoint controllers, RTU's, Modbus devices, etc.  Most commonly, you will connect the tags to your hardware via an OPC server.  OPC servers are available from NI, the PLC manufacturer, and several 3rd-party vendors such as Kepware.
Providing you with more detailed information will be difficult without a more specific question I can help you with  The DSC Module help and shipping examples will get you started with creating your application, so I'd recommend giving those a look.  If you have a more specifc question about how to do something in LabVIEW, let us know and we'll be glad to help!
Cheers,
Matt Pollock
National Instruments

Similar Messages

  • Script for batch processing

    Hello
    I need help
    I created a batch sequence which set watermark and security to pdf files from one directory. Now i want to create another sequence: 1. set security to none and 2. delete watermark.
    I have a problem with set security to none because every time i need change preferences for batch process to security method=password security by hand.
    Maybe there is a way to change this settings with java script in batch "execute java script"?
    Or how i can change with batch sequence a security method from passsword security to "none" if i know password
    Thanks in advance

    Create a "blank" batch process (ie, without any action), but under the Output Options tick the box to optimize the files and set the optimization settings you want to use.

  • Save for Web with Optimize File Size for Batch Process

    I have a client who needs to be able to run a batch process on jpg images ranging in size from 600KB to 2.5MB optimizing their file size as close to 200KB as possible. The feature is included in Photoshop's save for web optimize dialog but it doesn't work for batch processes. If you record an action with the optimize to file size option set it processes all the images in the batch based on the quality settings required to resize the image you used during recording, meaning if the image you recorded was 1.5MB the quality setting might be 70 percent to hit the 200KB mark but that wouldn't be the correct quality setting for a 600KB file nor a 2.5MB file those would either be too small or too large.
    I've done quite a bit of searching both online and in the photoshop scripting forums but I haven't been able to find anything that would point me in the right direction.
    My client's paying for this work so if there's someone who knows how to script this who'd rather be paid than just do some pointing we can arrange for that quite easily.
    Thanks in advance for your assistance and suggestions.
    In case it's of importance we're using Photoshop CS4.

    If you don't mind spending a few bucks on a shareware prog, Jpegsizer has the option to save to a filesize.
    You can find it here.
    http://www.tangotools.com/jpegsizer/register.htm
    There is a free trial version, but you can't save files.

  • Labview for Vocal Processing

    Does anyone here have experience using Labview for vocal processing? I
    am beginning a project that requires real-time extraction of vocal
    formants (Fourier modes) and it would be nice to have Labview do this.
    I have used Labview a little on a previous project and I am pretty sure
    it *can* be done, but I am hoping to find someone who has already done
    this or something like it to get a few pointers.
    John Starrett
    -----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
    http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
    -----== Over 100,000 Newsgroups - 19 Different Servers! =-----

    John,
    It is definitely possible to do formant analysis in LabVIEW; my knowledge on formant analysis is very basic, but here is a VI to get you started. j
    Here is a small description:
    Opens the included wav file (just a vowel from a voice recording).
    Send the data to the find single tone vi to get the main tone in the signal.
    The Single tone vi exports the original signal minus the tone and we pass this again to the analysis.
    The resulting arrays of Frequencies, amplitudes and phases are then used to generate the vowel again.
    The second for loop generate all the tones with the specs extracted from the original signal and adds them all up.
    Then we obtain the power spectrum of the original and the generated
    data and compare them.
    The white plots represent the original recorded signal and the red plots represent the generated signal.
    To run the exampl just open the "Format Excercise.vi" select the number of tones to extract, select the wav file and run the vi.
    This example does not uses any toolkit, however you may want to look into the Sound and Vibration Toolset (octave analysis, zoom FFT, weighting filters, etc.) or the Order Analysis Toolset.
    I hope this helps.
    Regards,
    Juan Carlos
    N.I.
    Attachments:
    Formant_Excercise.llb ‏361 KB
    EE_vowel.wav ‏9 KB

  • How to use the same (selection) paths in multiple images for batch processing?

    I have a whole bunch of photos I need to batch process, but, when creating an action for this, I stumbled upon the problem that the paths I selected with the pen tool, and saved under the "Paths" tab need to be in every image for to be used in the action. I did try to solve it for some time, but couldn't figure out. Any ideas?
    Many Thanks
    Carlos

    Batch processing usually involves using actions you have recorded.  In Action you can insert Path that can be used during processing documents.  Path have some size so you may want to only process document that have the same size.  Look in the Actions Palette fly-out menu for insert path.  It inserts|records the current document work path into the action being worked on and when the action is played it inserts the path into the document as the current work path..

  • Image Sequences and Batch Processing: Can opening files from different folders as image sequences be set up as an action for batch processing?

    I have an ongoing series of tasks that necessitates opening the contents of a series of folders as image sequences.
    I'm used to setting up some fairly complex actions, including ones that are intended to be applied to all of the contents of materials in various subfolders, but for some reason I cannot get an Open-with-Image-Sequence-Checked action to set up in a way that will batch process correctly.
    Complicating matters is that the file prefixes (i.e., the letters before the sequential numbers) and the folders will always have different names from the last time the process had to be carried out.
    The steps I would like the action to carry out would be the following:
    1. Open Subfolder 1 - that is, Photoshop shouldn't be looking for a specific folder. It's just *any* subfolder to the current parent folder.
    2. Select first file in sequenced set of files.
    3. Open as an image sequence.
    4. Open Subfolder 2.
    5. Select first file in sequenced set of files.
    6. Open as an image sequence.
    ...rinse and repeat until Photoshop runs out of subfolders to check.
    Am I asking the impossible?
    Thanks!

    I'll look around there,  because I had posted something about this and was told to look here ps-scripts - Browse /Image Processor Pro/v3_0 at SourceForge.net  
    then this is the image here:
    is the result I received.  Granted I'm new to using scripts and actions for image processing large amounts of files.  

  • Best practices for batch processing without SSIS

    Hi,
    The gist of this question is in general how should a C# client insert/update batches records using stored procedures. The ideas I can think of are:
    1) create 1 SP with a parameter of type XML, and pass say 100 records at a time, on 1 thread.  The SP reads the XML as a table and does a single INSERT.
    2) create 1 SP with many parameters, that inserts 1 records.  I can either build a big block of EXEC statements for say 100 records at a time, or call the SP 1 and a time, on 1 thread.  Obviously this seems the slowest.
    3) Parallel processing version of either of the above: Pass 100 records at a time via XML parameter, big block of EXEC statements, or 1 at a time, and use PLINQ to make multiple connections to the database.
    The records will be fairly wide, substantial records.
    Which scenario is likely to be fastest and avoid lock contention?
    (We are doing batch processing and there is not a current SSIS infrastructure, so it's manual: fetch data, call web services, update batches.  I need a batch strategy that doesn't involve SSIS - yet).
    Thanks.

    The "streaming" option you mention in your linked thread sounds interesting, is that a way to input millions of rows at once?  Are they not staged into the tempdb?
    The entire TVP is stored in tempdb before the query/proc is executed.  The advantage of the streaming method is that it eliminates the need to load the entire TVP into memory on either the client or server.  The rowset is streamed to the server
    and SQL Server uses the insert bulk method is to store it in tempdb.  Below is an example C# console app that streams 10M rows as a TVP.
    using System;
    using System.Data;
    using System.Data.SqlClient;
    using System.Collections;
    using System.Collections.Generic;
    using Microsoft.SqlServer.Server;
    namespace ConsoleApplication1
    class Program
    static string connectionString = @"Data Source=.;Initial Catalog=MyDatabase;Integrated Security=SSPI;";
    static void Main(string[] args)
    using(var connection = new SqlConnection(connectionString))
    using(var command = new SqlCommand("dbo.usp_tvp_test", connection))
    command.Parameters.Add("@tvp", SqlDbType.Structured).Value = new Class1();
    command.CommandType = CommandType.StoredProcedure;
    connection.Open();
    command.ExecuteNonQuery();
    connection.Close();
    class Class1 : IEnumerable<SqlDataRecord>
    private SqlMetaData[] metaData = new SqlMetaData[1] { new SqlMetaData("col1", System.Data.SqlDbType.Int) };
    public IEnumerator<SqlDataRecord> GetEnumerator()
    for (int i = 0; i < 10000000; ++i)
    var record = new SqlDataRecord(metaData);
    record.SetInt32(0, i);
    yield return record;
    IEnumerator IEnumerable.GetEnumerator()
    throw new NotImplementedException();
    Dan Guzman, SQL Server MVP, http://www.dbdelta.com

  • Digital Signature automatically inserted for batch processing

    hey guys... hope you can shed some light...
    Is it possible to generate a non-interactive form with a digital signature already in-place?
    We're generating invoices in batch processing and need to have a digital signature in place when we email the PDF to our vendor. The digital signature will always be the same.
    I did see this in the LCD help:
    "You can use Adobe document services to sign a document, validate a
    signature, select the collection of objects to lock, or certify a PDF
    document programmatically. This workflow is ideal when a large number
    of documents require a signature because they can be signed in a batch
    process.
    To sign PDF documents in Adobe document services, configure the web
    service for secure access using the secure sockets layer (SSL). For
    details about this configuration, see the Adobe document services
    Configuration documentation."
    I have a link to the older ADS config document [-Here-|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/30a9630b-4f89-2a10-6fab-e311b3ffd9a6] and am in the process of looking through it.
    However, has anyone done something like this already?

    Otto,
    thanks!
    I hadn't checked out the demo - i didn't even know there was a demo program provided . BTW, it's FP_TEST_07.
    I do believe you're correct that it needs to be an interactive form - that wont be an issue for us.
    There is some documentation floating around that we're trying to piece together - we have our Basis team configuring the ADS for SSL connections.
    From what I've seen, I think we have to store our signature in the ADS and attach it at run time.
    Too many moving parts - I don't like it when I have to get more than 1 group involved to complete a develoment item.
    I'll keep this thread updated as we progress.

  • Is it possible to create a hot folder for batch processing?

    I know that it's possible to make a droplet for preflight, but is it possible to create a droplet or a hot folder for another batch processes (mine crops the pages)? Or at least make a keyboard shortcut? It's so unproductive to go Advanced>Document Processing>Batch Processing>Run>Close (Adobe spoiled us with custom shortcuts in other programs)...

    HenrikAppleJespersen wrote:
    is it possible to create a hot spot with apple Airport express 2 generation and use it i a hotel with ethernet wall socket and use it with my Ipad 2?
    Yes, it is one of the things AirPort Express was specifically designed for.

  • How to display custom error message in Job log for batch processing

    Hi All,
    I am rexecuting one R/3 report in batch mode and i want to display all the custom error i have handled in job log when its executed from SM36,SM37. The custom error are like 'Delovery/Shipmet doe not exits' or others which we can display in online mode like message e100(ZFI) or any other way and accordingly we can handle the program control like come out of the program ro leave to transaction'Zxxx' or anything. But i want my program to be executed completely and accumulate all the error in job log of batch processing.
    Can anyone tell me how can i do so...
    Thanks,
    Amrita

    Hi,
    Thats what i have done from the begining. I have written message like this:
    Message i100(ZFI).
    I was hoping to see this message in the log. But i cant see. Can you help me pleae...

  • Optimal workflow for batch processing LR files with Nik plug ins

    I have a series of 40 or so landscape images that I would like to efficiently apply a couple of Nik filters to using Color Efex.  I'd appreciate any suggestions re: the most efficient workflow to accomplish this task in a batch processing approach, as my current approach of taking each image into Photoshop, while preserving Smart Filter benefits, is terribly inefficient.  Thanks in advance.

    Hi,
    Sorry but File->Process Multiple Files is the only way and functionalities with which you can batch process your images in PSE. However you can add action in Window->Action Player and apply to your images opened in workspace -
    http://tv.adobe.com/watch/learn-photoshop-elements-11/adding-actions/
    http://forums.adobe.com/message/4736578
    The functionality is available in full functionality product Photoshop via File->Automate->Batch where you can load actions in action panel and they would appear in this dialog box but this is not available in Elements.
    The best way to do here is to load actions in Window->Action Player and open all your images and click on play button one by one and then use Process Multiple Files to save all these in one go as per your preferences of file type, size, name etc.
    Thanks,
    Garry

  • Is there something faster to use then rwrun for batch processing?

    Hey,
    I am using rwrun to process several reports (200+) in a batch file by using something like this:
    start rwrun Report.rdf destype=file desformat=pdf desname="School1.pdf" p_school="1" userid=user/password
    start rwrun Report.rdf destype=file desformat=pdf desname="School2.pdf" p_school="2" userid=user/password
    start rwrun Report.rdf destype=file desformat=pdf desname="School3.pdf" p_school="3" userid=user/password
    but it is taking a long time to run. My guess is that by using this method to process the reports it as to connect to the database each time, so that may account for some of the slowness.
    Anyone know of a better/faster way to do what I am doing above?
    Thanks

    Hello,
    It is more efficient to use a reports server :
    Example:
    rwserver server=repserver batch=yes
    rwclient server=repserver Report.rdf destype=file desformat=pdf desname="School1.pdf" p_school="1" userid=user/password
    rwclient server=repserver Report.rdf destype=file desformat=pdf desname="School2.pdf" p_school="2" userid=user/password
    rwclient server=repserver Report.rdf destype=file desformat=pdf desname="School3.pdf" p_school="3" userid=user/password
    It is just necessary to add a small pause between the call to rwserver and the first call to rwclient in order to let the reports server starts and be ready .
    Regards

  • How to authenticate (JAAS) a user programmatically for batch processing

    HI,
    We're struggling to get our batch user proper authenticated and authorized to enable the batch user to execute various jobs. The Jobs are initially executed by a Quartz scheduler which in turn invokes to execute method on the specific batch job controller class. In this class we'll like to login the batch user before the processing starts and again logout the user before the jobs ends. The batch job processing does some updates on security protected entities - that's where the problems starts. To be able to update certain ADF Entities, the batch user must be in "batch-role". The permissions is configured in the jazn-data.xml file. ADF Security is enabled for the project and various entities is security protected. The application is deployed in one EAR file in into Weblogic 10.3.5. We're using JDeveloper 11.1.2.1.
    When we login to the application through the login form in the application, then the security permissions is applied as they should and only users with the correct roles is able to update certain security protected entities. The login form uses something like this, to authenticate the user:
    Subject subject = weblogic.security.services.Authentication.login(handler);
    weblogic.servlet.security.ServletAuthentication.runAs(mySubject, request);
    We'd like to do the same kind of authentication in the batch controller class, like:
    Subject subject = weblogic.security.services.Authentication.login(new BatchLoginCallBackHandler());
    weblogic.security.Security.runAs(subject,
    new PrivilegedAction() {
    public Object run() {
    try {
    executeJob(jec);
    } catch (JobExecutionException e) {
    e.printStackTrace();
    return null;
    But this doesn't work. When the job accesses ADFContext.getSecurityContext() it isn't the correct user which is logged in (actually it is the users which initially started the scheduler). And even thouth
    boolean inBatchRole = aDFContext.getSecurityContext().isUserInRole("batch-role");
    returns true, the user is not allowed to update entities which requires this role to allow an update. It some how seems to, that the login does affect the ADF application module (ADF Context).
    We've tried a lot of other things but we're not able to login the batch user in the same way as the ADF Faces are.
    Can anyone please help us?
    Regards
    Jacob

    We have the same requirement.
    We've tried these approaches, with no success:
    AuthenticationService vAuthenticationService = AuthenticationServiceUtil.getAuthenticationService();
    vAuthenticationService.login("user", "password");
    resulting in Caused By: oracle.adf.share.security.ADFSecurityRuntimeException: EXC_UNSUPPORTED_AUTHENTICATION_OPERATION
    and JAASAuthenticationService authService = new JAASAuthenticationService();
    authService.login("user", "password");
    Caused By: java.security.AccessControlException: access denied (oracle.security.jps.JpsPermission AppSecurityContext.setApplicationID.default)
    If I test these methods in a simple java class's main method, they work.
    I feel I'm missing something, could somebody please tell me if I'm thinking wrong: We have an application made of a Model project, a UI project(ADF) and a scheduler project(Quartz). Both the UI project and the scheduler use the Model project(ADF BC). We deploy 2 ears, one for the UI and one for the scheduler. The UI application's security is working just fine, and it's about time we enforce security for the scheduler. Scheduler has a Listener that extends QuartzListener, witch implements ServletContextListener. In the contextInitialized we launch different jobs using quartz. How could we make these jobs authenticate using some predefined user credentials?

  • How to set tagged pdf settings for batch process

    Framemaker doesn't allow me to set tagged pdf settings without opening a file (i.e. *.mif/*.fm/*.book).We are using .MIF files to generate PDF in an automated process.( .MIF files will be sent to FrameMaker as a batch file using DZBATCHER then it it uses distiller to produce the PDF).
    How can I set tagged PDF settings for this kind of operation?

    Tagged PDF info is a document level property, i.e. you need to define it in the MIF. Check your MIF manual for: <DPDFStructure and <DPDFStructureDefined statements.
    Note: If you're using any FM version earlier that FM9 and not the FrameServer version, please read your EULA very carefully (Section 2.2 - 2.4) concerning automated creation of PDF files. With FM9, the restriction apparently has been loosened to only how the process is intiated (Section 2.3).
    Copies of the EULAs can be seen here: http://www.adobe.com/products/eulas/

  • How to set the number of sockets for batch processing at runtime?

    Hello all,
    I need to change the execution model at runtime. I have achieved this by setting the 'ModelPath' property of the sequence file at runtime. When I set the sequence file model as batchmodel, i need to set the number of test sockets also dynamically. How can this be done? Once i set the number of sockets, i would also have to set the UUT serial number for each socket. Please help me out in solving this.
    Thanks and Regards
    Madhu Srinivasan.

    Hi Madhu,
        You can do this by inserting a sequence file callback into your main sequence and choose the ModelOptions callback. You can then use the expression step to set the "Parameters.ModelOptions.NumTestSockets" value to whatever you want. If you then use the Test UUTs execution entry point you will be prompted for serial numbers automatically. You could also use this same procedure but alter the ModelOptions callback in the process model directly, either way works just as well but I think that using a sequence file callback gives a bit more flexibility in the system.
    Hope this helps,
       Nick

Maybe you are looking for