How to generate TS_error using background VI

Hello everyone.
I have a problem with seting TestStand properties using LabVIEW.
My sequence is working in while loop (till termination).
There is a VI running in background (it could LabVIEW exe file, not in TS sequence) waiting for an user event. After event occurs it should generate RunState.SequenceError.Occurred=TRUE.
Reading some topics I created an VI but id doesn't work (I copied an Sequence Context from some example - if I create some new one I don't know how to do a reference to actual running TS sequence - but this is a side_problem).
Could anyone help me with this problem.
Thanks a lot.Message Edited by pruk on 11-29-2006 03:13 AM
Message Edited by pruk on 11-29-2006 03:13 AM
Attachments:
set TS_error.vi ‏23 KB

Hi,
the problem still isn't solved.
program works well only in first UUT test. I guess that RunVI has reference only for the first UUT (when it was loaded, later it is skipped).
I was trying to pass the reference with Global.vi but it then there is an error in monitor.vi
please, could anyone check if there is a solution?
(I have to use Error in TestStand not Termination).
Best Regards.
to run program please crate StationGlobals.RunVIMessage Edited by pruk on 12-07-2006 02:07 AM
Attachments:
test UUT.seq ‏65 KB
monitor.vi ‏33 KB
test procedure.seq ‏35 KB

