Using transformations of curve with several parameters

I would like to use the ChnLinScale function as a curvetransformation in DIAdem report.

I created the sub in my file of the user controls:

Void ScaleAndOffset (dCustScale, dCustOffset)

Call ChnCopy (CurveTransfInX, CurveTransfOutX)
Call ChnLinScale (CurveTransfInY, CurveTransfOuty, dCustScale, dCustOffset)
End Sub

With this feature, I expect to use the Transformation of the curve "ScaleAndOffset (3,5)" to multiply and compensate for my signal. However when I use I get the following error:

"Cannot use parentheses when calling a Sub".

For a single parameter, I can use this construction:

Void ScaleAndOffset (dCustScale)
Call ChnCopy (CurveTransfInX, CurveTransfOutX)
Call ChnLinScale (CurveTransfInY, CurveTransfOuty, dCustScale, 0)
End Sub

without problem.

Is it normal?

Tone

Hi tone,

No, this is not a limitation of the curve of the Transformations, but is rather a matter of syntax VBScript.  Whenever you call a VBScript Sub procedure or function that has more than 1 parameter, you MUST use the prefix 'call '.  For a Sub or Function with 1 single parameter or no parameter, you can omit the 'call '.  I tested with the allocation of processing of the following curve:

"Call the CurveSmooth (100, 1)."

.. who calls 2 user setting below control curve of Transformation:

Void CurveSmooth (SmoothPts, SmoothSym)
SmoothType = "symmetric"
IF SmoothSym <> "" SmoothSym AND <> 0 THEN SmoothType = "maxNumber»»"
Call ChnCopy (CurveTransfInX, CurveTransfOutX) ' copy the input into the output channel channel
Call ChnSmooth (CurveTransfInY, CurveTransfOuty, SmoothPts, SmoothType) ' smooth the input channel and save the result as output channel
End Sub

Brad Turpin

Tiara Product Support Engineer

National Instruments

Tags: NI Software

