Verification of the data-acquisition process

Hello,
my name is Andreas and I'm a beginner in LabVIEW programming.
My task could be described as follows:
I have on data signal to acquire with the PC-DIO-32 Acquisition Card.
I have also the connection block SCB-68 to connect my application.
What is my application:
"clock one": is a 166kHz clock trigger clock ti= 200ns tp=5.8us
"clock two": is a data stream signal binary signal (patterns of 0 and 1) data stream of a Random Generator
Each time when a positive edge of the clock "one clock" arrives the DIO 6533 has to be store the signal of
the "clock two" data in a binary file.
I chose the " Burst" - mode example in external trigger clock conditions for my application:
and I use the SCB-68 connections:
PCLK1 (connector 5 of the SCB-68) is the connection for my external trigger clock "clock one"
ACK1(STARTTRIG1) (connector 3 of the SCB-68) is connected to 5+ Volt (connector 1 of the SCB-68)
REG1(connector 2 of the SCB-68) is connected to 5+ Volt (connector 1 of the SCB-68)
The port data output of the VI DIO-Read is connected to the data input of the VI Write File!
The program seems to work fine but I can't verify if the acquisition card takes the data of "clock two" really
at that time when the rising slope of "clock one" arrives!
To solve that problem I did the inverse option of the "burst" mode-> Pattern generation using an external clock at PCLK!
So I took my clock "clock one" fed to PCLK1 and I started the program!
Bad, it didn't work! Problem with a buffer configuration ERROR -10022!
So I will send you my program to give you an idea of my design problem!
If the "burst" - mode is not the best way to solve my application problem I would like to know in which mode
I should adjust the card to solve my problem!
Furthermore it would be great to get a programming example in which I can observe if the data is taken by the card
each time a positive slope occurs!!
Thank you very much for your help,
Andreas
P.S:
It is not easy at all to find your answer in your whole database! So if possible send me your answer to
[email protected]
(Sorry for my English!)
Attachments:
burstaziwithfile.vi ‏108 KB

Thank you very much toddd,
is seems to you that I'am a real looser.
But if I use the Pattern Input vi with the DIO 6533 I still not able to verify if the stored or screened data (see the graph vi in my example)is really that one which should be acquired by the card!
Let me explain:
You have NRZ-signal generator which output you can switch on or off.
You may connect your data-stream which you want to store into the DIO card to DIOA0 (connector 10 at SCB-68).
Your NRZ-signal from the generator is fed to REQ1 (connector 2 at SCB-68).
Now you will start your labview program. I set a timing delay at Read vi of 25sec.
I also monitored the data-stream of DIOA0 and the trigger signal at REQ1 using an oscilloscope.
(the trigger of the osci is set
to single mode , leading edge for the osci-channel which is connected to the trigger signal at REQ1)
Now I switch on the output of the NRZ-signal generator to on.
Now you can see at the screen of your scope some trgger pulses an the data-stream.
At each time when the trigger signal positive slope rises the data(0 or 1) at DIOA0 must be stored!
Problem: the detected data on the scope screen are not the same wich I stored in the DIO card!!
Todd, could you tell me what I did wrong?
And again, many thanks for your message!!!!!

