Read Data (ASCII) and send to analog output

Hello
I have the following MAX configuration:
Analog input task, continous, 2 samples, rate 100Hz (PCI-6024E)
Analog output task, continous, 64 samples, rate 100Hz (PCI-6723)
The cards are synchronized by the RTSI bus.
With Dasylab I display signals from load cells by the input task. A "Read Data" module sends values to the output task. The "Read Data" module has the following settings: Output in realtime, synchronisation with analog input task, file is an ASCII, block size 4 values, no ascii time channel.
Additional settings for DAQmx are done by DasyLab:
Analog input: Driver buffer 30
Analog output: Driver buffer 30, output start after 2
When I start DasyLab I get a DAQmx failure (after a couple hours): DAQmxReadAnalogF64, Attempted to read samples that are no longer available. The requested sample was previously available, but has since been overwritten.
Could anyone please explain, how to configure analog input/output task and the DasyLab settings (Read Data)? - Attached the DasyLab diagram.
Additional information: The application should read and display signals from a test bench (load cells). The output shall feed external controllers. The input and output signals shall be displayed on the same chart (as realtime as possible).
Thank you
Regards Samuel
Attachments:
DasyLabDiagram.png ‏67 KB

Thanks for the prompt reply! - I have changed the settings to the following:
Analog input task, continous, 16 samples, rate 100Hz, driver buffer 32
Analog output task, continous, 16 samples, rate 100Hz, driver buffer 32, output start after 32
In the "Data read" module the block size is now 16 at 100Hz
With this setting, DasyLab runs, but only for around 12 hours.
The following error occurs:
"Read date module name" / The data flow is blocked by one of the following modules.
Followed by:
Attempted to read samples that are no longer available. The requested sample was previously available, but has since been overwritten.
Is there something else I have to care? Could it be problematic to send signals from different modules to the same Chart Recorder module? I use DasyLab version 11.
Samuel