Similar Questions

  • Functions defined by the user with several parameters

    I set features three following user using "Define."

    UF1 takes a single patameter;

    UF2 takes two parameters;

    and UFX takes two parameters - with the second is 'X' in the definition.

    Œuvres F1.  F2 is the EVAL of F1 version and it works too.  User functions only seem to work fine.

    F3, a function of two user settings, produces a graph of NaN.

    F4 is the EVAL of F3 version.  Note that 'B 'is not replaced by 1'.  Also produces a NaN chart.

    F5 produces a graph of NaN.

    F6 is EVAL of F5.  The 'X' is not replaced (even with the ' B' above), and even if it looks like 'X * X', it also produces a graph of NaN.

    Is it possible to get defined by the user, with several parameters, features work by tracing the curve?

    Hi!, Fortin:

    If you download and install the ultimate Firmware with the version of the software: 2015 6 17 (8151), with the number of Version: 1.1.2 - 11, you can trace your examples of definition of the function, with curves and values, without NaN.

  • How to run the powershell script of command with several parameters

    Is there a way to run a powershell script from the dialog box run with several parameters? In addition, the path to the script contains spaces, for example, c:\powershell scripts\script.ps1.

    Take a look at http://www.powershell.nu/2009/12/16/running-scripts-with-arguments-in-powershell/ which explains how to pass arguments to a script.

    André

  • see link with several parameters

    Hi all:
    I use af:golink to call a new page with different parameters like the code below:
     <af:goLink text="Run Report" styleClass="xes" destination="/printreportservlet?reporttype=pdf&filename=new_report.jasper"  targetFrame="_blank"/>
    but when I use it cann't page display "website cannot display the page.

    but when I use a single parameter as:
     <af:goLink text="Run Report" styleClass="xes" destination="/printreportservlet?reporttype=pdf"  targetFrame="_blank"/>
    or
    <af:goLink text="Run Report" styleClass="xes" destination="/printreportservlet?filename=new_report.jasper"  targetFrame="_blank"/>
     
    It works successfully,
    so is there any problem to send several parameters while asking us to servlet.

    Best regards

    What happens if you put this URL in the address bar directly, it works? If it isn't, then it seems that the problem is with your servlet. If this does not work, try to escape the ampersand in the URL. I can't paste the value here, as the forum he transformed into an ampersand, but you can read [url http://articles.techrepublic.com.com/5100-10878_11-5032714.html] this

    JOhn

  • Appeal with several parameters of the URL

    Hello!

    I'm unable to call a procedure by URL with several parameter, a parameter is passed to the following example, the syntax would be like spending several parameters?

    # OWNER #. PK_UTIL. PKB_TXT? En_param1 = xxx

    How to include the second parameter? I tried several and could not happen.

    Thank you

    Márcio Goncalez

    This isn't really a question of APEX but more close mod_plsql or the apex listener I think?

    Have you tried?

    # OWNER #. PK_UTIL. PKB_TXT? En_param1 = xxx & En_param2 = yyy

    James

  • several curves with several ladders on the same graph

    Hello

    I am currently working on a project that include an acquisition of data VI. I want to display two curves with two different scales (0 to 1 and 0 to 200) on the same graph.

    I tried almost all the options in the Properties menu, I can't find something that fits what I want.

    Do you know how to do such a thing?

    Thanks in advance,

    Gabriel.

    Right-click on the existing scale and click on duplicate.

    EDIT: I would add that you need to set ActYScl via a property node to switch between the scales of the difference if you want to perform operations on them.

  • ThinApping an Application with several parameters

    Still new to ThinApp please bare with me.

    I have captured a request and I now have an App.exe and an App.dat.  Then, I opened this request, altered some settings and captured these changes & named settings1.dat.  I have also settings2.dat, settings3.dat and so on.

    App.exe is about 50 KB
    App.dat is about 80 MB
    Settings1.dat, Settings2.dat and so on is 2 MB.

    How can I go on these chaining so Settings1.dat/Settings2.dat/etc calls and run App.exe and App.dat?

    I don't want to wind up with more than 80 MB file, which is the only way I could make it work.

    These settings are changed are all stored in HKCU, so this is a simple registry change.

    If you want to get started ThinApped application with different parameters, you need not separate .dat files. What you can do, is something like the following:

    1. Install your application, change its settings and capture it with ThinApp.
    2. You change the application settings, and export the appropriate registry key.
    3. Repeat step 2 all the time.
    4. Go to your project directory and create a subfolder in the folder where your application executable.
    5. Copy the .reg files exported in the subfolder created in step 4.
    6. Create a script or a batch file for each .reg file, and then save it to the folder created in step 4. The script file or batch must have the necessary code to merge the .reg in the registry file.  Also, you must run the main script executable file or batch file.
    7. Add the necessary lines in the package.ini file to create an entry point for each script or batch file.
    8. Build your application.

    Another approach, you can create a menu with an InputBox statement. In this way, you can choose load settings before running your application.

    1. Follow the steps 1 to 5 of the previous approach.
    2. Write a script to create a menu and merge the corresponding .reg file into the registry according to the user's selection.
    3. BUiD your application.
  • Script to get use of the memory with the parameters like VM uses, active, granted


    Hi friends

    Can someone help me get the powercli scripting to get the use of the VM folder memory wise with metricks as consumed, Active, granted for two weeks with a period of time for example special hours of buisness with output to a CSV as below

    Vmname Esxhost ActiveMemory Grantedmemory Memory consumption Folder

    It seems that the statistical level history interval 3 (last month) is not set to at least 2.

    The counters active and issued both require level 1.

    Consommé requires level 1

  • Call a script with several parameters

    OK, it seems that it would be an easy question, but I have googled this to death and I can't find anything. How to pass variables to a script? I have a script with three variables, and only the first is necessary. I'm eager to make the BACK and SQLPlus command line. The only difference is that I would need to call information more SQLPlus connection when I call back.

    I tried using single quotes, double quotes, I tried to delimit it with a space, the command and the semicolon, but nothing works.
    sqlplus user/pwd@db @"F:\Script.sql" variable1 "" variable3
    When I run the present, it always pushes me to the three variables. Once again, the only variable 1 is required. The variables 2 and 3 will be more often then not be blank. Any help would be appreciated.

    I'm on 10.2.0.4 if it's important.

    Published by: nik_m on April 29, 2010 09:18
    HA. Assume that cr * p is a bad word.

    Hello

    nik_m wrote:
    Most of the East base

    DECLARE
    v_screen            VARCHAR2 (40);
    v_app_layer_custom  VARCHAR2 (4) := '';
    v_table             VARCHAR2 (40);
    BEGIN
    v_screen           := UPPER ('&screen');
    v_app_layer_custom := UPPER ('&layer_override');
    v_table            := UPPER ('&table');
    end;
    /
    

    Apparently, you're never set variables such as & screen before you try to use them. Don't do this; set them all first.

    When you call a SQL * more script like this:

    @"F:\Script.sql" variable1 "" variable3
    

    who defines and assigns values to variables substitution & 1, & 2 automatically and & 3
    & 1 is 'variable1' in the example above,
    & 2 is an empty string, and
    & 3 is "variable3.
    You pouvez use these variables in your script, like this:

    ...
       v_screen           := UPPER ('&1');
       v_app_layer_custom := UPPER ('&2');
       v_table            := UPPER ('&3');
    

    but it is better to use meaningful names, like you do. To do this, copy the values & 1, & 2 and 3 & to & screen & layer_override and & table at the beginning of the script:

    DEFINE     screen          = "&1"
    DEFINE     layer_override     = "&2"
    DEFINE     table          = "&3"
    
    DECLARE
       v_screen            VARCHAR2 (40);
       v_app_layer_custom  VARCHAR2 (4) := '';
       v_table             VARCHAR2 (40);
    BEGIN
       v_screen           := UPPER ('&screen');
       v_app_layer_custom := UPPER ('&layer_override');
       v_table            := UPPER ('&table');
    end;
    / 
    
  • GoURL with several parameters

    Hi all

    I know I can do this task to help navigate and have guests in the target report, but I would really like to know what I'm doing wrong with GoURL.

    This is the code I have:

    ' <-a href = http://server:9704/analytics/saw.dll?GO & path=/shared/Office%20of%20Ins%20Res/St_by_clas_by_school & Action = Browse & P0 = 2 & P1 = eq & P2 = table1. School_Code & P3 =' | Cast (table1. School_Code as char). "& P4 = eq & P5 = table1. CLAS & P6 =' | Cast (table1. CLAS as char). ' > '. Table1. "" CLAS Format | "< / a-> '"

    I know that I don't have space in one of the following values. I see that this first parameter correctly. When I check the link with the values passed, the link stops at the end of the p3.

    Any ideas why or how I can pass the second parameter?

    Thank you

    Banu

    1. try to replace cast (PS_CNS_S_ENRL. School_Code as char) trim (TRAILING ' ' of AFTER casting (PS_CNS_S_ENRL.) School_Code as char))
    OBIEE convert CAST ( AS CHAR) cast ( AS CHARACTER (30)). If School_Code has less then 30 characters empty positions will be replaced by spaces.

    2. If School_Code has a fixed length, e.g. 4-digit, you can write cast (PS_CNS_S_ENRL. School_Code as char (4))

  • USING SEVERAL PARAMETERS FOR GET_SEARCH_RESULTS WITH THE HELP OF API RDCI

    Using Oracle Web Center content Web Service, I'm able to pass several parameters to the search entry to GET_SEARCH_RESULTS.

    " < envelope soap: xmlns:soap = ' http://schemas.xmlsoap.org/SOAP/envelope/ ">

    " < soap: Body = xmlns:ns1 ' http://www.Oracle.com/UCM "> "

    < ns1:GenericRequest webKey = "cs" >

    < ns1:Service IdcService = "GET_SEARCH_RESULTS" >

    < ns1: User / >

    < ns1:Document >

    <!-ns1:Field name = "QueryText" > xCUSTOMER_MSISDN & lt; contains > '044444444' < / ns1:Field->

    < name ns1:Field = "QueryText" > xCHANNEL_ID & lt; contains > '11222212' < / ns1:Field >

    AND

    < name ns1:Field = "QueryText" > xCUSTOMER_id & lt; contains > '08848484848' < / ns1:Field >

    AND

    < name ns1:Field = "QueryText" > xCHANNEL & lt; contains > 'ISL' < / ns1:Field >

    < / ns1:Document >

    < / ns1:Service >

    < / ns1:GenericRequest >

    < / soap: Body >

    < / envelope soap: >

    How do I pass several entrance to search for GET_SEARCH_RESULTS parameter when you use the RDCI API?

    I have this code RDCI, but I get parse error as soon as I try out several settings. It works very well with a single parameter. Please advice

    Public Shared Sub {search (String content_dDocName)

    String queryText = "dDocName < match > '" + content_dDocName + "'";

    create the binder

    DataBinder searchResultBinder = idcClient.createBinder ();

    fill the binder with the settings

    searchResultBinder.putLocal ("IdcService", "GET_SEARCH_RESULTS");

    searchResultBinder.putLocal ("QueryText", queryText);

    searchResultBinder.putLocal ("ResultCount", "20");

    run the query

    ServiceResponse searchResponse;

    print a Boolean = false;

    for (int counter = 0; counter < 1000; counter = counter + 1) {}

    try {}

    searchResponse = idcClient.sendRequest (userContext, searchResultBinder);

    If (! print) {}

    myExecutable.logEvent ("GET_SEARCH_RESULTS successful call.");

    print = true;

    }

    } catch (IdcClientException e) {}

    myExecutable.logEvent ("GET_SEARCH_RESULTS failed");

    e.printStackTrace ();

    return;

    }

    DataBinder searchData;

    try {}

    searchData = searchResponse.getResponseAsBinder ();

    } catch (IdcClientException e) {}

    myExecutable.logEvent ("cannot get the answer.");

    e.printStackTrace ();

    return;

    }

    DataResultSet search results = searchData.getResultSet ("SearchResults");

    If (searchResults.getRows () .isEmpty ()) {}

    continue;

    }

    myExecutable.logEvent ("successfully obtained response - (s) dDocName ' following was found:" ");

    Iterator it = searchResults.getRows () .iterator ();

    While (it.hasNext ()) {}

    Date of birth of DataObject = (DataObject) it.next ();

    myExecutable.logEvent (dob.get ("dDocName"));

    }

    return;

    }

    myExecutable.logEvent ("failed to get a response at the time given.");

    }

    You can provide several search parameter to RIDC as follows:

    dataBinder.putLocal ("QueryText", 'xOriginalServiceId 'DISO' xApprover 'fmwtuser' ')

    In above query, I gave 2 search parameters.

    You can replace OR with AND & also you can replace 'contains' by 'correspondences' according to your requirement.

    -Prashant

  • I have a mac Pro retina with Acrobat Pro DC. In accordance with the guidelines required by the University, I need to convert my thesis of excel to PDF using Available / 1 b: 2005 (CMYK), compatibility Acrobat 8.0 (PDF 1.7) as well as several parameters. T

    Acrobat 8.0 (PDF 1.7) as well as several parameters. They have a website turorial for windows and not for Mac. The measures should start by clicking Acrobat PREFERENCES-> convert to PDF-> choose microsoft word file and click settings. However, the settings is disabled and I can't continue the procedure. I would be so grateful for your help.

    I looked at your original points.

    1 bookmarks. Ignore. Valid only for Word documents with heading styles.

    2. the links. Ignore. You don't need links.

    3. accessibility. Maybe a big problem. Try it and see if the file is rejected. Be sure to leave time to redo the task under Windows.

  • I'm trying to create a PDF file with several signature lines in that anyone can "Sign" by using their digital signature CAC (Common Access Card) active. The goal is to have a single document that people can open, sign on a designated line and save the doc

    I'm trying to create a PDF file with several signature lines in that anyone can "Sign" by using their digital signature CAC (Common Access Card) active. The goal is to have a single document that people can open, sign on a designated line and save the document (replacing the existing document) and close. Then another person can open the same document digitally sign another area of the form, save it, and close it. So on, and so on. Is there a way to do this? At the end of the day, I would end up with a PDF file with literally hundreds of signatures to enable different ACC everywhere...

    I don't understand what the problem is. In the post of the davidr96549424 on May 8, 2015 07:58 you presented a structure of a correct document. Is the issue of the creation of this structure in a PDF file? For this, you will need an Acrobat, not reader.

    XI in Acrobat, select Tools-> forms-Edit. Click 'No' on the form fields 'detect '. In the tasks Panel that opens, click on "add new field". Select "Digital Signature" and move it to the location in the document where you want to than the appearance of the signature to be. Repeat that for signature fields as you want. Users will sign by clicking on the prepared unsigned signature field which shows the dialog box "sign. Do not forget that as TSN has noted that a digital signature applies to the entire document. The entry in the document where it is is irrelevant. Each next signature covers all previous signatures.

    Your users can also sign a document from anywhere that they want without signature fields already prepared. For this select fill & sign-> work with certificates and the type of signing you want to sign up with. A dialog box that will tell you a rectangle for the appearance of signature rises and after you draw the rectangle of the dialog 'Sign' rises.

    PDF/Acrobat doesn't have a limit on a number of signatures in a PDF document. But! Don't forget that when you open a PDF file with Acrobat/Reader signatures valid all of them and takes time (several seconds - until 10 - for every signature), so if you have several signatures of dozens of their validation open can take a long time.

    I don't know how build you your workflow so that each person signs the same PDF and saves it. Economy runs on the same computer where the PDF is stored. You'll have to decide how to allow different people to have access to the same PDF. They, of course, you may sign this only one-at-a-time PDF.

  • Interfacing with several unknown USB devices; all producing NMEA strings

    Hi all

    Question about the peripheral USB interface and their associated drivers.

    I have the obligation to build an application that interacts with the USB devices that produce NMEA strings. I have the library to parse NMEA strings, but I fight with interfacing with several unknown USB devices. When deploying applications, I know not all possible USB devices to use.

    Is it possible to produce one driver who will accept any USB device strings?

    Or, more likely, is there a way to get the LV to recognize a connected USB device and automatically find / install the driver like windows does and is it possible to do in a deployed application?

    I had a trawl of the forums, but I've not found anything that specific.

    Thanks, I really appreciate the help.

    About the VI "set up the serial port", my problem is that the choice of COM port is in a separate menu (not directly related to the VI) and it allows all possible COM ports to be selected. That can be addressed.

    I am not expecting an all-in-one solution but asked the question in case it was possible.

    What I realized, is that for my specific condition to read strings from a USB device. It is likely to be sent over a serial connection. LV can handle this well and easily assuming the device has the installed driver / settings are available.

    LV (and indeed any other program) will not work without a device driver / settings. In this case, parameters set must be found (error) / a USB RAW driver would need to be developed. Devices requirng a RAW USB driver would need a serious review to continue due to the time and effort required. All this effort is work inherited from the AIDS to navigation

    I appreciate any help and I think I got the answer I was looking for! Thank you very much

  • BlackBerry Smartphones, please advise me if I can use my Canadian Curve 9300 and PlayBook in England and parts of Europe?

    Please let know us if I can use my Canadian Curve 9300 in England and parts of Europe... (I have a global SIM card) but do not know if a voltage higher than England could damage my phone and my PlayBook and Mini keyboard. Should I be concerned about the differences in power since my devices are made for North American use, I already plug adapters but without transformers etc.

    Hello and welcome to the community!

    Real power Chargers you use are the key... look over them and see what is printed on the voltage/amperage/etc. that they can deal with. Compare that to what will be where you will be. If they can manage the power supply where you are, then you will only need an adapter pin and not a real transformer.

    In general, the BB devices can be used anywhere in the world with the delivery... loading devices simply to adapt the pins to the area that you are in. As a reference, I used BB devices (although get in the USA) in many many countries, including United Kingdom. But you actually have to look at your exact Chargers to be sure.

    Good luck!

Maybe you are looking for

  • Satellite A500 - 1 2 fropm occasionally gels

    HelloI have a problem with my Satellite A500 - 1 2.#From time to time during normal operating system of the computer crashes.Music stucks to sound and the only way to use the computer again is to turn, then turn it on again. What should I do with thi

  • Problems of unit change

    Hello, how can I do to change the number corresponding to the unit changed in the table? For example, when I change the unit of 'flow' to be L/h, the value should appear 4 240 in the course of data without altering the value manually. It should appea

  • How to use webcam? TouchSmart 520

    I've never used the front webcam and need to know at least the basic functions.

  • Kinect OpenNI with XnDDK.dll problem

    Hi all I use Microsoft Kinect in my LabVIEW robotics project. I saw a demo and a description on http://forums.ni.com/t5/LabVIEW/How-to-Connect-the-Kinect-to-Labview/td-p/1450358 . I followed the instructions, and when I run a sampling program: NiSimp

  • Manual s5150t

    Anyone know where I can find the manual for the s5150t.  I need to find what rear panel inputs audio / microphone what are for.  I would use the desktop speakers and headphones with microphone, but do not know what that plugs to use.