Similar Messages

  • How to automate the data load process using data load file & task Scheduler

    Hi,
    I am doing Automated Process to load the data in Hyperion Planning application with the help of data_Load.bat file & Task Scheduler.
    I have created Data_Load.bat file but rest of the process i am unable complete.
    So could you help me , how to automate the data load process using Data_load.bat file & task Scheduler or what are the rest of the file is require to achieve this.
    Thanks

    To follow up on your question are you using the maxl scripts for the dataload?
    If so I have seen and issue within the batch (ex: load_data.bat) that if you do not have the full maxl script path with a batch when running it through event task scheduler the task will work but the log and/ or error file will not be created. Meaning the batch claims it ran from the task scheduler although it didn't do what you needed it to.
    If you are using maxl use this as the batch
    "essmsh C:\data\DataLoad.mxl" Or you can also use the full path for the maxl either way works. The only reason I would think that the maxl may then not work is if you do not have the batch updated to call on all the maxl PATH changes or if you need to update your environment variables to correct the essmsh command to work in a command prompt.

  • What is the "Data Transfer Process" in the BI7.0, and how does it work?

    Hi, experts !
    I'm fresh on BI7.0.
    What is the "Data Transfer Process" in the BI7.0, and how does it work?
    And what is it used for ?
    Could anyone help me? Plz send me some doc.
    [email protected]
    Thank u !

    HI,
    Refer this blog
    /people/community.user/blog/2007/06/22/sap-netweaver-70-bi-data-transfer-process-dtp-blog-series
    Also refer
    http://help.sap.com/saphelp_nw2004s/helpdata/en/42/f98e07cc483255e10000000a1553f7/frameset.htm
    Thanks

  • Automate the data load process using task scheduler

    Hi,
    I am doing Automated Process to load the data in Hyperion Planning application with the help of Task Scheduler.
    I have created Data_Load.bat file but rest of the process i am unable complete.
    So could you help me , how to automate the data load process using Data_load.bat file & task Scheduler.
    Thanks

    Thanks for your help.
    I have done data loading using Data_load.batch file . the .bat file call to .msh file using this i have followed your steps & automatic data lload is possible.
    If you need this then please let me know.
    Thanks again.
    Edited by: 949936 on Oct 26, 2012 5:46 AM

  • Decisions based on the data acquisition in Labview

    Hello
    how can make decisions in labview based the output of the data acquisition..
    For example. if I have a voltage comming in from the light sensor...and lets say I want run the for loop this many times if the voltage comming out is greater than some threshold...any examples.
    Thanks
    SK

    1. What makes you think the for loop does not iterate?  If the Start Stop toggle switch is in the Stop position, the while loop inside the for loop will never end so the for loop will stay in its current iteration waiting for the while loop.  If the switch is true, then the for loop will run through its 10 or 20 iterations in 1 or 2 seconds.
    2. It is usually better to create and start the task outside the loop, write the data inside the loop and then clear the task after the loop finishes.
    3. Your indexing of the boolean array to write can be done very simply with the Quotient & Remainder function and a Subtract from 3 inside the false case of the CCLW/CLW structure.
    Run your VI with Highlight Execution (the light bulb on the block diagram toolbar) turned on and watch what it does.
    Here is a cleaned up version of your diagram showing the simplified indexing.
    Lynn

  • You are not authorized to display the data transfer process

    Dear Experts,
                          Good Morning!
                          I want to that I am getting one Message no. RSM906:"You are not authorized to display the data transfer process
    ".What does it mean .I want to load the data in the 0SD_C03 cube ,can able to load upto PSA but unable to create the DTP.IS this because of this messege of authorization or some other reason ,Request  you to please suggest me for this issue ,thanks in advance .

    Hi,
    You may not have authorisation for S&D cubes, so i feel it is an authorisation issue, kindly take one of your colleagues id to check this, if it is working for them, then i think you have to add those to roles to your ID..
    Still there is a option to override this, but you have debug it once, and change the authorisation code(sy-subrc) value, and please dont try this if you are not familiar at ABAP, and this is not adviceable if it is an authorisation issue as there will be logs recorded for all the things you are doing and oreover each time when u click on DTP you have debug it to change the authorisation
    code..
    Note: If it is QA or Dev system you can try debugging it, but if it is production system then i think u have to use an alternate ID...
    Regards,
    Nanda.S

  • Optimize the data load process into BPC Cubes on BW

    Hello Gurus,
    We like to know how to optimize the data load process and our scenario for this is that we have ECC Classic Ledger,  and we are looking for the best way to load data into the BW Infocubes from an ECC source.
    To complement the question above, from what tables the data must be extracted and then parsed to BW so the consolidation it´s done ?  also, is there any other module that has to be considered from other modules like FI or EC-CS for this?
    Best Regards,
    Rodrigo

    Hi Rodrigo,
    Have you looked at the BW Business Content extractors available for the classic GL? If not, I suggest you take a look. BW business content provides all the business logic you will normally need to get data out of ECC and into BW for pretty much every ECC application component in existence: [http://help.sap.com/saphelp_nw70/helpdata/en/17/cdfb637ca5436fa07f1fdc0123aaf8/frameset.htm]
    Ethan

  • How  Sender SOAP Adapter will retriew the data  to process further

    How  Sender SOAP Adapter will  receive the data  to send the integration server to process further

    Hi,
    1. All details are always taken from the Sender Agreement.
    For the Sender File adapter and the Sender SOAP adapter , the details that include are , Sender Service, Sender Interface Name and namespace and these are the details that make up the SOAP header when the message hits the integration Engine.
    Once the corresponding Adapter for the message is identified, ie. the Sender SOAP adapter , the message for the SOAP header is then taken from the Sender Agreement of that adapter. This is the exact reason why one Sender Adapter can be involved in one and only one Sender Agreement.
    Regards
    Bhavesh

  • How to synchronize the data acquisition from both GPIB and DAQ card

    I want to begin/stop acquiring the data from GPIB and PCI6024E card into Labview at the same time. Since the acquisition from GPIB is quite slow comparing to the one from DAQ card, I can not put both of them in the same loop structure. Is it possible to synchronize them?
    Thank you!

    Hi,
    I wanted to save data acquired from NI-DAQ (for example, NI 9234) in a file using the DAQ-mx ANSI C Code. The response I got was as follows:-
    One way to do it is with TDMS logging. DAQmx comes with functions designed to log to a TDMS file. This is a special file type that is used for collecting data in a logical format. It can be displayed in a TDMS viewer where data is separated into groups and channels. NI-DAQmx provides examples for how to log to TDMS. Look at the TDMS examples in the C:\Users\Public\Documents\National Instruments\NI-DAQ\Examples\DAQmx ANSI C\Analog In\Measure Voltage directory.
    However, now I want to know is there a way that using that same C code, can we save the data in a .txt file format (Text File) instead of a TDMS file? We actually want to access that file through MATLAB (that's why we want to save it in text format).
    Also on an other note, is there a way we can access & open TDMS files by MATLAB?
    Thanks,
    Sauvik Das Gupta

  • Immediate Small Project - Test Bench Data Acquisition, Processing, & Basic Automation

    I am need of a Labview Programmer to assist immediately on a test bench setup.  The sepcifics are as follows....
    Acquire data from 16 LVDT with 4-20 mA signal simultaneously at a single time.
    Convert to distance using bit resolution conversion.
    Calculate best fit plane for data points, given a (x,y) location of each sensor, where the signal is the z coordinate.
    Calculate properties of part with distance from best fit plane to individual LVDT points and report to LabView SPC.
    Trigger 24 VDC I/O to actuate pneumatic solenoids with timing delays to provide throughput through test station.
    Trigger data acquisition when part is present in test area of machine.
    Requested completion time is one week.  Project is located in Clover, SC outside of Charlotte, NC.  Remote work is acceptable.
    Please email me if interested in project. [email protected]

    I am need of a Labview Programmer to assist immediately on a test bench setup.  The sepcifics are as follows....
    Acquire data from 16 LVDT with 4-20 mA signal simultaneously at a single time.
    Convert to distance using bit resolution conversion.
    Calculate best fit plane for data points, given a (x,y) location of each sensor, where the signal is the z coordinate.
    Calculate properties of part with distance from best fit plane to individual LVDT points and report to LabView SPC.
    Trigger 24 VDC I/O to actuate pneumatic solenoids with timing delays to provide throughput through test station.
    Trigger data acquisition when part is present in test area of machine.
    Requested completion time is one week.  Project is located in Clover, SC outside of Charlotte, NC.  Remote work is acceptable.
    Please email me if interested in project. [email protected]

  • Confused about the date/time processing logic

    Hi Experts,
    i've sent this issue to OSS but they replied this is not a bug and not giving me any info, so I'm here ask for help:
    (i've got 2 screenshots but it seems there's no upload in the sdn forum?)
    we have the equipment warranty master data (check 1.jpg, the Warranties
    assignment block)
    and there're "Warranty Start" and "Warranty End" dates
    we are confused how the data is saved and loaded with the timezones:
    (how are the User Timezone & Server Timezone, or any other value related
    in the following problems)
    1, there're two pairs of columns, the 1st pair only shows date, the 2nd
    pair shows the time also. --What's the diffenence?
    2, when creating a new warranty master data, the 2nd pair shows the
    hour/min/sec(in 1.jpg, "17:00:00"), by what logic, does the hour/min/sec
    value come?
    (in the 2.jpg, we can see different data with different hour stamps,
    how is the value determined?)
    3, how about if we use program to write the data, if we put timestamp
    20120228000000 in the database, what does that mean to the system(which
    timezone means to the system)?
    4, when showing the start/end date data, by what logic (using which
    timezone value) does the system calculated and then bring to the webUI ? (e.g. at Account Identification, after entered Serial Number in Objects, there're Warranty Start/End date, how's the value calculated?)
    Thanks
    Kane Xu

    Hi All,
    Thanks for your deatiled reply, I think the logic is somehow clear for me,
    but now I'm facing a strange problem:
    as the screenshot shows, the 2nd pair of time(with hour/min/sec) is the UTC time
    I found that is stored in table COMM_IL_IOBWTY, the value is exactly the same on UI
    we have a program and a FM, both using "  CALL FUNCTION 'CRM_IBCWTY_IL_API_CREATE' " staement to write this value.
    the program is set as a background job, but for now, at testing period, we run it manually in se38 each time we need
    the FM is called from EN_ONSAVE of an OVView page of webUI
    in the code, both in the program and in the FM, we put 000000 for hr/min/sec,
    they works fine in our dev system, but in qas system,
    the FM works fine, and after running the program, the hour value in table(and in webUI) is not zero,it seems changing by user timezone settings.
    I'm so confused and tried to debug into the 'CRM_IBCWTY_IL_API_CREATE' and not found any code might be related to timezone.
    Do you have any idea why this happens? Thank you!
    Kane

  • Unable to delete the Requests in the data target---Process chain

    Hello Gurus!
                          Can anyone plz help me out knowing this issue...
      <b>Let me explain the whole scenario:</b>
    Like when monitoring the process chains,one of the process chainhas a  sequence of variants like:
    load info-package1>ODS1 activation>load infopackage2-->load infopackage3..
    due to some problems they scheduing it manually.all the infopackages loads data into one ODS1......suddenly info-package3 failed.
    so....when i looked into the datatarget ODS1->manage->requests.
    <b>i found that the info-pack1 requests status was RED.
    info-pack2 requests status was YELLOW.
    info-pack3 requests status was RED</b>.
    ALL THE THREE R FULL UPDATES ONLY.
    so suddenly one of our cologue  deleted the all the three requests by making ino-pack2 requests to red.
    when we r loading again the ino-pack1  again its failed.we deleted it onceagain(removing the requests from the ods),when we are trying to load ino-pack2 for some priority ,automatically the info-pack1 requests with red were seemed in the ODS.so how to solve this issue and also how to load these three ino-packs..
    i hope that all understand the scenario..plz suggest me how to work on it
    Thanks in advance!!!
    Dilip

    Hi,
    Your loads are running on back ground you have to kill this porcess in SM50 or SM51 check which are all jobs are running with your user name and ALEREMOTE if jobs are running with ALEREMOTE you can check wether it is your load or some body else in SM37 so kill your jobs in SM50 or in SM51 and make request into RED of your 3 loads, delete the requests from ODS and repeat the loads it will go with out any issues, as i under stood your question when your colegue deleted the request without killing the process he simply made it to red and delete its wrong he has to kill the process and then make it to red.
    Regards
    Sankar

  • Why ACK should be deasserted sometimes during the data acquisition with PCI-DIO-32HS burst mode handshaking?

    My peripheral device sends 32-bit data to the DIO board serially with PCLK 6MHz, about 300,000 times totally. The phenomenan like I mentioned in the summary above happens, and it causes some data missings.
    Though I know ACK is not always asserted as somewhere in the NI database says, I want to know why it happens. if I can. I wonder if it is just inevitable or not.
    Do I only have to add some buffer memories to my device and make it watch on the ACK changing? Or, is there any other good way to avoid this problem?

    Hi,
    Burst mode handshaking protocol needs to conditions to be meet before data can be transfered. The PCI-DIO-32HS need to be ready to transfer data and the external device needs to be ready to transfer data.
    The ACK line tells the external device when the PCI-DIO-32HS is ready and the REQ line tells the PCI-DIO-32HS when the external device is ready. When both are ready data should be transfered. This is the nature of Handshaking, guarenteed data transfer (when both devices are ready), but not at a guarenteed rate. Handshaking means that the two devices communicate with each other to determine when to transfer data.
    The PCI-DIO-32HS ACK line is toggling low because the PCI-DIO-32HS is busy catching up with the given transfer and is not ready to receive m
    ore data at this time. The ACK line is not something you can control, it is controlled by the PCI-DIO-32HS.
    Your application may be better suited for use with Pattern I/O if you are not using the handshaking lines, ACK and REQ, to control the flow of data. Pattern I/O does not use handshaking lines and clocks data in on every rising edge of the clock. You may receive an error if your system can not keep up with the transfer rate.

  • To make it clear, we try to get data, well, automate the data acquisition through the NI-DAQ...

    Well,we tried to automate the I/O acqusition through the NI-DAQ card, we tried to calibrate it by the control Calibrate_1200, but it didn't calibrate it and it did not save the file where we did the calibration either.My boss thinks it is due to a misconfiguration of LabVIEW,what do you think of it?

    Hi,
    I don't think it's a misconfiguration of LV!
    I have never used 1200 DAQ device, but I took a look at the 1200Calibrate function and apparently it allows all the calibration features you need. I think you should embed the part of your application where you calibrate the device to see if there's something not correct.
    Just a hint, when you use 1200Calibrate what is the value returned by the status output?
    Alternatively you could use MAX to create virtual scales associated to your analog channels where you can set offset, gain (slope) and even non-linear scale. All these settings are saved by MAX in a file and applied automatically each time you use the virtual scales you created, refer to MAX online help
    Good luck,
    Alberto

  • Data acquisition on the basis of time

           Hi everyone,
    I want to acquire the radial run-out (radial small displacement) of a rotating spindle using a capacitive sensor. To do so I will use the LabView v. 7.1. The PCI-6036E card from National Instruments (NI) will be utilized for data acquisition. The spindle turns at 100 rpm and a rotational incremental encoder is fixed at rear of spindle. This encoder provides an index digital pulse per revolution. This pulse should be used to start and finish the sampling process. I want to sample on the basis of time, by means of sampling rate of the card (Ksamples/s). So, let us suppose that I want to acquire 500 data/rev. The spindle takes 0.6 sec to complete one revolution. Thus, the required sampling rate is Fs = 500 samples/0.6 s = 833 samples/s. So, I should set the VI in LabView so that it samples only 833 data/s. Therefore, I will have to reduce the sampling rate of the analog-input channels in use. For example, let us suppose that the card provides 100 Ks/s when operating in multiple channels. Let us admit that there are 4 analog-input channels in use. So, the scan rate per channel is 25 Ks/s. This is too much for this application. I only need 833 samples/s. So, I should program the VI so that the card provides that required sample rate. As said earlier, I need to start and end the sampling process at the same point. Thus, to do that the index pulse of the encoder will be used. Also, I want to sample during 5 consecutive revolutions of the spindle. So, by means of a loop in VI, I should count the index pulse of encoder until the number of pulses be equal to 5 (= number of revolutions). At this instant, the sampling process should be stopped. Note: 1) the sampled data should be put in a buffer. After the sampling process is finished, this data should be saved in a file of LabView; 2) In fact, the data acquired by the sensor are voltage analog input. Questions:1) Could you make a VI for this problem, please? Note: you can use the DAQ ASSISTANT EXPRESS VI or DAQmx TASK NAME CONTROL method2) What should I do to stop the data acquisition at the end of 5 revolutions using the index pulse of encoder?3) Could you send examples (VIs) similar to my problem above? In anticipation, thank you very much for any help. My e-mail: [email protected]                                                                                      
     Bruce  

    duplicate post
    Continue in other thread
    Message Edited by smercurio_fc on 11-14-2008 09:10 AM