Similar Messages

  • Read data ascii

    salut 
    au cours de mon stage je suis demandé de faire une interface d'une balance CAS  mwp 3000h  , j'air ealisé  une application labview a  l'aide de l-interface visa et j'ai arrivé d'assurer d'acquisition des données mais le problème que  la sortie en hexadécimal n'ai pas conforme la sortie fournie par le manual guide de la balance meme lorsque j'ai l'envoyé a un fichier txt jai trouvé des  symboles . et merci
    Attachments:
    labview2014.vi ‏23 KB
    Capture.PNG ‏94 KB
    CAS_HA.pdf ‏288 KB

    Thanks for the prompt reply! - I have changed the settings to the following:
    Analog input task, continous, 16 samples, rate 100Hz, driver buffer 32
    Analog output task, continous, 16 samples, rate 100Hz, driver buffer 32, output start after 32
    In the "Data read" module the block size is now 16 at 100Hz
    With this setting, DasyLab runs, but only for around 12 hours.
    The following error occurs:
    "Read date module name" / The data flow is blocked by one of the following modules.
    Followed by:
    Attempted to read samples that are no longer available. The requested sample was previously available, but has since been overwritten.
    Is there something else I have to care? Could it be problematic to send signals from different modules to the same Chart Recorder module? I use DasyLab version 11.
    Samuel

  • How to send an analog output signal on same axis running a stepping motor umi 7764/ PCI7334

    I am running a single axis stepping motor (which is working fine) but
    for the application I need to be able to turn on and off a 5 volt
    laser.  It notes in the manual for the UMI 7764  that the the
    analog output can be used as a general-purpose voltage output.  I
    would like to use it as such, but can't figure out what VI's actually
    send messages to the board to output a 5 Volt signal.  
    Ideally I would use the analog output on the same axis that the
    stepping motor is on, but if need be I could use one of the other axis
    if this isn't possible (ie. it may not be possible to step and send
    analog voltage output on same axis at same time).  I have been
    looking at the configuring DAQ and ADC stuff, but can't seem to make
    sense if these actually control the analog output channel.  I
    think they just control the Analog input channels, but maybe I am
    wrong. 
    Any help would be greatly appreciated
    Andre

    Hi,
    It is possible to send analog output out of the same same DAC channel in which your stepper is connected, if you configure the stepper as open loop in MAX. I've tried it. This way you have the stepper output, analog output and encoder input acting independently. So you can use these seperately for different purposes, such as using the analog output for constant speed motors where speed or position control is not of much importance, encoder for positioning some other axes and stepper output for stepper control. With good programming skills, the NI motion controllers can thus be used for the most complex configurations. Great work NI !!! Nothing is impossible.
    Regards,
    Giridhar Rajan
    Automation Engineer, Design
    Cruiser Controls
    Mumbai, India

  • How to read a table and send a report using BPEL process?

    Hi Experts,
    I have a requirement to read list of records in few columns entered previous day from a particular table, prepare a xl report and send the xl file via email to users. Please advise.
    Thanks,
    Harisudhan Selvaraj

    Hi,
    Check this code.
    Here i creates context one node i.e  flights and attributes are from SFLIGHT table.
    DATA: lo_nd_flights TYPE REF TO if_wd_context_node,
            lo_el_flights TYPE REF TO if_wd_context_element,
            ls_flights TYPE if_main=>element_flights,
            it_flights type if_main=>elements_flights.
    navigate from <CONTEXT> to <FLIGHTS> via lead selection
      lo_nd_flights = wd_context->get_child_node( 'FLIGHTS' ).
    CALL METHOD LO_ND_FLIGHTS->GET_STATIC_ATTRIBUTES_TABLE
      IMPORTING
        TABLE  = it_flights.
    now the table data will be in internal table it_flights.

  • Having difficulty reading data file and doing analysis, maybe DIAdem can help

    Hello,
    I am new to DIAdem but I think it may be helpful to my application.
    I used Write Labview Measurement File VI with n-signals input to generate a data file containing 2*n columns(time column and data column iteratively). Now I need to do data analysis from the file. I'd tried to use Read Labview Measurement File VI to load the data but didn't work. I found that it can only read file with one signal as input and without file header. But why?
    What I want to do is to extract specific columns from the file. Some column has special flag values which divide the column into sections. I also need to extract these sections from the column and plot each of them. I know this can be easily done on other data analysis software but is there any way I can do it on Labview? Can DIAdem help with this?
    Thank you

    Hello,
    To answer your last question first, DIAdem can certainly help. You can open the TDM file you created with the Write LabVIEW Measurement File VI with DIAdem. If you navigate to the TDM file in the External Data window of DIAdem NAVIGATOR, you can drag and drop the file into the Data Portal and use the channels of data at will.
    You can also right-click on the file in the External Data window and choose Selective Opening…. There is a Help button in the Selective Opening window which will tell you more about using this feature.
    Either way, once your data is in the Data Portal, you can use the DIAdem ANALYSIS to perform a wide range of analysis on your data. For more on the capabilities of DIAdem, I recommend starting at NI DIAdem.
    Now, in regards to using the LabVIEW to access the data in your TDM file, this is also possible. If you are using LabVIEW 7.1, you will want to look at the Read Channel Groups example. This example uses a sequence of VIs from the Functions>>All Functions>>FileI/O>>Storage palette. The example demonstrates reading multiple channels from a TDM file.
    Regards,
    Eric M

  • File Adapter to read Zip file and send it as input to another webservice

    Hi,
    I have the below requirement:
    1. A service will generate 3 attachments and place it in a particular directory.
    2. SOA service has to pick those 3 files and send those files as input to another custom application which will email.
    Design :
    1. First SOA will create an archive file of those 3 attachements and then file adapter will poll for that zip file in that location and send that file as a whole to the custom application.
    Query:
    Now my question, is the above design feasible? If so, how to configure the file adapter to pass the file as input to that custom application?
    Kindly do the needful
    Thanks,
    Priya

    You can accomplish this via java embedding activity...Create a java embedding, which will create a zip file.. this java code is easy to implement..
    You can also do away with un-necessary polling file adapter.. and you can use "Synchronous File Read" operation of File Adapter.. For Sync Read, you'll have to pass the zip file name, which you can easily fetch from java embedding activity..
    Let me know, if this doesn't work.

  • Table EABL Question SORT with  reading date ADATTATS and  ADAT

    Hi all,
    I have selction criteria to qery EABL.
    After select ,i have to sort to get  latest 10 records from EABL .
    I  was told if the value of ADATTATS  is null ,i should display ADAT .
    But to select latest 10 records i have need to sort based upon date field..IF date field is null i will not get sort in proper descending order......
    Any suggestions and help ?
    display :for a partcular contract account
    Current meter reading date 1
    previous meter reading date 2
    previous meter reading date 3
    Is there any other field in this table EABL  which could be used for SORT here  for this display.
    Thanks in advance...
    Edited by: Sona on Feb 26, 2008 7:29 PM

    Yes,
    My case is :
    ADATTATS      
    record1 : date1         
    date2        
    null          
    null           
    record5 : date5   
    ADAT 
    record1 :  0
    0
    date3
    date4
    record5 :     0 
    Result is :
    date1
    date2
    date3
    date4
    date5
    I was told only if date is null in ADATTATS  i should go for ADAT.(that means only then value will be in ADAT)The majority of the time there will be a date in ADATTATS.  If an estimate or manual MR is entered, the date will come from ADAT.
    My test table has all null values in ADATTATS ,i hv values only in ADAT in test table.
    Another question :
    Can we change the data in test tables ?
    Testing process to check the billing run ?what r the steps involved ?

  • Schedule webi report using  BW data source and send through email..

    Hi  all,
    I want to schedule webi report and send it through email.
    I am able to send through email.
    here im  got stopped how to schedule the report from bw data source . i have to schedule in webi infoview how to give date format in universe the report sholud run for (sysdate-2) daily
    eg. today is 02-DEC-2011 if i schedule the report it should run for 30-NOV-2011.  iam trying in both BW qyuery and CUBE im not getting how to give date format in
    let me knw is there any solutions..
    im using XIR3 3.1 sp3
    bw 7.1
    Integration kit sp3
    Regards,
    Ravi Sarma.

    it is resolvede by keeping sysdate-2 variable at bw query side i have solved my issue.
    Regards
    ravi

  • Is it a way to read Multiple Attachment and send all     - Mail Sender?

    Hi Friends ,
                          Can you please tell me how to send multiple Attachment in Mail Sender Adapter  ?
                     <b>      I am able to bring Multiple Attachement in Payload .But, Only one attachemen't data is passed to IS.</b>
                        First form the attachement i read as row bye row. Rowe like  <b>123 56 98 56 9</b>6 like that  , then in Integration Process i am using<b> XSLT Mapping</b> to get   my required format .
                         It is getting the data from the First Attachement   only. <b>But i am having Three attachement in payload  as MailAttachement-1  , MailAttachement-2 , MailAttachement-3 like that .</b>
                     <b>Can you please tell me how to pass to IS as one by one attachement  ?</b>
    Regards .,
    V.Rangarajan

    You want to separate each attachment in one single message?
    If yeah, change your xslt mapping to a multimapping, which generate the several messages.
    If not, in the receiver mail adapter, select "keep atachments" checkbox.
    Regards,
    Henrique.

  • Problem with the Date format and sending it to R/3

    Hi all,
    I have an Adaptive RFC application which fetches the data from the R/3 and displays the Employee's Personal Data.
    I am using a ZFM which is customised as per the requirement from the Standard BAPI_EMPLOYEE_GETDATA.
    Now the Problem i am facing is Date is default and Optional Parameter in RFC.
    If i execute the RFC in R/3 without Date it is not filling the Internal Tables. And if i pass the Date it is filling the Internal Table and fetches the Records.
    So in WD application i am inputing Employee FirstName, LastName or the Employee ID.
    User can give any of the above input or combination of FirstName and LastName Or only the Employee ID.
    Now the Main Problem is of Date which is of type Date.
    I have also tried the SimpleDateFormat Class, but i am not able to achieve the result.
    I have also seen the Links and threads on SDN, but unable to solve the problem.
    So pls help me out asap.
    Thanks & Regards,
    Dhruv Shah

    Hi ,
    By default , RFC accept date format of SQL date (yyyy-mm-dd) . If you are using a date picker from WD, it directly set the date in SQL date format. Incase if you are trying to pass date to RFC in some other way you have to convert that into SQL date format before passing.
    if you are passing String date of format dd-mm-yyyy , you try this method to convert that to SQL date and pass to your RFC.
    public java.sql.Date sqlDateConvert( String date)  {
        //@@begin sqlDateConvert()
         java.sql.Date dateObj=null;
         try{     
              StringTokenizer tempStringTokenizer = new StringTokenizer(""+date,"-");          int dd=Integer.parseInt(tempStringTokenizer.nextToken().trim());
                                    int mm=Integer.parseInt(tempStringTokenizer.nextToken().trim());
              mm=mm-1;
              int yyyy=Integer.parseInt(tempStringTokenizer.nextToken().trim());
              Calendar cal =Calendar.getInstance();   
              cal.set(yyyy,mm,dd);                         
              dateObj = new java.sql.Date( cal.getTime().getTime());
         }catch(Exception e)
              return dateObj;
    Hope this will help you.

  • To read alert log and send via mail

    set `date`;
    gret=`grep -n $1\ $2\ $3 /ora/admin/ORACLE_SID/bdump/alert_ORACLE_SID.log|awk -F: '{print $1}'|head -1`
    dy=`cat /ora/admin/ORACLE_SID/bdump/alert_ORACLE_SID.log|wc -l`
    di=`echo $dy-$gret|bc`
    tail -$di /ora/admin/ORACLE_SID/bdump/alert_ORACLE_SID.log>filtemp
    mailx -s "daily alert log" [email protected]<filtemp
    can be configured as a cron
    entry has to be present in /etc/hosts

    1: Make a Dummy report. From some post parameter form trigger, run your original report with "srw.runreport" call. The original report can generate output to a file.
    2: Then withing this dummy report run, call a user exit to zip the
    original reports output. You need to write this user exit and attach them
    with reports.
    3: Now use Report 9i distribution for this dummy report to sent this external zip file through mail.
    With Regards
    Reports Team

  • Zc706-Read data from DDR, send to FMC card pins

    Hi,
    There will no direct FMC IP available but you have to make your peripheral(s) in desing to drive the FMC card I/O interfaces.
    The ZC706 evaluation board supports the FMC of the high pin count (HPC) connector at J37 and low pin count (LPC) version at J5.  FMC card interface pin details are given in page 65 of  http://www.xilinx.com/support/documentation/boards_and_kits/zc706/ug954-zc706-eval-board-xc7z045-ap-soc.pdf. This should go in to the xdc file.
    Refer to the an example tutorial http://community.em.avnet.com/avnet/attachments/avnet/FMCHDMIIOVITAImageSensor/420/1/FMC_IMAGEON_GettingStarted_2014_4-Tutorial.pdf.
    Regards
    Praveen
    Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.
    Give Kudos to a post which you think is helpful and reply oriented.
     

    Dear
    I made our peripheral(s) FMC card I/O interfaces and in the constraint file, to assign the output to go to fmc pins, i set like this:
    set_property PACKAGE_PIN AB4 [get_ports {o_cam_d[1]}]
    set_property PACKAGE_PIN AB5 [get_ports {o_cam_d[2]}]
    set_property PACKAGE_PIN AB11 [get_ports {o_cam_d[3]}]
    set_property PACKAGE_PIN AB1 [get_ports {o_cam_d[4]}]
    set_property PACKAGE_PIN U11 [get_ports {o_cam_d[5]}]
    set_property PACKAGE_PIN AA11 [get_ports {o_cam_d[6]}]
    set_property PACKAGE_PIN AB2 [get_ports {o_cam_d[7]}]
    set_property PACKAGE_PIN U12 [get_ports {o_cam_d[8]}]
    set_property PACKAGE_PIN AA4 [get_ports {o_cam_d[9]}]
    set_property PACKAGE_PIN Y4 [get_ports {o_cam_d[10]}]
    set_property PACKAGE_PIN Y10 [get_ports {o_cam_d[11]}]
    set_property PACKAGE_PIN Y11 [get_ports {o_cam_d[12]}]
    set_property PACKAGE_PIN AB6 [get_ports {o_cam_d[13]}]
    set_property PACKAGE_PIN AB7 [get_ports {o_cam_d[14]}]
    set_property PACKAGE_PIN AB9 [get_ports {o_cam_d[15]}]
    set_property PACKAGE_PIN AB10 [get_ports {o_cam_d[16]}]
    set_property PACKAGE_PIN AB12 [get_ports {o_cam_d[17]}]
    set_property PACKAGE_PIN AA12 [get_ports {o_cam_d[18]}]
    set_property PACKAGE_PIN V4 [get_ports {o_cam_d[19]}]
    set_property PACKAGE_PIN W12 [get_ports {o_cam_d[20]}]
    set_property PACKAGE_PIN V5 [get_ports {o_cam_d[21]}]
    set_property PACKAGE_PIN U9 [get_ports {o_cam_d[22]}]
    set_property PACKAGE_PIN AA8 [get_ports {o_cam_d[23]}]
    set_property PACKAGE_PIN V12 [get_ports {o_cam_d[24]}]
    set_property PACKAGE_PIN U10 [get_ports {o_cam_d[25]}]
    set_property PACKAGE_PIN T6 [get_ports {o_cam_d[26]]}]
    set_property PACKAGE_PIN AA9 [get_ports {o_cam_d[27]}]
    set_property PACKAGE_PIN AA6 [get_ports {o_cam_d[28]}]
    set_property PACKAGE_PIN R6 [get_ports {o_cam_d[29]}]
    set_property PACKAGE_PIN U4 [get_ports {o_cam_d[30]}]
    set_property PACKAGE_PIN AA7 [get_ports {o_cam_d[31]}]
    set_property PACKAGE_PIN T4 [get_ports {o_cam_d[0]}]
    set_property PACKAGE_PIN U6 [get_ports {o_href}]
    set_property PACKAGE_PIN U5 [get_ports {o_vsync}]
    set_property PACKAGE_PIN Y6 [get_ports {o_px_valid}]
    #set_property PACKAGE_PIN Y5 [get_ports {i_px_ready}]
    set_property IOSTANDARD LVCMOS25 [get_ports o_href]
    set_property IOSTANDARD LVCMOS25 [get_ports {o_cam_d*}]
    set_property IOSTANDARD LVCMOS25 [get_ports {o_vsync}]
    set_property IOSTANDARD LVCMOS25 [get_ports o_px_valid] 
    But when I run synthesis, there are critical warnings like this:
    [Common 17-69] Command failed: 'AB4' is not a valid site or package pin name. ["D:/Research/lisa/fmcprojects/fmcinterface/fmcinterface.srcs/constrs_1/new/fmcpins.xdc":2]
    [Common 17-55] 'set_property' expects at least one object. ["D:/Research/lisa/fmcprojects/fmcinterface/fmcinterface.srcs/constrs_1/new/fmcpins.xdc":27]
    [Vivado 12-1815] Setting property 'IOSTANDARD' is not allowed for GT terminals. ["D:/Research/lisa/fmcprojects/fmcinterface/fmcinterface.srcs/constrs_1/new/fmcpins.xdc":42]
    So I couldn't do implementation. Can you give me some ideas about this problem ?
     

  • Applescript to read a file and send it via lp command.

    I am new to applescript and I am trying automator to use it. I need to put a file on a folder and the applescript should get the file and run lp to send it as a raw format to a network device. Does anyone have a sample or idea on how to do it?
    I've been reading and trying some samples, but they do not work.

    A good first step would be to get it working using lp in the terminal. Then try the same command in an applescript using "do shell script". When that works, you could try it in a folder action script.

  • Ejects video DVDs but reads data DVDs and CDs

    Hi all, I have a 2010 Mac mini which is still on snow leopard.
    As soon as I put any DVD video in the drive spins up, makes a bit of noise, then tries again and finally just spits the thing out.
    All CDs and data DVDs work first time everytime. I've read a number of other questions to try repairing drive permissions and reset PRAM which I have tried but no joy. The indication I seem to be getting is that if these things don't help it's a hardware issue but I thought that would be odd since data DVDs work.
    Grateful for any help. Cheers.

    It's possible it doesn't like DUAL LAYER DVDs.  Pressed, commercial DVDs are all dual layer, and yet your data DVDs are probably single layer. Maybe it's that?
    (I believe there were some early Superdrives that weren't dual-layer-DVD-capable, but don't quote me on that. Maybe your Superdrive is just on the way out, with a weak laser!!)

  • How to read .dat file and display on a chart.

    Hello, I am very new to labeled and am looking for some guidance on how to display data from a file onto a chart. I have registered the appropriate data plug in (Yokogawa_DAT) however when I try to use the file viewer VI it is still not recognized by LabVIEW. I have included a sample of the data which includes 2 channels plus time stamping and color information etc. The data is produced by a Yokogawa VR100 recorder that is no longer supported, and therefore the native viewing software is impossible to get. Unfortunately my time is limited and learning all the ins and outs of LabVIEW is going to take a good deal of it, I am hoping someone will be able to point me in the right direction to learn the basics of what I am after without having to learn LabVIEW in its entirety. Many Thanks!
    Attachments:
    D110514.zip ‏3 KB

    Yes, Brand new set of data, exactly as it comes off the recorder. Including config files etc.
    Attachments:
    Yokogawa.zip ‏8 KB

Maybe you are looking for

  • How to log in background and execute a function for downloading a file

    Hello, i have a problem. I have an application with logon functionality. Over the application there is function to create a xml file for downloading it to the pc. Now i want to download this file in background and save it to a server. My problem is h

  • New effects problem on library loops

    My Logic has been performing close to flawless since I've had it. An update installed today and a new problem has arisen that I can not find a way to fix. Whenever the project tempo is different than the loop tempo, for example, when a drum loop in t

  • How to create a deployment plan for an existing application?

    Using WebLogic 10MP1. I have an existing EAR deployment, and I want to create a deployment plan so I can make changes to it without changing the EAR file itself. My goal is to change the value of the "precompile" flag in all the web modules. I've rea

  • JSObject returns wrong date. How can I extract correct date from digital signature?

    I'm trying to extract name and date from digital signatures by using JSObject in Excel VBA, but JSObject returns wrong date. Year, month, hour and minute are correct, but only day is incorrect. Here is my code. I'm using Acrobat 8.1.3. Please tell me

  • Using Spaces With Logic 9?

    Dear Apple, I'd like to know if it's possible to use spaces together with Logic. I tried to grab my mixer and drag it to another space but that didn't work. If it's not possible at all I would recommend this as a new feature in a Snow Leopard update.