Similar Messages

  • How to generate and use Matlab(R2007) .dll's in Labview

    Is there a step-by-step example on how to generate and use Matlab(R2007)  .dll's in Labview.
    Our experimenal hardware is LabView-controlled and we want to pass
    images/2d intensity arrays to a more complex matlab program that will
    return an array of extracted data which we want to use in LabView again.
    Thank you
    Carsten

    I recommend having a wrapper created around the matlab dll that converts the datatypes for you. There is a lot of fooling around with pointers involved which is very difficult in LabVIEW. btw, this got much more complicated after Matlab 7. Essentially, you need to convert your inputs into mxArrays, and then add those mxArrays to an mxArray list that you pass by pointer into the matlab dll. You also need to create a mxArray list for the outputs from the dll which you will need to extract your data out of before converting it back into a LabVIEW supported datatype. It's a big hassle. We do this pretty often, but we have created a c library that handles all the conversions, so it is feasible for us. Unfortunately, I can't share the library, but hopefully this information will help you get where you want to be.
    Like I said, it would be easier if you can just get a c developer to write a wrapper for you to keep it simple in LabVIEW. Alternatively, you might try getting your m-code to work in Mathscript.
    Chris

  • Re: How to generate wsdl using JDeveloper11.5...

    Hi ,
    How to generate wsdl file using schema(ie: Drag and drop process).
    please help me.
    Regards,
    venkatesh.

    In Composite editor When you drag "Web Service" service component in editor, it gives option to create new service and create WSDL form XML schema.
    Jayesh
    http://www.yagnasys.com

  • How to generate PDF using FDF file and the PDF form template (PHP)

    Hi Folks,
    I'm really sorry that I couldn't follow all the valuable discussions going on here, regularly. I need some immediate help.
    I NEED A PHP SOLUTION. I'm able to generate FDF files using the PDF Form Template in PHP. So, I have a collection of FDF files, which seeks the PDF template, while opened and populates the template with FDF data. Now if I need to save this PDF file, I have to do it manually clicking SAVE option. But, I need to convert FDF to PDF in bulk. So, I need some PHP based solution. The PHP script takes the PDF template and the FDF file and merges them to generate a complete populated PDF file. I know it's possible, but don't know how. I've seen Adobe FDF Toolkit. But by default it doesn't show any guideline for PHP. Please help me to write this code. I'm a professional coder. I can understand your hints and tutorials. PLEASE HELP GOOD PEOPLE.

    The only reason I am responding to this post is because the poster sent me a request through the forum message system asking for my help.
    Although I did populate PDFs with FDF data generated by web forms a year or so ago, I have since abandoned that kind of solution. It was a big headache. I found it far more stable and flexible to use html, php and css to populate forms that are almost as nice looking as PDFs.
    So my advice is, if you can possibly avoid going the FDF/PDF route, you will be better off.

  • How to generate PDF using fonts from Extended Font Pack?

    Hello
    Extended Font Pack, available for download contains MyriadPro-Regular.otf font that has cyrillic glyphs.
    I want to generate PDF document with cyrillic unicode data  that can refer to the MyriadPro-Regular font resource without embedding font.
    Are Extended Font Pack resources CID keyed fonts or not?
    Looks like such example of PDF structure allowed me to use it only in ANSI encoding
               'Type':'/Font',
                'Subtype':'/Type1',
                 'Name': '/MyriadPro-Regular' ,
                'BaseFont':  '/MyriadPro-Regular',
                 'Encoding': '/WinAnsiEncoding',
    What values should be for `Subtype` and `Encoding` to render cyrillic unicode (UTF-8 encoded) data and use MyriadPro-Regular Open Type downloaded from adobe and installed into local system without embedding it?
    Thanks

    Sorry for the delay. I admired with investigation of this case.
    My aim is to generate PDF docs on web site that have i18ned content. ALso client does not want to deal with any font licenses (font embedding will raise question about font licensing) and to reduce PDF file size with such approach. So I'm looking for the ability to link fonts in PDF source, that can be easiely downloaded from adobe.com and installed into local desktop. With Latin group (en-us, french, german) we  can use one of the 14 standard fonts, for CJK - Adobe Asian Font pack. I was considering (Myriad Pro or Minion Pro) font resources from Extended Font pack to cover Cyrillic glyphs. I observed that such fonts are usually installed with Adobe Reader installation (MyriadPro-regular.otf). To render cyrillic glyphs I followed such steps like converted into cp1251 encoding range of the cyrillic unicode data (as you told those fonts do not support unicode encodings the same way as CID keyed asian fonts) and pointed to the Type1 MyriadPro-Regular with custom WinAnsiEncoding. One problem I faced with is - that glyphnames are differrent in diferent Extended Font pack versions. I mean that cyrillic glyphnames for the Adobe Reader 8 started from `afii100xx`, when for the Adobe Reader 9 they are named `uni0xx` for the same font named MyriadPro. I used such glyphnames in the /Differences list in PDF source. How can I generate PDF source that can be viewed successfully in both Adobe Readers version 8 and 9?

  • How to generate emails using Chinese Characters with the Iphone 4s?

    Hi,
    I just got my Apple IPhone for the first time. Anyone knows how to compose an email in Chinese
    using the IPhone? -Arthur

    ChrisJ4203 wrote:
    You will need to download the Chinese keyboard.
    You can't download keyboards for an iPhone.  You have to use the ones already present, which include a number for Chinese, as listed in the tech specs.
    http://www.apple.com/iphone/specs.html

  • How to generate PDF using selcted row from datagrid in mxml flex4 web application

    hi friends.
    i am using flex4 web application with mxml tabs.
    i am having one datagrid and one button outside the grid ,
    i   am having one datagrid in that i am having 5 records if i click a   record from the datagrid then click that button means that particular   record will save as PDF in my local PC.
    How to do that,
    Any suggession or examples.
    Thanks in advance
    B.venkatesan.

    Thanks Vibhuti,
    i got some idea abt PDF save bt please tell .i have some doubts in this code
    var bytes:ByteArray = claimPDF.save(Method.LOCAL);
    var f:FileReference = new FileReference();
    f.save(bytes,"tourdeflex-pdf-sample.pdf");
    what is claimpdf and Method? it show undefiened probery error
    and f and bytes also show the same error.
    what header files i have to import for file reference concepts;
    i am using FLASH PLAYER 10;
    tell what i will do
    Thanks
    B.venkatesan

  • How to generate xml using "Data Template"

    Hi,
    Can any one please tell me the steps to create xml using "Data Template".
    As per the user guide the execution method for "data Template" is "Java Concurrent Program" and the Executable mentiones is "XDODTEXE".
    But there is no information about the "execution file name" and "execution path name" which is mandatory.
    Thanks and Regards,
    Sandhya

    Hi Sandhya,
    To put a Data Template into use, you don't need to define any new executables. XDODTEXE executable is already registered in the system, as it ships with the application. The Data Template is not an executable as such, but a collection of instructions for what queries to perform and what should the resulting XML look like. XDODTEXE knows how to interpret those instructions, and produce the XML output.
    (And if you add a layout template, handle that too.)
    You do need to do the following:
    1) Create a new Data Definition (XML Publisher Administrator > Data Definitions)
    2) Upload your Data Template (remember the Code for the next step)
    3) Create a Concurrent Program that is linked to the Data Definition (Short Name = Code) (System Administrator > Program > Define)
    4) Add your Concurrent Program to a Request Group (System Administrator > Security > Responsibility > Request)
    I recommend you take a look at the XML Publisher Administration and Developer's Guide, you will find more information there.
    (http://download-west.oracle.com/docs/cd/B40089_02/current/acrobat/120xdoig.pdf)
    Best Regards & Happy New Year 2008,
    Matilda Smeds

  • How to generate report using toad in oracle 10g

    hi ,
    i am using oracle 10g with toad editor .if i am execute any table, result it will be 100 rows like, i want to make report each records page wise with header,footer etc..
    please help..
    thank u..

    That is a Toad question isn't it, and Larry still didn't buy Quest, so you are at the wrong address.
    Go to http://www.questsoftware.com and find their forums.
    Thank you.
    Sybrand Bakker
    Senior Oracle DBA

  • How to generate CSR (certificate signing request) in PKCS#10 format

    Hi,
    First, I am a novice in security issues.
    Problem:
    I know how to generate CSR using PKCS#10 format with keytool. However I need to implement this functionality in my application. Unfortunately I can't find any docs describing this issue.
    Do anybody know about some API where I just pass data and it will generate CSR for me?
    Many Thanks,
    Miso

    Hi again,
    After a long research I am finally able to generate PKCS#10 cert. request files:
    public static void generatePKCS10() throws Exception {
            // generate PKCS10 certificate request
            KeyPairGenerator keyGen = KeyPairGenerator.getInstance("RSA");
            String sigAlg = "MD5WithRSA";
            // generate private key - use java.util.SecureRandom for entropy
            keyGen.initialize(1024, new SecureRandom());
            KeyPair keypair = keyGen.generateKeyPair();
            PublicKey publicKey = keypair.getPublic();
            PrivateKey privateKey = keypair.getPrivate();
            PKCS10 pkcs10 = new PKCS10(publicKey);
            Signature signature = Signature.getInstance(sigAlg);
            signature.initSign(privateKey);
                 //common, orgUnit, org, locality, state, country
            X500Name x500Name = new X500Name(
                      "CName",               // CN
                      "OUnit",               // OU
                      "Organization",          // O
                      "Bratislava",          // L
                      "Slovakia",               // S
                      "SK");               // C
            pkcs10.encodeAndSign(new X500Signer(signature, x500Name));
            // PKCS10 request generated
            pkcs10.print(System.out);
    Problem 1:
    However, this generates only a request with X500 subject's name ("CN, OU, O, ..."). But I also want to specify other things like "Key Usage" (example: "Digital Signature, Key Encipherment, etc.") or "Generic IA5 String" (example: "Only for test purposes."). How to do that?
    Problem 2:
    I'm also having trouble to find javadoc for "sun.security" package. As you can see, I'm using "sun.security.pkcs.PKCS10" class for generating CSR in PKCS10 format, but can't find any javadoc for it.
    Many thanks,
    Miso

  • How to generate an impulse to test the short circuit in an inductor

    Hello,
    Im new to labview and i'm in need to perform SURG - SURGE STRESS TEST
    The purpose of this test is to detect an inter-turn short by applying a number of high
    voltage impulses (or surges) to the selected winding.
    Each impulse should produce a sinusoidal transient which eventually decays to zero.
    How to generate impulse using labview.
    Solved!
    Go to Solution.

    Hi Swathi,
    Please see the function "impulse pattern.vi" in signal processing --> Signal generation pallettes.
    Else you can browse through the examples in LabVIEW.
    Regards,
    Srikrishna.J

  • Generate CSR using SAPGENPSE

    Dear all,
    Our SSL connection will be expired and I was told to generate CSR. However I could only find SAPGENPSE. How to generate CSR using SAPGENPSE? What the file name will be?
    Additional info. It is for our external Webdispatcher.
    Please help.
    Regards,
    Agoes
    Message was edited by:
            Agoes Boedi Poerwanto

    Hi,
    I think you problem is a kind of bug in STRUST.
    Here is the workaround, I use :
    Get the Verisign certificate on your Windows PC.
    Double click on the cer file, the certificate will be displayed.
    Click on "Certification path", you will see your certificate, the inermediate CA certificate and the root certificate.
    Double click on the Root CA certificate, click on "Details" then export it as Base 64 X.509 cer file.
    Do the same for the intermediate certificate anf for you certificate.
    Then with notepad concatenate the 3 files in one single file in this order :
    Your certificate,
    the intermediate certificate
    the root certificate.
    This will be a text file looking like
    BEGIN CERTIFICATE-----
    END CERTIFICATE-----
    BEGIN CERTIFICATE-----
    END CERTIFICATE-----
    BEGIN CERTIFICATE-----
    END CERTIFICATE-----
    Now try to import this new .cer file.
    It works for me !
    Good luck !
    Regards,
    Olivier

  • SAP Mail: how to find program generating Email in background

    Hi all specialists
    We have a lot of programs generating Email in background.
    Question: for a specific Email (found in sost) how is it possible to find the program Id that have issued the Email?
    In SOST, i find only the logon Id.
    I thank you for your help.

    Hi Jean-Claude, this is the SAP BusinessObjects Explorer forum so it's not the right place to post your question.
    It's possible you are using SAP CRM?
    try it here: SAP CRM: Webclient UI - Framework

  • How to generate jasper report in pdf format using swing

    hi all,
    im new to swing and jasper.. can anybody provide me some example on how to generate the jasper report in pdf format? i will call the reportManager from sessionBean.. below is my code:
    1)delegate:
    public GenerateReportDto generateIntoPdfReport(String fileName, String outputFileName, Map parameters){
    GenerateReportDto generateReportDto = getAuditTrailServiceRemote().generateIntoPdfReport(fileName, outputFileName, parameters);
    return generateReportDto;
    2)sessionBean:
    public GenerateReportDto generateIntoPdfReport(String fileName, String outputFileName, Map parameters){
    //Map parameters = new HashMap();
    ReportManager reportManager = new ReportManager();
    3)ReportManager()
    public void generateIntoPdfReport(String fileName, String outputFileName, Map parameters) {
              Connection conn = null;
              try {
                   conn = dataSource.getConnection();
                   //Generate the report to bytes
                   File reportFile = new File(fileName);               
                   byte[] bytes =
                        JasperRunManager.runReportToPdf(
                             reportFile.getPath(),
                             parameters,
                             conn
              //conn.close();
              //Write the bytes to a file
              ByteBuffer buf = ByteBuffer.wrap(bytes);
              File file = new File(outputFileName);
              // (if the file exists)
              boolean append = false;
              // Create a writable file channel
              FileChannel wChannel = new FileOutputStream(file, append).getChannel();
              // Write the ByteBuffer contents; the bytes between the ByteBuffer's
              // position and the limit is written to the file
              wChannel.write(buf);
              // Close the file
              wChannel.close();
              } finally {
                   if (conn != null) {
    conn.close();
    Any help would be highly appreciated. Thanks in advance

    Hi ,
    One 'simple' way is by using the DBMS_SCHEDULER db package and the procedure CREATE_JOB(....) using as job_type the value 'EXECUTABLE'...
    Read for further info in 'PL/SQL Packages and Types Reference'.
    If you have access to OEM ... you can configure this there using wizard.....
    Other way is to use the External Procedure call capabiblity of Oracle DB Server...:
    http://www.oracle.com/pls/db102/ranked?word=external+procedure+call&remark=federated_search
    My greetings,
    Sim

  • How to generate a report in Excel with multiple sheets using oracle10g

    Hi,
    I need a small help...
    we are using Oracle 10g...
    How to generate a report in Excel with multiple sheets.
    Thanks in advance.
    Regards,
    Ram

    Thanks Denis.
    I am using Oraclereports 10g version, i know desformat=spreadsheet will create single worksheet with out pagination, but my requirment is like the output should be generated in .xls file, and each worksheet will have both data and graphs.
    rdf paperlayout format will not workout for generating multiple worksheets.
    Is it possible to create multiple worksheets by using .jsp weblayout(web source) in oracle reports10g. If possible please provide me some examples
    Regards,
    Ram

Maybe you are looking for