Data Acqusition and recording in Binary Format

Hi
Can anyone tell me how to perform buffered Data acquisition and write
it in Binary format.
I want to record data when it is streaming that is i would like to
record data on a real time basis.
I have started acquiring data and also graphed it, But it is not a
buffered acquisition, Can i record this data in the binary format??
Srikanth

Hi,
Labview has an example that does exactly what you are asking for:
Cont Acq to File (binary).vi
You'll find it in:
\examples\daq\anlogin\strmdisk.llb
Good luck,
Alberto

Similar Messages

  • Lenovo ideapad yoga 13 pci data acqusition and signal processing center for problem for windows 8

    Link to picture
    hi everyone, 
    find original w8 cd and then i installed, when i was installing
    i deleted all recovery and other partition, i did not think what can i do,
    but then i activated windows and installed all driver, but i taking 
    after all drivers it stayed
    2''unknown devices''
    and when i rebooted, it says, usb device not recognized'' and also
    ''pci data acquisition and signal processing center'' devices problem for windows 8. and touchscreen not working.
    i read related for w7 same problem, but what i will do now ?
      thanks.
    Moderator note; picture(s) totalling >50K converted to link(s) Forum Rules

    hi adilsefaersan,
    Welcome to Lenovo Community Forums!
    By opening your Device Manager right click on one unknown device and choose properties,
        >On the properties windows Click on the Details Tab, on the property drop down Choose hadware IDs
         > then copy the value and post back here whats on the Value pane
    Do it for all those unknown Device and Post here the Value of the hardware ids
    also can you share your Windows Version and bit type so we'll knwo the correct download page for you
    Thanks and Regards
    Solid Cruver
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
    Follow @LenovoForums on Twitter!

  • Extract FORM data into BINARY format or XSTRING format?

    Hello,
    Our config: I am developing an VISITOR Adobe Interactive Form, i have Designer 8.1 and Reader 9.0 in my Windows 7 Laptop. When i checked the menu EDIT-->form properties --> Compatability, its Adobe XML form File (XDP)
    When i opened this VISITOR interactive form in a browser, right clicking and checked form PROPERTIES, then i saw the "PDF Version: 1.6 (Acrobat 7.x)"
    I am using JavaScript
    1st user opened the form, entered data, say entered USA in COUNTRY field.
    2nd user opened the same form and edited the COUNTRY field from USA to UK.
    Pls. let me know is there any way for me to capture the user entered data into a BINARY format or XSTRING or RAW FORMAT or RAW STRIGN
    Pls. note i need latest changes, like COUNTRY field hold the value of UK.
    Pls. note for some reason, SAVE the form should not come into picture in my case (form will be saved in some workflow (pls. note not adobe's workflow, we hv SAP workflow) staging area in the time lapse of between  1st user and 2nd user,)
    Thank you

    I am looking WHOLE FORMA DATA in either XSTRING or BINARY FORMAT or any other format, except STRING format.
    I gave COUNTRY as an example, but am looking the HWOLE form AS IS
    Any help pls.
    Thank you   

  • Is BPEL supports writing character data into binary format  ?

    Hello,
    I can write a BLOB data from DB to a file using Opaque feature in File Adapter.
    But is it possible to write Character data into Binary or Hex Format either by using base64Binary or Hex or bytes formats supported in XML?
    Thanks

    I am looking WHOLE FORMA DATA in either XSTRING or BINARY FORMAT or any other format, except STRING format.
    I gave COUNTRY as an example, but am looking the HWOLE form AS IS
    Any help pls.
    Thank you   

  • Is it possible to trigger the acquisition and recording of data in this condition?

    Hi
    I am a LabVIEW newbie,
    Is it possible to trigger the data acquisition and recording in the following case;
    I have two input signals 1. Pressure Transducer 2. Pulse from a magnetic pickup.
    I have to plot the pressure data against the pulses. Can I make the magnetic pickup signal as master signal to trigger the data acquisition and recording? and at the same time acquiring the pressure data as well.
    How can I do that ?
    Thanks.

    Hi Rich
    Thanks...
    I have PCI - 6033E High resolution multifunction I/O board and NI BNC - 2090 adapter chasis.
    What I am getting is the pressure from the transducer and magnetic pulses.
    Two cosecutive pulses encompass one complete cycle of the combustion process inside the engine.
    I need to record the data for presenting the information offline.
    Since combustion is a highly unstable process I need to get the optimum representative grapgh at a particular engine speed.
    So lets say, I want the magnetic pulse to trigger this the data acquisition for 50 of such pulses, i.e. 50 complete cycles of diesel engine. So that these 50 acquired cycles may be averaged for pressure readings and a single representative curve (graph) may be produced.
    Thanks again
    Message Edited by SeaMist on 06-26-2008 02:49 AM

  • Extract Form either in BINARY FORMAT or XSTRING?

    Hello,
    Our config: I am developing an VISITOR Adobe Interactive Form, i have Designer 8.1 and Reader 9.0 in my Windows 7 Laptop. When i checked the menu EDIT-->form properties --> Compatability, its Adobe XML form File (XDP)
    When i opened this VISITOR interactive form in a browser, right clicking and checked form PROPERTIES, then i saw the "PDF Version: 1.6 (Acrobat 7.x)"
    I am using JavaScript
    1st user opened the form, entered data, say entered USA in COUNTRY field.
    2nd user opened the same form and edited the COUNTRY field from USA to UK.
    Pls. let me know is there any way for me to capture the user entered data into a BINARY format or XSTRING or RAW FORMAT or RAW STRIGN
    Pls. note i need latest changes, like COUNTRY field hold the value of UK.
    Pls. note for some reason, SAVE the form should not come into picture in my case (form will be saved in some workflow (pls. note not adobe's workflow, we hv SAP workflow) staging area in the time lapse of between  1st user and 2nd user,)
    Thank you

    I am looking WHOLE FORMA DATA in either XSTRING or BINARY FORMAT or any other format, except STRING format.
    I gave COUNTRY as an example, but am looking the HWOLE form AS IS
    Any help pls.
    Thank you   

  • How would I add voice to text and record it to audio

    I have a soundblaster 6 and text assist program I have several large text files that I want to have spoken and recorded in wave format and burned to CD, How would I go about duing that?

    Gerge,
    I think this should work, but I don't have a text reader to try it. In the Creative Surround Mixer, select What-U-Hear as the Rec source. Turn on record in a recording application such as the Creative Recorder. Activate your text assist program and have it read a text file. Everything you hear should be recorded. (Make sure your soundcard is selected as the default playback and recording device.)

  • DECODE function to validate date value and sort the records

    Hi Friends,
    I am looking for some query which can give me the required output,
    I need to do this using SQL query only and I have tried using the MIN() and MAX() functions it was working fine with limited data, now after inserting the last record(in the below table) which has date for start_range and end_range in(mm/dd/yyyy hh24:mi:ss) format.
    Because the data type is VARCHAR2 if I am using the MIN() function it is sorting as a string value, hence the min date is incorrect. I tried using validating the value to date or non date and tried to using MIN() and MAX() functions using the DECODE function, I am getting this error "ORA-01840: input value not long enough for date format".
    select table_name,
    DECODE(substr(START_RANGE,3,1)||substr(START_RANGE,6,1)||substr(START_RANGE,11,1)||substr(START_RANGE,14,1)||substr(START_RANGE,17,1),'// ::',
    to_char(min(to_date(start_range,'mm/dd/yyyy hh24:mi:ss')),'MM/DD/YYYY HH24:MI:SS'),min(start_range)) MIN_RUNS_START_RANGE,
    DECODE(substr(END_RANGE,3,1)||substr(A.END_RANGE,6,1)||substr(END_RANGE,11,1)||substr(END_RANGE,14,1)||substr(END_RANGE,17,1),'// ::',
    to_char(max(to_date(END_RANGE,'mm/dd/yyyy hh24:mi:ss')),'MM/DD/YYYY HH24:MI:SS'),max(END_RANGE)) MAX_RUNS_END_RANGE
    from MY_TABLE
    GROUP BY table_name,
    (substr(START_RANGE,3,1)||substr(START_RANGE,6,1)||substr(START_RANGE,11,1)||substr(START_RANGE,14,1)||substr(START_RANGE,17,1)),
    (substr(END_RANGE,3,1)||substr(END_RANGE,6,1)||substr(END_RANGE,11,1)||substr(END_RANGE,14,1)||substr(END_RANGE,17,1))
    Can sombody please advise what is the best way I can query this data with the required output.
    The following are the source table and records and the out put records using the sql query.
    MY_TABLE
    TABLE_NAME(VARCHAR2),START_RANGE(VARCHAR2),END_RANGE(VARCHAR2)
    TABLE1,1000,10000
    TABLE2,ABCD,EEEE
    TABLE3,01/12/2010 00:00:00,12/31/2010 23:59:59
    TABLE1,10001,20000
    TABLE2,EEEF,GGGG
    TABLE3,01/01/2011 00:00:00,01/31/2011 23:59:59
    OUTPUT :
    TABLE_NAME,MIN(START_RANGE),MAX(END_RANGE)
    TABLE1,1000,20000
    TABLE2,ABCD,GGGG
    TABLE3,01/12/2010 00:00:00,01/31/2011 23:59:59
    Thanks
    Kalycs

    i also think this is a very bad table design ...
    but if you are not able to change it, you could split the select (date and non-date data) and combine the result with UNION like this:
    with t as
    SELECT 'TABLE1' table_name,'1000' start_range,'10000' end_range FROM dual UNION
    SELECT 'TABLE2','ABCD','EEEE' FROM dual UNION
    SELECT 'TABLE3','01/12/2010 00:00:00','12/31/2010 23:59:59' FROM dual UNION
    SELECT 'TABLE1','10001','20000' FROM dual UNION
    SELECT 'TABLE2','EEEF','GGGG' FROM dual UNION
    SELECT 'TABLE3','01/01/2011 00:00:00','01/31/2011 23:59:59' FROM dual
    SELECT table_name,
           TO_CHAR(MIN(TO_DATE(start_range, 'MM/DD/YYYY HH24:MI:SS')), 'MM/DD/YYYY HH24:MI:SS'),
           TO_CHAR(MAX(TO_DATE(end_range, 'MM/DD/YYYY HH24:MI:SS')), 'MM/DD/YYYY HH24:MI:SS')
    FROM t
    WHERE start_range LIKE '%/%/%:%:%'
    GROUP BY table_name
    UNION
    SELECT table_name,
           MIN(start_range),
           MAX(end_range)
    FROM t
    WHERE start_range NOT LIKE '%/%/%:%:%'
    GROUP BY
        table_name;
    TABLE_ MIN_VALUE           MAX_VALUE
    TABLE1 1000                20000
    TABLE2 ABCD                GGGG
    TABLE3 01/12/2010 00:00:00 01/31/2011 23:59:59

  • Data Acquisition form single precision to binary format

    Hi everybody,
    I work in an Astrophysics group and I'm developing an acquisition system of signals generated by X-Ray detectors (Transition Edge Sensor).
    I'm trying to save data acquired by NI-PXI 6132 (DAQ-mx software in LabVIEW 8.0) in binary format.
    To do this, I use the 'Write To Measurement File' procedure.
    I don't know how it is possible to change the precision from the DBL to SGL directly from DAQ-mx, but I solve this point by creating a 'For Loop' inside my VI, after the data is acquired.
    The problem is that I try to save the SGL data with the previous procedure but the 'Convert To Dynamic Data' automatically occurs, and the data are saved in binary format but in doube precision. So, the previous conversion that I made from DBL to SGL does not work.
    How can I solve this problem?
    Thank you for your help!
    Ciao,
    Claudio!

    Hi Alessio,
    thank you for your prompt reply!
    In attach there is the VI you reqeusted me.
    Ciao,
    Claudio
    Attachments:
    Daq_2monitor_BINARY_ASCII_single_float.vi ‏498 KB

  • How to read an ascii file and record data in a 2d array

    HI everyone,
    I have an experimental data file in ascii format. It contains 10 data sets.
    I'm trying to read the ascii file and record data in a 2d array for further analysis,
    but I still could not figure it out how to do it.
    Please help me to get this done.
    Here I have attaced the ascii file.
    -Sam
    Attachments:
    data.asc ‏123 KB
    2015-01-27_18-01-31_fourier_A2-F-abs.zip ‏728 KB

    Got it!
    Thank you very much !
    -Pamsath

  • Importing data in obscure binary format into diadem

    Hi all,
    Lets assume that I have some data in a binary format which DIAdem can not automatically import into the data portal. One method I am aware of and used is to create a dataplugin in vbs which will then allow me to import this data. Recently I came across something called the "TDM header writer" which gives me the impression that it is capable of creating a header file for my binary data and as a result will be able to import this data into DIAdem without creating a dataplugin. Is this actually the case? If the answer is yes which method is actually easiest to use dataplugin or TDM header writer?
    Thanks for reading and your assistance in advance.
    Matthew

    Hi,
    your impression is correct. With the TDM Header Writer you can write a TDM header file for your binary data, so it can be imported in DIAdem as TDM file.
    However, you will need to create a TDM Header for each of your binary files. There are several ways to use the TDM Header Writer:
    - C API
    - JAVA API
    - LabVIEW VIs
    But please let me ask, if you are not satisfied with the DataPlugin you created. It should enable you to read all of your binary files without any extra work. You can export DataPlugins and distribute them. So once created, it should feel like a native file format for DIAdem.
    For an overview of DataPlugins provided by National Instruments, please have a look here:
    DataPlugins

  • Recording in f4v format at FMS and then republishing to another server?

    My data path looks like this:
    Live Stream Encoder====>My FMS (my own server) republish to======>CDN======>Viewing Client
    I want to archive the live stream at the first stop, my FMS.  Adobe live docs say if I want the recorded file to be of format F4V (H.264), the stream name with which I publish must be of the format mp4:streamname.f4v.  My CDN, unfortunately, requires the stream name it receives to be of the format "streamname".
    How do I satisfy both?
    In my onPublish() function I do two things:
    1.  Record the live stream to a file
    2.  Republish the stream to the CDN
    Here is that method as it's currently constructed:
    application.onPublish = function(client, stream) {
        trace("onPublish");
        //First record the stream here at this server 
        s = Stream.get("mp4:streamname.f4v");
        if(s){
            s.record();
            s.play(stream);
        //Then pass the stream on to the CDN
        this.doRepublish(this.nc, stream);
    Is there anyway to satisfy both requirements?

    Hello ASA,
    I have same issue by FMS and F4V format.
    I want to archive live event at same time and to do that I record live stream in F4V format on the onPublish event.
    This is main.asc codes:
    [code]
    //live stream fragments
    var liveStream = Stream.get("f4f:" + streamName.name);
    liveStream.record();
    liveStream.play(streamName,-1,-1);
    //Create Archive (f4v) for on-demand
    var vodFile = Stream.get("mp4:" + StreamName.name + ".f4v");
    vodFile.record();
    vodFile.play(streamName,-1,-1);
    [code]
    So when I use h264 in my source event when FMS create f4v, F4V file is 320kb and just record 5 second of my event whoever my live event is more than 1 hour.
    But when I don't use h264 in source event my F4V file is correct and record all 1 hour video from live event.
    I don't know what's a problem
    I use FMS 5 extended edition and FFMPEG for stream webcam on to the FMS
    This is my FFMPEG code:
    [code]
    ffmpeg -f dshow -i video="A4TECH USB2.0 PC Camera" -vcodec libx264 -b:v 32k -acodec libmp3lame -b:a 64k -ar 44100  -f flv rtmp://12.11.1.3/livepkgr/liveevent?adbe-live-event=liveevent
    [code]
    Please advise me to solve this problem.
    Many Thanks.

  • Continuos acquisition video and record video in AVI format

    Hello,
    I want to make a continuos acquisition of video with a webcam and record video in AVI format with a number of frames per second equal to 60, and with a possibility to choose the period of acquisition in the window '' front panal '' but the problem is that when I selected an acquisition time of 1 minute supervision
    video takes a time of 1 minute but I get an AVI video recorded with a duration of 15 seconds !!
    Attachments:
    1 caméras.vi ‏40 KB

    I'm sorry, you didn't understand what I wanted you to do.  You might have "done the right thing", but I can't be sure.  Your original program (as I understood it) recorded images from the camera for a fixed period of time that you set (so you knew the recording time) -- what I wanted to know for the original camera was (a) what was the recording time and (b) how many frames were taken.
    The second program that you just attached does the opposite -- it records a fixed number of frames (a better way to do this is to use a FOR loop and just wire 900 to N in the upper left hand corner).  If you are going to record a fixed number of frames, then I want to know how much time it takes to record.  You can do this by doing something like what is shown below (with the FOR loop example).
    I realize that this is in the "wrong" version of LabVIEW, but it just involves adding two Tick Count functions to your Camera loop.  If it does say that Delta-t = 15000 (15 seconds), then the main question, "Is the camera recording at 60 FPS", is answered as "Yes".  In any case, we should have enough data to make your code work as you want it to.
    Bob Schor 

  • Multipart/form-data using HTTPService, sending a binary file and some text in the same request.

    Hi There,
             I am new to FLEX and also new to writing a client for a web service.
    My question is more about flex (Flash builder 4.5) APIs, what APIs to use.
    I want to access a web service, that's published here.
    https://build.phonegap.com/docs/write_api
    here is the description of webservice
    ===========
    1) I have to do a post on POST https://build.phonegap.com/api/v1/apps
    2) content type has to be "multipart/form-data"
    3) JSON bodies of requests are expected to have the name 'data'
      data will be someting like this
    'data={"title":"API V1 App","package":"com.alunny.apiv1","version":"0.1.0","create_method":"file"}'
    4) include a zip file in the multipart body of your post, with the parameter name 'file'.
    ===========
    I want to make a 'multipart/form-data' Post and send
    one string and one zip file.
    My first question to self was If i send both string + binary data in the body ...
    how will server understand where string end and where zip file starts?
    Then read on W3.org( http://www.w3.org/TR/html401/interact/forms.html#h-17.13.4.2 )
    How is text + binary data can be sent through "multipart/form-data" post requst.
    there has to be some boundries.
    After this I read and example in flex and  tried following it.
    http://codeio.wordpress.com/2010/04/03/5-minutes-on-adobe-flex-mimic-file-upload-for-in-me mory-contents/
    but it doesn't seems to be working for me.
                        public function createNewApp(cb:Function , appFile : File):void
                                  var service:HTTPService = new HTTPService();
                                  service.url = ROOT+"apps";
                                  service.showBusyCursor = true;
                                  service.addEventListener(ResultEvent.RESULT, function(e:ResultEvent):void {
                                            //translate JSON
                                            trace(e.result);
                                            var result:String = e.result.toString();
                                            var data:Object = JSON.parse(result);
                                            cb(data.link);
                                  service.addEventListener(FaultEvent.FAULT, defaultFaultHandler); //todo : allow user to add his own as well
                                  authAndUploadNewApp(service,appFile);
                        private function authAndUploadNewApp(service:HTTPService,appFile : File):void {
                                  var encoder:Base64Encoder = new Base64Encoder();
                                  encoder.encode(username + ":"+password);
                                  service.headers = {Accept:"application/json", Authorization:"Basic " + encoder.toString()};
                                  service.method ="POST";
                                  var boundary:String = UIDUtil.createUID();
                                  service.contentType = "multipart/form-data; boundary=—————————" + boundary;
                                  var stream:FileStream = new FileStream();
                                  stream.open(appFile, FileMode.READ);
                                  var binaryData:ByteArray = new ByteArray();
                                  var fileData : String = new String();
                                  stream.readBytes(binaryData);
                                  stream.close();
                                  fileData = binaryData.readUTFBytes(binaryData.bytesAvailable); // I think this is where I have problem.... how do
                           //how do i converrt this bytearray/stream of data to string and send it in my post request's body - i guess if this step work rest should work..  
                                  var params: String = new String();
                                  var content:String = "—————————" + boundary + "nr";
                                  content += 'Content-Disposition: form-data; name="data";' + '{"title":"ELS test app 2","package":"com.elsapp.captivate","version":"12.3.09","create_method":"file"}' + "nr";
                                  content += "—————————" + boundary + "nr";
                                  content += 'Content-Disposition: form-data; name="file";' + fileData  + "nr";
                                  content += "—————————–" + boundary + "–nr";
                                  service.request = content;
                                  service.send();

    In the past I have used URLVariables with URLRequest and URLLoader to achieve this kind of requirement.
    Check out http://livedocs.adobe.com/flex/3/html/help.html?content=17_Networking_and_communications_3 .html which should be useful. My preference has always been to use this style instead of HTTPService objects, giving you a little more control which is what you need here.
    Let me know if you need any more assistance.

  • My Macbook pro was stolen 09/12, the police just returned it to me. I want to remove all the data and start over. Format the drive's etc. I have windows 7 on 1 partion and mountain lion OSX on the apple partition. How is the best way to do this?

    My Macbook pro was stolen 09/12, the police just returned it to me. I want to remove all the data and start over. Format the drive's etc. I have windows 7 on 1 partion and mountain lion OSX on the apple partition. How is the best way to do this?

    Have a look here...
    what-to-do-when-your-hard-drive-is-full.html

Maybe you are looking for

  • How would i know if my battery is DEAD

    i have a c6 phone and it has a major sickness not even key shortcuts can turn it on so can anybody tell me if i were able to take my battery out of my phone while charging will it die like it wont be able to work at all like its dead because i took m

  • Showing Data from 2 tables in jsflv

    I am developing a project in jsf and JPA I have one table called employees with column Name,Job_code,Dept_code For employee table I have a entity I have another table called ListOfValues with column Prefix,Lov_code and Lov_desc Prefix can be JOB(for

  • Query for Code combinations

    select code.code_combination_id CCIDs, code.segment1||'*'|| code.segment2||'*'|| code.segment3||'*'|| code.segment4||'*'|| code.segment5 Segments from ( select cc.CODE_COMBINATION_ID from gl_je_headers jh, gl_je_lines jl, gl_code_combinations cc, (se

  • Purchase the order, sign out-in, still cannot make...

    purchased this order (****************693) on April 27, tried to sing out and in several times on May 3. even changed the password, but still cannot make calls, land and mobile. any suggestions?

  • Start an outside application from the database

    Hello, is there a way to start an outside application from within the database and pass some field values as arguments? Thanks in advance, Milos