Maybe you are looking for

  • Interface Mapping run time error...java.lang.nullpointerException  thrown

    Hi, I am trying to create a simple f2f scenairo and when I tested the configuration xi throws this message as : Interface Mapping run time error...java.lang.nullpointerException  thrown during application mapping. <?xml version="1.0" encoding="UTF-8"

  • PDF icon changed after deploying Reader 9.4.0 though Group Policy

    I extracted the .msi from the Reader 9.4.0 .exe, and deployed the software through group policy. Everthing works fine except now all .pdf icons show as a different Adobe icon, as opposed to the usual white icon with the red cursive "A" and the little

  • Accordion Default Panel

    Is there a way to set all Spry Accordion panels closed? I have set the js variable defaultPanel to null and no panels open but I loose animation. My goal is to nest accordion panels and have only the selected panel open when I click on it. Is this po

  • Re-installation Photoshop Elements 11 d'un ancien ordinateur vers un nouveau

    Photoshop Elements 11 (acheté en 2013) est installé sur un ordinateur qui n'est plus capable de se connecter sur l'internet, donc sur votre Cloud. Comment récupérer ce programme sur mon nouvel ordinateur ? Je peux fournir le No de Série de mon proram

  • Script Logic to carry forward closing balance to opening balance

    Dear BPC expert, I'm new in BPC. I would like to have a logic script, as below. 2008 -> Dec -> Closing1 = 2009 -> Jan -> Opening1 2008 -> Dec -> Closing2 = 2009 -> Jan -> Opening2 2008 -> Dec -> Closing3 = 2009 -> Jan -> Opening3 2009 -> Jan -> Closi