Is it possible to multiply the content of an array by a constant numeric.

Hi,
I am using Universal library to read a voltage from a DAQ device, and it seems the reading function is putting it into an 1-D array then into a graph.
I need to get this voltage and multiply by a number and could not do that as it is in array format.
How would I be able to multiply the array content by a constant numeric?
Thanks
Solved!
Go to Solution.

Hi,
Thanks for the reply, did not work, I have attached an image illustrating it.

Similar Messages

  • Is it possible to view the content of multiple lists(located in multiple webs) in one ListViewWebpart? And how can I filter a multivalue column?

    Is it possible to view the content of multiple lists, that are located in different webs as well, in just one ListViewWebpart? Could I maybe change the query programmatically so that it get's the content this way?
    I know that I could use the Content Query Webpart instead - actually I have been using that so far, but the problem is, that it brings no standard Sharepoint functionality for lists with it... I had to write the xsl style sheet, there are no dynamic filters
    that the user could set, there are no default list operations the user could use.
    The ListViewWepart has all of these, but it only shows the content of one list...
    And my second problem:
    One column can contain multiple values (like a column that contains multiple users or user groups that are related to one entry). I can filter every other column with the standard filters, but not the column with multiple values in it. Is it possible to
    activate that or maybe add this feature programmatically?

    You can fetch data from multiple lists in ListViewWebpart, this can be possible through Content Query web part or Custom Web Part using visual studio but in that case you can not get the standard SharePoint funcationality for list (which is available in
    ListViewWebparts).
    No OOB filter available for multi-choice column, you also have to go with custom solution to achieve this.
    Adnan Amin MCT, SharePoint Architect | If you find this post useful kindly please mark it as an answer.

  • Question : is it possible to save the contents of the screen in a graphic object ?

    Assume i asked the machine to plot something (for example within the Function application).Is it possible to save the contents of the screen in a graphic variable (GROB ?) for later reference ?

    Hi!, EmileG: From connectivity kit, connected to HP PRIME, you can ... Copy Screen opens the Screen Shot dialog box from where you copy or, save an image of  the virtual calculator screen.You can leave this dialog box open as you prepare instructional materials and reports that require screen captures  from the calculator.The Screen Shot  dialog box has the following options and buttons:• Border: A slider bar to give the image a boarder and change the thickness, of the border.• Size: A slider bar that changes the size, of the image.• Capture:  Update  the image, to reflect the current state of the  virtual calculator display.• Copy: save  a copy  of  the  current  image to  the clipboard.• Save: save  a copy  of  the  image to  a file. In  this case, you  can specify a name and location  for the saved  file.• Close: close the Copy  Screen  dialog box.

  • Is it possible to save the content of a form before click on the submit?

    Hi,
    I'd like to know if it's possible to save the content of a text field in a form in a String variable run-time before click on the submit botton?
    If this is not clear what i want to say,please tell me, and i'll try to say it better.
    Thanks a lot.

    I've got a form with a text field and everytime i add
    a letter in this text field i want to use this string
    as parameter to execute a query.So,in the end, the
    number of query that I'll execute is equal to the
    length of the string i've insert to the text form.If you mean executing a database query, JavaScript would not be able to do that. JSTL sql tags might help.

  • Is it possible to extract the contents of any PDF file using Adobe PDF SDK?

    Is it possible to extract the contents of any PDF file using Adobe PDF SDK?
    For Example: There is one pdf file. Let us say xxx.pdf with 32 pages. I am interested in only in a topic present at 10th page. Can I extract this information and save it into another pdf file (means new pdf file)?

    Thanks Irosenth,
    I am actually interested in extract the page and create a new PDF with that page. But still there is a catch that on which basis the page needs to extract either on PAGE number OR on Bookmark basis.
    But here in this scenario assume I am looking for the PDF file, now I want to save only page 5. How can I extract page 5 automatically/programmatuically? Or in simple word how can I get the reference link of page 5?
    Here I am not getting clear picture that Do I need both SDK Adobe & Acrobat to achieve this requirement. And more over you have mentioned that SDK itself is free. But on Adobe side it is mentioned that it is available by license only with this I have another doubt: To work my desktop/system application with Adobe PDF library, this library needs to distribute with the application. So in this case will it be chargeable for each and every deployment.
    Could you please provide me the link from where I can download the SDK? So that I can do some excerise with SDK to figure out the exact flow of functionality to work with my application.

  • Is it possible to encrypt the content of an MSI?

    Is it possible to encrypt the content of an MSI or at least obscure data/strings stored in it using a standard Visual Studio Installer project (Visual Studio 2013 in this case)?
    For example, settings are stored in plain text, I'd prefer they weren't, and ideally, the data won't be ciphered until put into the MSI by the installer project.
    I've tried doing this with an installer action, but it isn't called until after the application is installed. So, while this does mean the settings are encrypted once installed to the user's machine, if the MSI is unpacked (which is easy to do) the settings
    are plainly visible.

    There is no built-in way to encrypt an MSI file. You'd need to encrypt it yourself, ship it, then decrypt it so Windows can install it. After that, there is a cached copy in \Windows\installer that you can't remove because it's needed for uninstall, and
    the unencrypted MSI needs to be available for repair. So there's no practical way to do this.
    If the problem is some data in the MSI file, then why not encrypt it and have the app decrypt it when it's used? There are APIs to modify MSI files (see WiRunSql.vbs and others in the Windows SDK) so a post-build step can encrypt the data and store it in
    the MSI file.
    If the data is in a property, then you also have the problem that installing the MSI with a log will show the values. There is no VS support for this, but you'd need to use MsiHiddenProperties so that your secret data doesn't show up in a log if it is not
    encrypted in the MSI file.
    https://msdn.microsoft.com/en-us/library/aa370308(v=vs.85).aspx
    Phil Wilson

  • How can I update a Site Column with the content of an array with javascript CSOM?

    I'm relative new to Sharepoint 2013, I'm trying to update the content of a Site column with the content of an array, I can retrieve and visualize the content of my site column, the user is able to change and save the necessary part and the changes are
    saved into an array, now I have to update the content of the site column with the content of the array, but for some kind of reasons I can't accomplish that, any suggestion/example? This is my code so far to retrieve, visualize the site column and store the
    mofication into my array.
        <body>
                <select id="dropdown" name="dropdown" onchange="optSelect()">
                    <option value="EngineType_Cylinders">EngineType_Cylinders</option>
                    <option value="EngineType_EngineCycle">EngineType_EngineCycle</option>
                    <option value="EngineType_EngineFamily">EngineType_EngineFamily</option>
                    <option value="EngineType_Euro">EngineType_Euro</option>
                    <option value="EngineType_FamilyEvolution">EngineType_FamilyEvolution</option>
                    <option value="EngineType_GasEmissionLevel">EngineType_GasEmissionLevel</option>
                    <option value="EngineType_Power">EngineType_Power</option>
                    <option value="EngineType_PowerSupply">EngineType_PowerSupply</option>
                    <option value="EngineType_Use">EngineType_Use</option>
                </select><br />
                <textarea id="textareadisplay" rows="25" cols="23"></textarea><br />
                <input type ="button" value="Update values" onclick="addItemsToColumns()" />
            </body>
    My Javascript
        $(function () {
            SP.SOD.executeOrDelayUntilScriptLoaded(Function.createDelegate(this, function () {
               var select = document.getElementById('dropdown').value;
                console.log(select);
                getSiteColumns(select);
            }), 'SP.js');
        var fieldChoice;
        var choices;
        var addFields = [];
        var slc;
        var clientContext;
        function optSelect() {
            slc = document.getElementById('dropdown').value;
            getSiteColumns(slc);
        function getSiteColumns(selection) {
           clientContext = SP.ClientContext.get_current();
            if (clientContext != undefined && clientContext != null) {
                var web = clientContext.get_web();
                fieldChoice = clientContext.castTo(web.get_availableFields().getByTitle(selection), SP.FieldChoice);
                clientContext.load(this.fieldChoice);
                clientContext.executeQueryAsync(Function.createDelegate(this, this.OnLoadSuccess), Function.createDelegate(this, this.OnLoadFailed));
        function OnLoadSuccess(sender, args) {
            choices = fieldChoice.get_choices();
            var textarea = document.getElementById("textareadisplay");
            textarea.value = choices.join("\n");
        function OnLoadFailed(sender, args) {
            alert('Request failed. ' + args.get_message() + '\n' + args.get_stackTrace());
        function addItemsToColumns() {
            clientC = SP.ClientContext.get_current();
            var arrayForUpdate = $('#textareadisplay').val().split('\n');
            fieldChoice.set_item(, arrayForUpdate);
            fieldChoice.update();
            clientContext.executeQueryAsync(function () { }, function () { });
        function OnUpdateSuccess(sender, args) {
            var newchoices = fieldChoice.get_choices();
    My problem is on the function addItemsToColumns() please help! Thanks in advance.

    Let's look at your stylesheet -
    <style type="text/css">
    body {
    background-image: url(assets/images/Business%20Men%20In%20Reception%20Col.2.jpg);
    background-repeat: no-repeat;
    background-color: #003;
    margin-left:auto;
    margin-right:auto;
    position: relative;
    width: 960px;
    It's a good idea not to use spaces or any punctuation in your filenames when working for the web.
    #header {
    margin-left:auto;
    margin-right:auto;
    position: relative;
    width: 960px;
    #heading {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 36px;
    font-style: italic;
    font-variant: normal;
    margin-left:auto;
    margin-right:auto;
    There's no need to specify the default values (font-variant:normal) or to specify auto margins for any block element without an explicitly defined width. And wouldn't it make more sense to put the font style on the body tag, where it will inherit into the rest of the page than to restate it as you have done in the next rule?
    #bodytext {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 18px;
    line-height: 25px;
    font-variant: normal;
    width: 300px;
    #container {
    width: 960px;
    position: relative;
    margin-left:auto;
    margin-right:auto;
    .rightimg {
    float: right;
    margin-left: auto;
    padding-right: 40px;
    #heading #navbar ul li {
    padding: 30px;
    </style>
    Margin-left:auto can't work without knowing what the width of the element is....  Keep your CSS lean and targeted - it will help you to debug your layouts.

  • Is it possible to display the content of complex mutlidimensional datastructures (e.g. std::vectors (dim = 2) of (non-primitive) types) in Xcode debugger?

    Hi,
    First, let me say that I like Xcode and coding in OS X. However, there is something I miss:
    Let me demonstrate what i mean:
    This is the representation of a 2D-Vector in Xcode Debugging environment:
    v          'std::vector<std::vector<int, std::allocator<int> >, std::allocator<std::vector<int, std::allocator<int> > > >'          [{...}]
    0          'std::vector<int, std::allocator<int> >'          [{...}]
    1          'std::vector<int, std::allocator<int> >'          [{...}]
    2          'std::vector<int, std::allocator<int> >'          [{...}]
    3          'std::vector<int, std::allocator<int> >'          [{...}]
    4          'std::vector<int, std::allocator<int> >'          [{...}]
    5          'std::vector<int, std::allocator<int> >'          [{...}]
    6          'std::vector<int, std::allocator<int> >'          [{...}]
    7          'std::vector<int, std::allocator<int> >'          [{...}]
    8          'std::vector<int, std::allocator<int> >'          [{...}]
    So, the above representation is what I would call bad (even useless).
    The problem is that the current Linux Kernel (3.1.1) has some problems with the new MBA 2011 (which is really sad) so I can not show you the representation of a 2D-Vector in Qt-Creator for Linux right now (I'm not sure if the Qt-Creator for OS X could display the content properly, since I've never tried it). But you can believe me, that the represantation would look something like the one in Eclipse (which would be a good representation).
    So my question: is there a "fix" for this?

    What you want is a custom data formatter. I would give you some links, but my iPad wants to convert them into the documentation viewer.
    You aren't going to find much help with C++ debugging. While Apple's Clang has made great improvements in C++ support compared to GCC, C++ is really not something that Mac or iOS programmers typically use. The Cocoa containers and objects are so much more versatile. You kind of have to have a masochist streak and a 7 year development schedule to use C++. C++ is experiencing a bit of a resurgence, especially in defense markets. For a long time, compilers had such poor support for C++ that it just wasn't possible. After simplifying the language a little, compilers can now compile and link C++. Consultants have realized they can provide C++ services and burn though billable hours better than any other language on the market. Independent developer, however, don't have those schedules and budgets so they tend to use NSArray. Xcode supports it better in the debugg and, chances are, you don't need to debug it anyway. There are a number of matrix classes built on Cocoa.

  • CATS - It is possible to change the content of the Rejection e-mail?

    Hi all,
    we are in ECC 6.0 and have implemented CATS.
    Do you know if it is possible (and how!) to change the content of the e-mail that is sent to the employee in case of CATS rejection?
    Thanks and regards,
    Cristiana

    Hello, nice idea!
    I did figure out that the program use text elements, however, one is not allowed to change them. I then raised an OSS note and SAP raplied that I couldn't change the text elements - I really don't like the email that is sent from CATS rejection!
    I really ike the sound of your idea. I am not familiar with translations though. Would you be able to detail it a bit more about how to translate a text element?
    When I get to the text element screen, if i follow menu path Goto > Translation, a screen pops up asking me to chose a Target Language. What should I do then? Select the target language to EN (the original language is EN) ? And then, how do I make sure that the program uses the translated text?
    Thanks a lot for your help!
    Cheers,
    Cristiana

  • Is it possible to print the content of a text entry box

    I would like to print the content of a text entry box as I've created a 'notepad' in captivate 6. Is it also possible to save content of a text entry box to a word document/web page using javascript?

    The content is stored in the associated variable of the TEB. Have a look at Jim Leichliter's website for instructions to get that variable out of Captivate.

  • How is it possible to output the contents of all annotations to file or text box?

    Hello,
    I am trying to get the contents of all annotations (except attachments) within a PDF. Creating the Javascript code to enumerate all annotations in the document is not a problem. I am puzzled as to how I can either save the output to a unicode text file (preferable to a filename picked by user) or place it in an on-screen textbox in a dialogue so the user can copy it to the clipboard. As far as I understand, it is possible to generate a new PDF with the output, but I would like the code to work in Adobe Reader also.
    Thanks a lot!
    Best regards,
    Stanislav

    Thanks for your reply, George!
    What I want to do is to be able to open any document in Reader, open the Addons pane, click a button and see the contents of all annotations in a textbox or pick a filename to save these to hard drive in a custom format? The latter (saving to a user-selected file) would be preferable.
    AcroJSGuide points to Adobe Dialog Manager as a way to create user dialogues, but I thought experienced users can point me in the right direction.
    Thanks,
    Stanislav

  • Is it possible to read the contents of an Excel cell in DIAdem and assign its value to a variable in a VBS script.

    Hi All,
    Initially I thought this little problem would be relatively straight forward but now I’m not so sure. I am familiar with the mechanism by which DIAdem communicates with Excel and how to change the contents of a cell via a VBS script. In my task the contents of the cell in the first row, first column of MyProblem.xls contains the text “DIAdem”. I would like to be able to read this value and assign it to the variable MyString. I originally thought of doing something simple like this:
    Dim MyString
    Dim Excel, ExcelSheet
    Set Excel = CreateObject(“Excel.Application”)
    Excel.Workbooks.Open(“C\MyProblem.xls”)
    Set ExcelSheet = Excel.Workbooks(“MyProblem.xls”).Sheets(“Sheet1”)
    MyString = ExcelSheet.Cells(1,1)
    At this point I would have hoped that MyString would have been set equal to “DIAdem” and I could have used MyString to change the name of a channel in the data portal if I desired using the following code:
    Data.Root.ChannelGroups(1).Channels(1).Name = MyString
    Doesn’t seem to work though. I’m guessing it is because MyString has not picked up the value of the contents of the cell? Can anybody propose a solution to my problem or indeed confirm whether what I am proposing to do is technically feasible.
    Thanks in advance for any responses.
    Matthew

    Hi Matthew,
    Just staring at your ActiveX code, it looks fine to me.  My first thought is that this should work as you outlined it, and I've done this sort of thing many times, so I know it can work.  My second thought though, is that what you probably really want is a DataPlugin and not a VBScript.  Then you could just drag&drop the Excel file into the Data Portal and load all the properties and channels you want from the Excel file.  If you have DIAdem 2010 or later you can use the SpreadSheet reader object in the DataPlugin to avoid the Excel ActiveX functions (and Excel's jealously with other applications trying to read a file it has open already).
    Feel free to send me a few sample Excel files and describe what you want to load from the various cells, and I'd be happy to help you get a DataPlugin written to load your data.  You can also email me at [email protected]
    Brad Turpin
    DIAdem Product Support Engineer
    National Instruments

  • Is it possible to display the content of a file in flex as it is written. E.G. a log file

    I have flex app sitting on a Linux server.
    I want to be able to spool the content of a file on the same server as the flex app to the users screen using say a textarea or similar.
    The file is some type of log so its going to constantly have lines added. Is there a way to do this ? I am guessing I need to constantly refresh the flex app with the file content.

    Yes you can. Small example for you:
    [email protected]> select * from dept;
    DEPTNO DNAME LOC
    10 ACCOUNTING NEW YORK
    20 RESEARCH DALLAS
    30 SALES CHICAGO
    40 OPERATIONS BOSTON
    [email protected]> alter session set cursor_sharing=force;
    Session altered.
    [email protected]> alter session set events '10046 trace name context forever, level 12';
    Session altered.
    [email protected]> select * from dept where deptno = 20;
    DEPTNO DNAME LOC
    20 RESEARCH DALLAS
    [email protected]> exit
    Trace file:
    PARSING IN CURSOR #3 len=44 dep=0 uid=68 oct=3 lid=68 tim=110240041190 hv=3378028910 ad='7b0b0ca0'
    select * from dept where deptno = :"SYS_B_0"
    END OF STMT
    PARSE #3:c=0,e=28847,p=0,cr=0,cu=0,mis=1,r=0,dep=0,og=0,tim=110240041185
    BINDS #3:
    bind 0: dty=2 mxl=22(02) mal=00 scl=00 pre=00 oacflg=10 oacfl2=100 size=24 offset=0
    bfp=06f04688 bln=22 avl=02 flg=09
    value=20
    EXEC #3:c=0,e=19767,p=0,cr=0,cu=0,mis=0,r=0,dep=0,og=4,tim=110240071912
    WAIT #3: nam='SQL*Net message to client' ela= 5 p1=1111838976 p2=1 p3=0
    WAIT #3: nam='db file sequential read' ela= 13920 p1=23 p2=72274 p3=1
    FETCH #3:c=0,e=29325,p=1,cr=2,cu=0,mis=0,r=1,dep=0,og=4,tim=110240105613
    WAIT #3: nam='SQL*Net message from client' ela= 248 p1=1111838976 p2=1 p3=0
    FETCH #3:c=0,e=2,p=0,cr=0,cu=0,mis=0,r=0,dep=0,og=0,tim=110240111496
    WAIT #3: nam='SQL*Net message to client' ela= 2 p1=1111838976 p2=1 p3=0
    WAIT #3: nam='SQL*Net message from client' ela= 1361188 p1=1111838976 p2=1 p3=0
    The interesting line for you
    BINDS #3:
    bind 0: dty=2 mxl=22(02) mal=00 scl=00 pre=00 oacflg=10 oacfl2=100 size=24 offset=0
    bfp=06f04688 bln=22 avl=02 flg=09
    value=20
    Which shows you that :"SYS_B_0" was subsituted with value equal 20
    Best Regards
    Krystian Zieja / mob

  • Is it possible to recover the contents of a "Sent Mail" folder that was accidentally deleted?  We have complete Time Capsule backups.

    We lost the contents of a "Sent Mail" folder when our ISP asked us to delete and re-create the account in an attempt to solve a connection problem.
    Is there any way to re-create these messages from stuff in the Library or from a Time Capsule backup?
    Thank you.

    Yes.
    Open the Sent folder in Mail.
    Go to the menu bar and ask to Enter Time Machine.
    Go back in time until you find the messages you want.
    Restore them.
    Of course I am assuming your backup disk is connected, or you have adequate local snapshots.
    All the gory details here:
    Restore items backed  up with Time Machine
    charlie

  • Is it possible to multiply the result of a count function by another column

    Hello,
    I need to generate an invoice for the amount of nursery sessions a given child has attended. I can get the amount of sessions using this query:
    select COUNT(s.session_id), cr.child_id
    from sessions s, child_register cr
    where s.session_id = cr.session_id
    and cr.child_id = 'C110001'
    group by cr.child_id;
    Which outputs:
    2     C110001
    I can't figure out how to multiply the result of COUNT(s.session_id) by a row in the session table called srate (which is a number, 20)
    Here are my attempts:
    select COUNT(s.session_id) * s.rate, cr.child_id
    from sessions s, child_register cr
    where s.session_id = cr.session_id
    and cr.child_id = 'C110001'
    group by cr.child_id;
    I get an error 'Not a group by expression which makes sense
    Then I tried:
    select COUNT(s.session_id) * s.rate AS total, cr.child_id
    from sessions s, child_register cr
    where s.session_id = cr.session_id
    and cr.child_id = 'C110001'
    group by total;
    Error 'total' not a valid identifier, Wrapping the COUNT(s.session_id) * s.rate in parentheses gives me the same error.
    I'm sure it's something blatantly obvious :(
    Any help very much appreciated as always,
    Mike

    Why don't you head over to the SQL & PL/SQL forum here...
    PL/SQL
    Expect to be asked to provide create table and inserts with sample data though, as well as to wrap your code in {noformat}{noformat} tags to make it more readable and preserve formatting!
    Cheers
    Ben                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Maybe you are looking for

  • Migrating from ICM scripts to CVP-VXML Apps

    Good day all. Currently we are running on: ICM 7.2 CVP 4.1 CUCM 6. Call flow: using ICM-Script Editor Applications: Using apps deployed on CVP-VXML server. they are called in ICM scripts. Well my dilemma is this. We have planned to move all call flow

  • TV settings

    How do I change my settings for my tv once I've programmed my remote? I can get the settings guide to pull up but can't adjust them with uverse remote. Also can't use my tv remote to change the settings now that the uverse remote is programmed.

  • Java.lang.OutOfMemoryError,again and again....

    hi, my application run env is following : *1)java version "1.6.0_14" & je-3.3.82.jar* *2) je run properties:*           envConfig.setAllowCreate(true);           envConfig.setConfigParam("je.env.sharedLatches", "false");           envConfig.setCacheS

  • Sorting search results

    Once you've searched the store and received the results, how do you sort by name, by popularity, by album etc? You used to be able to simply click on the header.

  • Mass Maintenence of cost relv indicator in the bom

    Hi all, I have a huge number more than 10000 of bom components for which i have to correct / change the cost relv indicator from " " (not relevant) to "X" (100 % relevant). I think i can do it by cs20. But how??? Shall i have to enter one by one mate