Shaker control with output from load cell

Hi
I am using a (analog output) shaker to generate sinusoidal forces at different frequency and of different magnitude. I am also using a load cell (analog input) to sense these forces . The max force generated by shaker decreases as I increase the frequency of vibration. Whereas, the experiment requires the force to be constant when the frequency is changing. I plan to use the max force obtained from the load cell data, as the process parameter, to modify the amplitude of input wave which excites the shaker. I seek help in this regard. I am using PCI6221 and SCC68.
Thanks in advance.
RSD 

Sorry, I have been extremely busy the last couple of days (months?). I still haven't had much time to ponder the problem, but one thought comes to mind, at what frequencies are you running this and what is the load cell, and its supporting electronics, frequency response. You mention that the amplitude decreases as the frequency increases, but that you increase the gain of the driver amplifier. It (the system) is most likely non-linear in its response, so how much you increase the gain will vary. The nonlinearity of the response is one of the reasons there is so much published about control systems, PID controllers, etc.
Putnam
Certified LabVIEW Developer
Senior Test Engineer
Currently using LV 6.1-LabVIEW 2012, RT8.5
LabVIEW Champion

Similar Messages

  • Generate PWM signal with 6602 utilizing load cell feedback

    Hi Everyone,
    I am new to LabVIEW so I apologize if this question is elementary but I really need some help with the coding. First of all, I need to generate 8 independent PWM signals to control 8 separate linear acuators using the NI 6602 board. I have each actuator wired to their own COUNTER OUT pins and ground on the SCB-68 that is connected to the 6602. The specs for the actuators state that it will take an input of "RC input range of 1.00 to 2.00msec pulse widths @ 55Hz. Bandwidth=.44to160Hz. Period from 6-23  msec". How can I code for these PWM signals given the specs from the manufacturer?
    In the end I need to be able to not only control these actuators based upon duty cycle, but based upon the load each actuator is applying. Each actuator has a load cell in series measuring the tensile force through the load cell (the actuators will be pulling on strings). Each load cell is wired to a NI 9237 in a NI 9074 block that is connected via USB to the same computer. So first comes first, how can I code for the load cell output to be brought into the LabVIEW environment?
    My last question is pulling this all together. How can I code so that I can input a specified load into LabVIEW and then based upon the value the load cell is reading, the duty cycle of the PWM will be adjusted until the the desired load is achieved?
    Thanks in advance for any help! Also, I know that this is quite a complex questions so if you can even point me in the direction of resources that would be helpful, I would greatly appreciate that too!
    Thanks,
    Ryan

    Hello Ryan,
    Here's a tutorial on generating PWM with LabVIEW:
    http://zone.ni.com/devzone/cda/tut/p/id/2991
    How are the load cells outputting the data? Is it an analog signal? If so, you can read that in using an analog input task, and run that in parallel with the PWM task. Then you can modify the frequency and duty cycle inputs that you're giving you the DAQmx write inside the PWM code based on the analog input. By putting the DAQmx read and the DAQmx write in the same for loop, you can read from one and modify the other at the same time.
    Here's a tutorial that shows a lot of useful information for using DAQmx within LabVIEW:
    http://zone.ni.com/devzone/cda/tut/p/id/2835#toc6
    If you're interested in getting better at LabVIEW in general, NI has some learning materials available here:
    http://www.ni.com/academic/students/learnlabview/
    Let me know if you have any further questions once you've gone through those first two tutorial links.
    Colden

  • Controlling Linear Actuator via Load Cell

    Hello,
    I need to control the position of a linear actuator based on the force feedback from a load cell (rated up to 100 ft/lbs) connected to the tip of the linear actuator.  What I want to be able to do is to set a force and have the linear actuator (driven by a stepper motor) move until it is within 0.1 ft/lb of the force setpoint.  Once within 0.1 ft/lb of the setpoint, I would like to hold and control to the setpoint based on a user configured hold time.
    I have the following hardware:
    PXI-1033 chassis
    PXI-7340 Motion controller card
    UMI-7764 Terminal Block
    P7000 Drive
    Omega Engineering Load Cell model number LC201-100
    Omega CCT-80 Load Cell Signal Conditioner
    Omega FAR-1 Power Supply
    I have the + output of the CCT-80 connected to the Analog Input (AIN1) and the - output connected to the Analog Input Ground (AIGND).  This output signal is -10V to +10V (verified by DMM)
    I have the ADC range set to -10 to +10
    I'm reading the ADC as fast as possible (get about 700 samples/second) and this just isn't fast enough to control to the precision that I need.  Also, it seems like there is a substantial amount of noise on this line.
    Does anyone have any recommendations on improving the speed of the ADC read, or how to reduce the noise on the line?
    If my requirement of holding to 0.1ft/lb is too strict for this hardware (7340 motion card) is there something else that I should try?
    If I'm missing any other info that is needed to help me out, let me know and I'll update this post.
    Thanks!

    Hello AMac,
    I have a setup similar to yours with a load cell attached to a linear stage. I want to use position control of the stage to apply a set load on the load cell (position-based explicit force control). Do you have a example VI I could look at if yours was successful?
    Thanks,
    Kyle

  • Problem Calling MaxDB stored procedure with output from MII Query template

    Hi,
    I am using Max DB Database studio to write stored procedure, I am calling stored procedure from MII Query using CALL statement.
    Can anyone guide me how to pass output values of stored procedure.
    Examlpe::
    call ProcName('[Param.1]','[Param.2]','[Param.3]','[Param.4]','[Param.5]', :isSuccess, :Trace)
    In the above line of code I am not able to get the output values of stored procedure that is isSuccess and Trace values in Query template when executed. But same thing I get when executed in Database studio.
    How do I call with outputs for any stored procedure in MII.
    Any help would be appriciated.
    Thanks,
    Padma

    My call statement is like this
    call RESULTDATA_INSERT('[Param.1]','[Param.2]','[Param.3]', :isSuccess, :Trace)
    I am able to insert record in DB, But I am not getting output values in Query template.I have done this in Fixed Query, when I execute it throws me "Fatal error as Loaded content empty".
    I tried giving select below call but it dont work.
    Regards,
    Rao

  • Parametrized query with output from sql

    Hey all,
    has anyone figure out how to use the database connectivity toolset to perform a parameterized query with outputs (SQL)? From the other threads that i have read it would seem that this issue is not resolved. The error i get is:
    Error -2147467259 occurred at Cmd Execute.vi->getjobID.vi
    Possible reason(s):
    Exception occured in Microsoft OLE DB Provider for ODBC Drivers: [MySQL][ODBC 3.51 Driver][mysqld-5.0.50sp1a-enterprise-gpl-log]OUT or INOUT argument 3 for routine eln.lv_caperJob_create is not a variable or NEW pseudo-variable in BEFORE trigger in Rec Create - Command.vi->Cmd Execute.vi->getjobID.vi
    However, In Toad for mysql the following call works:
    set @outJobID=-999;
    set @outMsg="";
    call  lv_caperJob_create('TestJune30_2', '207', @outJobID, @outMsg);
    select @outJobID, @outMsg
    Attached is the LV code i am using. Thanks!
    Attachments:
    db code.JPG ‏50 KB

    Your first approach gave you an error because it took the ? parameter inside the '%?%' string and treated it as whole string as '%?%'. As you set the parameter, it did not understood where it need to insert the parameter.
    Your second approach is pretty much OK, only problem is you are trying to set the parameter with a string and aging creating the string while setting the parameter.
    The solution will be to create the whole string before setting the parameter and set the created String as parameter on the query something like this.
    String parameter = "%"+searchString+"%";
    Then set the parameter string to the query.
    Thanks

  • Controlling XML Output from a Crystal Report

    Hi guys,
    I need to provide an XML output from one of my reports. The customer has defined his schema and I have tried to implement it using the 'XML Expert" With reference to the two snippets below:
    this is what I want:
    <DEPADDR>ZBTJ</DEPADDR>
        <ACFTYPE>EMB145</ACFTYPE>
    and this is what I get:
    <DEPADDR FieldName="{@DEPADDR}">ZBTJ</DEPADDR>
        <ACFTYPE FieldName="{@ACFTYPE}">EMB145</ACFTYPE>
    Does anyone know how to suppress "FieldName="{@DEPADDR}"" from the output? In the XML Expert Dialog both the name, which prints, and the type, which doesn't, are greyed out so you can't do anything with them. There is a "Suppress XML  Tag" tick box but that seems to have no effect on what is included in the export.
    Thanks in advance
    Richard

    Duplicate of
    Crystal reports with a DB procedure
    Closing and locking this thread
    Ludek

  • 9237 with full-bridge load cell: load cell_null_off_shuntcal.vi throws error 200077

    Hi,
    I'm trying to use the example
    load_cell_null_off_shuntcal.vi  with a full-bridge load cell (Honeywell
    Model 31, unamplified). I am using LabView 8.6,  cDAQ-9172 and NI9237. The
    load cell is connected to pins 2,3,6 and 7.
    The inputs for the VI front panel
    are: internal excitation10V; mV/V 2.1492 (calibration sheet); max weight 10
    lbs; bridge resistance 350 ohms (Honeywell specs); 9237 internal shunt
    resistance 100 kohms; shunt location R4 (default setting). I have selected
    "Do offset null" and "Do shunt cal".
    This is the error I receive:
    Error -200077 occurred at DAQmx
    Perform Shunt Calibration (Bridge).vi:1 Possible reason(s):
    Measurements: Requested value is not
    a supported value for this property.
     Property:
    AI.Bridge.ShuntCal.GainAdjust
    You Have Requested: -61.980405e3
    Valid Values Begin with: 500.0e-3
    Valid Values End with: 1.500000
    If the "Do shunt cal"
    green button is not selected, there is no error. I understand that the Gain
    adjust value should be approx 1, whereas the one I get is much larger. The  subVI  DAQmx PerformShuntCalibration
    (bridge).vi contains a "Call library function node" which I don't
    know how to interrogate.  
    Has anyone else had experience
    with this error? Do you have any advice on:
    1)    
    How to "see" the calculations being
    perfomed inside the "call library function node"?
    2)    
    What the correct shunt element
    location for a full bridge load cell is? (although changing this location does
    not eliminate the error, I can't find this info).
    3)    
    Anything I may be doing wrong with
    my inputs to cause this error?
    Thanks,
    Claire.
    Solved!
    Go to Solution.

    Hi Claire,
    You have to physically connect the SC terminals to one arm of the bridge (normally R3). The terminal is not provided for connecting external resistors.
    See example 
    C:\Program Files\National Instruments\LabVIEW 8.6\examples\DAQmx\Analog In\Measure Strain.llb\Cont Acq Strain Samples (with Calibration) - NI 9237.vi
    "A VI inside a Class is worth hundreds in the bush"
    യവന്‍ പുലിയാണു കേട്ടാ!!!

  • Controlling main timeline from loaded movie

    I have loaded an external movie onto the main movie in a
    movie clip called "mainholder" - In the main timeline on the main
    movie there is a "stop" command on frame 1. From the loaded movie,
    I want to control the main timeline and tell it to go to frame 2.
    Can someone tell me the actionscripting to do this, I have tried
    several commands and getting frustrated. ;-)
    Thanks

    movies are loaded into levels. The main movie is always
    considered level0 a.k.a _root in the AS. When you load a movie into
    another, the main movie is also considered the parent of that
    loaded movie a.k.a. this._parent in AS where this refers to the
    loaded movie. If you want something in the loaded movie to control
    the main timeline you could call it like this...
    _root.gotoAndStop(2); or _root.gotoAndPlay(2); depending on
    what you want.
    but because of the parent/child relationship, it can also be
    done like this....
    this._parent.gotoAndStop(2); or this._parent.gotoAndPlay(2)
    Although the first method is less to remember, the second
    method proves the most friendly and re-usable. Let me explain...
    Say that you did something like this....
    [MAIN MOVIE]
    [LOADED MOVIE]
    {Loaded Movie with buttons to control LOADED MOVIE}
    Your main movie loads a movie and when this loaded movie
    reaches it's 10th frame, it loads another movie where the buttons
    reside for controlling that clip. If you used _root in the button
    movie, it would cause the main movie (_root) to be called and not
    the LOADED MOVIE as you had intended during its design prior to
    trying to make this new main movie (and it would work as intended
    if you opened the LOADED MOVIE's fla file and exported). If you use
    this._parent in the button movie, it will always make it's calls to
    the LOADED MOVIE's timeline and not the main clips timeline.
    Sorry if this confuses you but it's important to
    understand.

  • Control main timeline from loaded swf.

    Hi,
    I'm using a textfield for debug information.
    I'm loading an swf on the main timeline and I'm showing the status in the debug textfield.
    function swfLoaderCompleteHandler(event:Event)
         Debug.text +=  "Swf loaded.";
    That works.
    But,
    I'm loading a png file in the loaded swf. , I'm trying to show the status of the png file as I showed the status of the swf.
    function pngLoaderCompleteHandler(event:Event)
         MovieClip(parent).Debug.text += "Png loaded.";
    I can't control the main swf from inside the loaded swf. Even gotoAndStop or calling a function doesn't work.
    Do I need to add something when I load the swf, saying it's a MovieClip or something?
    Here's a fla too. http://flashfocus.nl/forum/attachment.php?attachmentid=9885&d=1282509233

    Thank you! you're brilliant!
    For people with the same problem:
    If you use CS5 and you have a TLF text on the stage, it doesnt work... I think it's a bug. But when I converted my TLF textfield to classic and everything works fine!

  • My line in does not work with output from my ipod

    I hooked my ipod up to the line in and changed the sound pref's to line in.   No sound comes from the speakers, YET, I see the volume graph on the sound prefs at high levels.   I then checked garage band.  even though I can record the sound from my ipod using the line in, it does not play as it's recording in garage band, HOWEVER, when I play the track back it DOES play.   I have the volume up on my IPOD classic, and it plays thru any other output source.
    Then I plugged my radio's output port (amplified) into the port, and it still does not output thru either the line out port OR the built in speakers.  NOTHING I plug into the line in port will make sound out of the computer (either speaker setting), YET, the volume adjustment definately shows that there is sound coming into the computer.  And as I've stated above, when I record the "silent" input from the line in, I can then play it back and HEAR the songs.
    This is very strange and I need it fixed...
    YES: I've changed the sound pref settings to LINE IN
    YES: I've played with the settings of garage band's audio
    YES: I've rebooted
    nothing makes it work.
    Sure looking for a solution.

    Please do not give this any thought.   I was such a dummy.. duh, you have to have something running to PLAY the input!!!  I thought the Monitor was on in garage band, and found it was not.....
    have a nice day
    Sure wish you could remove posts you've made after you do the "DUH" thing.
    dale

  • Problem with output from  report to excel, calling the report from form 10g

    Hi everyone, I'm having a problem generating a excel from a report, which is called from a form, I'm using Forms 10g. The problem is this: My report has a variable number of columns. These columns appear according to data obtained from the database, these columns are dates, In vesion 6 excel file generated shows the columns one after another starting in column A1 to column CP. I mean that the dates are correlative. But in version 10g the excel file generated shows the same report starting in column A to column T, only shows the 20 dates correlative corresponding to this columns, the rest of the dates are down the excel sheet in groups of 20 dates, it's something, the file in 6i grows across and in 10g grows down the excel sheet. The report (rdf file) is the same in 6i and 10g, I compiled the 6i version to obtain the 10g version. The excel sheet generated in 10g looks like the report was in pdf format, because PDF format, cuts the report in pages and the file grows down, if I generate the report in PDF format it has the same structure excel file in 10g has. I hope yo can help because I have days trying to solve this but I have no succes. If someone could help I could email the excel files generated in two versions. Here I put the code I use to generate the files in 6i and 10g. I have tried with DESFORMAT=SPREADSHEET in 10g but the result is the same. Thanks for your help. Greetings for all.
    Code for version 6i (Works Very well)
    PROCEDURE GUARDAREXCEL IS
    pl_id ParamList;
    nom_rep varchar2(20);
    cla_rep varchar2(20);
    cod_dis varchar2(4);
    nom_arch varchar2(100);
    fec date;
    BEGIN
    pl_id := Get_Parameter_List('tmpdata');
    IF NOT Id_Null(pl_id) THEN
    Destroy_Parameter_List( pl_id );
    END IF;
    pl_id := Create_Parameter_List('tmpdata');
    IF :BK_PARAMETROS.LI_COD_DIS IS NOT NULL THEN
    cod_dis := :BK_PARAMETROS.LI_COD_DIS;
    END IF;
    IF :BK_PARAMETROS.TI_COD_CLI IS NOT NULL THEN
    Add_Parameter(pl_id,'P_COD_CLI',TEXT_PARAMETER,:BK_PARAMETROS.TI_COD_CLI||'%');
    ELSE
    Add_Parameter(pl_id,'P_COD_CLI',TEXT_PARAMETER,'%');
    :BK_PARAMETROS.TI_COD_CLI:='%';
    END IF;
    IF :BK_PARAMETROS.CLAS_REP=1 THEN
    cla_rep := '001';
    ELSE
         IF :BK_PARAMETROS.CLAS_REP=2 THEN
              cla_rep := '002';
         ELSE
              IF :BK_PARAMETROS.CLAS_REP=3 THEN
              cla_rep := '003';
         ELSE
              cla_rep := '004';
         END IF;
         END IF;
    END IF;
    Add_Parameter(pl_id,'P_COD_DIS',TEXT_PARAMETER, cod_dis);
    Add_Parameter(pl_id,'P_FECHA',TEXT_PARAMETER,to_char(:BK_PARAMETROS.FECFIN, 'DD/MM/YYYY'));
    Add_Parameter(pl_id,'P_CLASE',TEXT_PARAMETER, cla_rep);
    Add_Parameter(pl_id,'PARAMFORM',TEXT_PARAMETER,'NO');
    Add_Parameter(pl_id,'DESTYPE',TEXT_PARAMETER,'File');
    Add_Parameter(pl_id,'MODE',TEXT_PARAMETER,'Character');
    Add_Parameter(pl_id,'DESFORMAT',TEXT_PARAMETER,'DELIMITED' );
    select sysdate into fec from dual;
    IF :BK_PARAMETROS.TIPO_REP=1 THEN
         BEGIN
    nom_rep := 'tdvenrli1577.rep';
    nom_arch := 'c:\windows\temp\RepCobranzaPlanos' || TO_CHAR(fec, 'ddmmyyyy') || '.xls';
    END;
    ELSIF :BK_PARAMETROS.TIPO_REP=2 THEN
              BEGIN
              nom_rep := 'tdvenrli1578.rep';
              nom_arch := 'c:\windows\temp\RepCobranzaLargos' || TO_CHAR(fec, 'ddmmyyyy') || '.xls';
              END;
    ELSIF :BK_PARAMETROS.TIPO_REP=3 THEN
         BEGIN
                        Add_Parameter(pl_id,'P_XLS',TEXT_PARAMETER, '1');           
              nom_rep := 'tdvenrli1576.rep';
              nom_arch := 'c:\windows\temp\RepCobranzaDetallados' || TO_CHAR(fec, 'ddmmyyyy') || '.xls';      
              END;
    ELSE
              BEGIN
                        nom_rep := 'TDVENRLI1545.REP';
              nom_arch := 'c:\windows\temp\RepCobranzaTodos' || TO_CHAR(fec, 'ddmmyyyy') || '.xls';
              END;
    END IF;
    --Add_Parameter(pl_id,'DESNAME',TEXT_PARAMETER,nom_arch );
    Add_Parameter(pl_id,'DESNAME',TEXT_PARAMETER, nom_arch);
    standard.commit;
    Run_Product(REPORTS, nom_rep, SYNCHRONOUS, runtime, FILESYSTEM, pl_id,'');
    EXCEPTION WHEN Run_Product_Failure THEN
    message('Error');
    END;
    Code for version 10g
    PROCEDURE GUARDAREXCEL IS
    pl_id ParamList;
    nom_rep varchar2(20);
    cla_rep varchar2(20);
    cod_dis varchar2(4);
    nom_arch varchar2(100);
    fec date;
    --byt12122007.sn
    repid REPORT_OBJECT;
         vURL VARCHAR2(500);
         rep_status VARCHAR2(20);
         vJobID VARCHAR2(100);
         v_rep VARCHAR2(100);
    VAR NUMBER;
    w_name_repserv VARCHAR2(30);
    --byt1212007.en
    BEGIN
         --w_name_repserv:=F_OBTIENE_SERVREP;
    w_name_repserv:='repserv';     
    pl_id := Get_Parameter_List('mytmp_params');
    IF NOT Id_Null(pl_id) THEN
    Destroy_Parameter_List( pl_id );
    END IF;
    pl_id := Create_Parameter_List('mytmp_params');
    IF :BK_PARAMETROS.LI_COD_DIS IS NOT NULL THEN
         cod_dis := :BK_PARAMETROS.LI_COD_DIS;
    END IF;
    IF :BK_PARAMETROS.TI_COD_CLI IS NOT NULL THEN
    Add_Parameter(pl_id,'P_COD_CLI',TEXT_PARAMETER,:BK_PARAMETROS.TI_COD_CLI||'%');
    ELSE
    Add_Parameter(pl_id,'P_COD_CLI',TEXT_PARAMETER,'%');
    :BK_PARAMETROS.TI_COD_CLI:='%';
    END IF;
    IF :BK_PARAMETROS.CLAS_REP=1 THEN
    cla_rep := '001';
    ELSE
         IF :BK_PARAMETROS.CLAS_REP=2 THEN
              cla_rep := '002';
         ELSE
              IF :BK_PARAMETROS.CLAS_REP=3 THEN
              cla_rep := '003';
         ELSE
              cla_rep := '004';
         END IF;
         END IF;
    END IF;
    Add_Parameter(pl_id,'P_COD_DIS',TEXT_PARAMETER, cod_dis);
    Add_Parameter(pl_id,'P_FECHA',TEXT_PARAMETER,to_char(:BK_PARAMETROS.FECFIN, 'DD/MM/YYYY'));
    Add_Parameter(pl_id,'P_CLASE',TEXT_PARAMETER, cla_rep);
    Add_Parameter(pl_id,'PARAMFORM',TEXT_PARAMETER,'NO');
    /*Add_Parameter(pl_id,'DESTYPE',TEXT_PARAMETER,'File');
    Add_Parameter(pl_id,'MODE',TEXT_PARAMETER,'Character');
    Add_Parameter(pl_id,'DESFORMAT',TEXT_PARAMETER,'DELIMITED' );*/
    select sysdate into fec from dual;
    IF :BK_PARAMETROS.TIPO_REP=1 THEN
    BEGIN
         repid := find_report_object('tdvenrli1577');
    --nom_rep := 'tdvenrli1577.rep';
    nom_arch := 'c:\windows\temp\RepCobranzaPlanos' || TO_CHAR(fec, 'ddmmyyyy') || '.xls';
    SET_REPORT_OBJECT_PROPERTY(repid, REPORT_FILENAME,'tdvenrli1577');
    END;
    ELSIF :BK_PARAMETROS.TIPO_REP=2 THEN
    BEGIN
         repid := find_report_object('tdvenrli1578');      
              --nom_rep := 'tdvenrli1578.rep';
              nom_arch := 'c:\windows\temp\RepCobranzaLargos' || TO_CHAR(fec, 'ddmmyyyy') || '.xls';
              SET_REPORT_OBJECT_PROPERTY(repid, REPORT_FILENAME,'tdvenrli1578');
              END;
    ELSIF :BK_PARAMETROS.TIPO_REP=3 THEN
    BEGIN
         repid := find_report_object('tdvenrli1576');
                        Add_Parameter(pl_id,'P_XLS',TEXT_PARAMETER, '1');           
              --nom_rep := 'tdvenrli1576.rep';
              nom_arch := 'c:\windows\temp\RepCobranzaDetallados' || TO_CHAR(fec, 'ddmmyyyy') || '.xls';
              SET_REPORT_OBJECT_PROPERTY(repid, REPORT_FILENAME,'tdvenrli1576');     
              END;
    ELSE
    BEGIN
         repid := find_report_object('tdvenrli1545');
                        --nom_rep := 'TDVENRLI1545.REP';
              nom_arch := 'c:\windows\temp\RepCobranzaTodos' || TO_CHAR(fec, 'ddmmyyyy') || '.xls';
              SET_REPORT_OBJECT_PROPERTY(repid, REPORT_FILENAME,'tdvenrli1545');     
              END;
    END IF;
    --Add_Parameter(pl_id,'DESNAME',TEXT_PARAMETER,nom_arch );
    --Add_Parameter(pl_id,'DESNAME',TEXT_PARAMETER, nom_arch);
    standard.commit;
    SET_REPORT_OBJECT_PROPERTY(repid, REPORT_DESNAME,nom_arch);
    SET_REPORT_OBJECT_PROPERTY(repid, REPORT_COMM_MODE, SYNCHRONOUS);
         SET_REPORT_OBJECT_PROPERTY(repid, REPORT_EXECUTION_MODE, RUNTIME);
         SET_REPORT_OBJECT_PROPERTY(repid, REPORT_DESTYPE, 'File');
         SET_REPORT_OBJECT_PROPERTY(repid, REPORT_DESFORMAT, 'DELIMITED');
         SET_REPORT_OBJECT_PROPERTY(repid, REPORT_SERVER, w_name_repserv);
         SET_REPORT_OBJECT_PROPERTY(repid, REPORT_OTHER, 'paramform=no');
         v_rep := RUN_REPORT_OBJECT(repid, pl_id);
         rep_status := REPORT_OBJECT_STATUS(v_rep);
         WHILE rep_status IN ('RUNNING','OPENING_REPORT','ENQUEUED')     LOOP
              rep_status:= report_object_status(v_rep);
         END LOOP;
         IF rep_status = 'FINISHED' THEN
              vJobID := SUBSTR(v_rep, INSTR(v_rep, '_', -1)+1);
              vURL:='/reports/rwservlet/getjobid'||vJobID||'?'||'server='||w_name_repserv;
         END IF;
         WEB.SHOW_DOCUMENT(vURL, '_blank');
         IF NOT form_success THEN
              MESSAGE('Error: PL/SQL held against Button failed to execute');
              RAISE FORM_TRIGGER_FAILURE;
         END IF;
    /*Run_Product(REPORTS, nom_rep, SYNCHRONOUS, runtime, FILESYSTEM, pl_id,'');
    EXCEPTION WHEN Run_Product_Failure THEN
    message('Error');*/
    END;

    There are two problems with your VI.  First, the basic logic of writing/appending to a file (Excel, TDMS, anything) should go something like this:  Open the file, position yourself at the end of the file, then, in the loop, acquire data and write it to the file until you are finished with data acquisition.  When you exit the acquire/write to file loop, then close the file.  In particular, the opening and the closing of the file should not be inside the loop.
    As others have pointed out, writing to Excel might not be optimal, particularly if you are acquiring data at a high rate (and would therefore be writing a lot of data). We actually use Excel in our data acquisition routine, mainly reading from a WorkSheet to get the parameters of a particular stimulus, but also writing the outcome of the response to the stimulus.  As it happens, our "acquisition rate" in this example is on the order of several samples per minute, so there's no problem using Excel (we also sample 16 channels of analog data at 1 KHz -- this gets written as a binary file).
    Second, if you really do want to use Excel, use the (existing) Excel file to which you want to append as the "template" argument of the New Report function.  Then use the Excel Get Last Row function to position yourself at "end of file", as noted above.
    Good Luck.
    Bob Schor

  • CFContent fails with output from CFPDF???

    I had a situation where I had to create a PDF containing a
    dynamic cover sheet and supporting documents, which are in pdf
    format. I used CFDocument to create the cover sheet, stored it in a
    variable, then used cfpdf with cfpdfparam to specify that cover
    sheet variable, then looped over the files. CFDump says that worked
    correctly.
    I then tried using cfcontent to display the resulting file. I
    would have expected that to work. Intead it throws this:
    Attribute validation error for tag cfcontent.
    coldfusion.pdf.PDFDocWrapper is not a supported variable
    type. The variable is expected to contain binary data.
    The error occurred in
    E:\WebRoot\www.missionincrease.com\wwwroot\active\Admin\MinistryGrants\fundingRequest.cfm :
    line 99
    97 :
    98 : <cfheader name="Content-Disposition" value='inline;
    filename=#URLEncodedFormat("FundingRequest.pdf")#'>
    99 : <cfcontent reset="yes" variable="#pdfOut#"
    type="application/pdf">
    100 : </cfif>
    Is this a bug or am I doing something wrong?

    I am experiencing this same issue in our ECC 6.0 system.  We currently have ST-A/PI release 01M_ECC600 level 0001 applied to our system.  These jobs finish successfully in SM37, but I'm seeing the same error messages in our system logs (SM21).
    When I try to update the output device that is associated with these jobs, the user ID running the jobs is not valid since it's user type is Communication Data.
    Does anyone know if it ok to change the user for this job? Should it be run by DDIC?  I believe the jobs were created automatically when we applied ST-A/PI release 01M_ECC600 level 0001.

  • ICloud out of control with contacts from wifes iphone... help

    I am going to explain this situation as simple as I can... I searched a bit before I am posting this and found nothing of help...
    Me- Bought a MacBook Pro for myself last year, and the wife took it over before I could use it.
    Her- Has Itunes account, but before I understood Itunes, has synced on my Dell (I know I know) and maybe even that Macbook
    Me- Ordered her own Macbook Pro (be here August 6), and am taking back my Macbook! Yeay!
    So two night ago since I am parking the Dell, I am fully converting this month. Anyway, this morning she called me and the caller id was not her name, but "my cell number".... strange. Well, my Mac bro had me log into my Icloud online and sure enough, my wifes iphone is there. I have her contacts mixed in with mine.
    Her- When she got home today, I looked onto her Iphone, and in her Icloud it did in fact have HER itunes login.
    How do
    A- I get her contacts out of my phone?
    B- Get her Phone off my icloud? Her Icloud shows her as logged in with her ID.
    If this helps, her Iphone is my old 4 when I got the 4s.

    I sure hope you get an answer because this has happened to me as well...only worse. 
    My contacts were merged with my 13 year old daughters and she proceeded to delete all of my contacts.  I added what contacts I could remember and deleted hers off of my phone which now are deleted off of her phone as well (funny right).
    I only use one apple ID and use this to log into icloud.
    I only logged the kids' phones onto icloud so I could install "find my iphone"...now I wish they would just get lost.
    Is there any way to retreive the lost contacts?
    What do I need to do so we don't keep adding and deleting each other's contacts?
    Any help would be appreciated.

  • Ever since the last upgrade, when I tap a cell to highlight it or add text a box pops up with text from other cells. How do I disable this feature?

    How can I disable a pop up box that appears whenever I tap a cell in numbers for ios? This annoying feature accompanied the last upgrade. When I tap a cell to highlight it, a box pops up with all the words typed in the adjacent cells so I can populate the cell with one of them, but I neither need nor want the suggestions.

    Hi debdor,
    I don't know where to find the setting in Numbers for iOS, but in Numbers for Mac OS X it is under Menu > Numbers > Preferences > General > Editing.
    Show suggestions when editing table cells.
    As you can see, I don't use it.
    Regards,
    Ian.

  • NI 9219 with load cell

    Hello,
    I am using the NI 9219 with a Futek Load Cell whose specifications are as follows:
    Name
    Min
    Typ
    Max
    Unit
     Channel: 1
     Compensated Temperature
     60
     160
    F
     Excitation
     1
     20
    Vdc
     Hysteresis
     -.25
     .25
    % of R.O.
     Input Resistance
     744
    Ohms nom.
     Insulation Resistance
     500
    Mohms @ 50 Vdc
     Nonlinearity
     -.25
     .25
    % of R.O.
     Nonrepeatability
     -.05
     .05
    % of R.O.
     Operating Temperature
     -60
     200
    F
     Output Resistance
     700
    Ohms nom.
     Safe Overload
     150
    % of R.O.
     Temperature Shift Span
     -.01
     .01
    % of Load/F
     Temperature Shift Zero
     -.01
     .01
    % of R.O./F
     Zero Balance
     -1
     1
    % of R.O.
     Capacity
     500
    lbs
     Rated Output
     2
    mV/V nom.
     Calibration Excitation
     10
    Vdc
    I am getting a signal from my load cell which is great, but I was wondering how you can adjust the signal output to have minimal interference from noise, vibrations, etc. and how to program the load cell that it can be calibrated to zero (0) before any data is aquired?
    Any help is greatly appreciated! 
    Thanks,
    Yatsco

    Hello Yatsco,
    Thank you for using NI forums.  One thing you will probably want to look into is using the filtering VI's in LabVIEW.  A low-pass filter can help to eliminate any high frequency noise from your measurement.  Also, take a look at the Field Wiring and Noise Considerations article for some more information on eliminating noise.  Lastly, this community example shows how you could calculate the DC offset and compensate for it before measuring your signal.  Please let me know if you have any additional questions concerning this application.
    Regards,

Maybe you are looking for

  • HT1491 how do i buy an app for a friend?

    how do i buy an app for a friend?

  • Oracle bpm clustering

    Friends I'm completely new to oracle bpm and would like to know how I can setup a bpm cluster.I'm planning to use bpm 10.3.1 for weblogic and weblogic 10.3.0.The deployment topology is planned as follows: 1.weblogic admin server on 1st machine 2.2 ma

  • Elements 9 ACR 6.5 is a cut down program

    I've used ACR with CS4 before to process my RAW files but recently bought Lightroom 3.5 and Elements 9. I've upgraded both programs to ACR 6.5 to support my camera and noticed for the first time that the Elements plugin is a cut down version of ACR 6

  • Aluminum 23" vs. translucent 23" Cinema Display

    Is there any difference, other than cosmetics between the current cinema displays with the metal casing and the previous versions with the translucent case? I was thinking of upgrading to a 23" monitor and just think the previous version is better lo

  • Monitor specific PI messages from SAP portal

    Business users want to be made aware of problems in our F4F interface how would I display specific PI messages to the business. They don't want a complex solution. I don't think they would be able to page through SXMB_MON transaction.