Y/t graph data - print - save

I want to record pressure curves for production control.  Up to the Y/t-graph it works fine.  After having recorded the pressure curve I want to press STOP and have the possibility to print out the Y/T-graph (with some text, name...) which is in a layout and also to save the data to a file (file type not fixed yet, tried it with ASCII file). One file per screen.
My problems:
Printing only works when measuring is running (means when START has been pressed). It doesnt matter what the graph shows.  After pressing STOP no printing.
Saving also only works when measuring is running, i.e. afer pressing START. Multiple pressing of Save writes multiple graphs in one file. After pressing STOP no saving.
Additionally, when saving in an ASCII-file, the time stamp per data is not the same as on the graph, example:
10,5860;0,8167;
10,5862;0,8100;
10,5864;0,8081;
10,5866;0,7898;
10,5868;0,7478;
10,5870;0,7039;
but they should always start with zero and go up to 50 ms.
Hope somebody can help or knows examples. Any help appreciated. Thanks.
Egon
The Layout:

Here is a technique for resetting the time and storing only that time.
DASYLab's timestamp cannot be reset, since the program relies on it being a value that increases monotonically while the measurement is running. 
To avoid having to stop/restart to reset the clock, you can use a technique shown in the attached worksheet.
After the relay, add a Timebase (Extract time from data channel) module. Branch the data wire to the input of the timebase. Configure the timebase for "x-base" and turn OFF the reset. This will now generate a value that starts at 0 and counts up in seconds. For the first block through the relay, it will start at 0. 
Store this new data channel in your file, and, if you like, under ASCII options, turn off the time channel. Use this time data channel as the time column in the file. You can also use it to display the data on an X/Y chart, where the x-axis is this time channel. 
You need one or two Actions now -- the first is on the FALLING EDGE of the Relay control input - so connect the Action to the wire that goes into the X of the Relay (the output of your trigger). Receiver is the Timebase, Event is Falling Edge, Action is Reset. So this will reset the Time Base to start at zero for the next group of data.  
My second action tells the Write Data module to go to next file. I have it configured for Multifile, and each file now starts at 0 seconds. Same event, Falling Edge, receiver is the Write Data module, and the action is Next File. 
I hope that this helps. 
Note that the zip file includes two files, *.DSA and *.DMX. Copy both to the same folder to open with DASYLab. It should work with any recent version of the software, but was created with V12.
- cj
Measurement Computing (MCC) has free technical support. Visit www.mccdaq.com and click on the "Support" tab for all support options, including DASYLab.
Attachments:
ResetTime.zip ‏155 KB

Similar Messages

  • How do I write a vi that will save graph data and text data (related to the graph) so the next time I want to view the graph data the text data is included in the read vi?

    I am new at writing vi's and hope you may be able to help. I would like to create a vi that will graph measurements taken from a daq device. I would like to include text data that a user can choose from (example: machine number, test circuit, load cell type) that will stay with the graph so when the graph is viewed at a later time the text data (explaining parts of the graph) will display with the graph data. I have included a vi I am using to capture and display a force value. Any help would be greatly appreicated.
    Attachments:
    force.vi ‏500 KB

    What you want is a DATALOG file:
    When you save a file, use the BUNDLE function to bundle your machine number, test circuit, whatever (include a few spare fields), plus your graph data. Get the graph data from the source, or use a local variable of the graph itself.
    Wire the bundle output to the DATALOG TYPE of a NEW FILE function. (I presume you'll use a FILE DIALOG set to SAVE FILE to choose a file path).
    Write the same bundle output to the DATA input of a WRITE FILE function.
    Use a CLOSE FILE function to (ahem) close the file.
    When you want to read a file, use a FILE DIALOG set to EXISTING FILE (or some other means) to specify what file to read. Wire the same cluster type to the DATALOG TYPE of the FILE DIALOG, so that it will only
    offer files of the correct type.
    When you have a file path chosen, wire the bundle to the DATALOG TYPE input of a FILE OPEN operation.
    Use a FILE READ to read a single cluster - the output of FILE READ will be a cluster of the right type.
    Use a CLOSE FILE function to....
    Out of the FILE READ function, you can UNBUNDLE BY NAME the data and send to the graph and the other fields, or, if you're clever, you can use a cluster on the screen, and not unbundle it. That's harder though, since you probably want the text fields to be controls (inputs) and the graph to be an indicator (output).
    Hope that helps.
    Steve Bird
    Culverson Software - Elegant software that is a pleasure to use.
    Culverson.com
    Blog for (mostly LabVIEW) programmers: Tips And Tricks

  • I need to print save the date magnets that are 8.5x5.5 but I can't seem to align the printer / paper

    I need to print save the date magnets that are 8.5x5.5 but I can’t seem to align the printer / paper to print correctly!! HELP!

    Please read this post then provide some details.  What printer model? What operating system? What program are you using to print?
    How thick are the magnet sheets?  I would expect most printers would have trouble feeding this material.
    Bob Headrick,  HP Expert
    I am not an employee of HP, I am a volunteer posting here on my own time.
    If your problem is solved please click the "Accept as Solution" button ------------V
    If my answer was helpful please click the "Thumbs Up" to say "Thank You"--V

  • How do I tell Preview/Safari not to date-stamp when I print/save a webpage?

    How do I tell Preview/Safari not to date-stamp when I print/save a webpage as a PDF?
    There doesn't appear to be a Preference for this. Thanks.

    Oops, sorry, I was planning on selecting "helpful" and then "solved" for your reply, but the "solved" button has disappeared. Looks like I can only pick one.

  • Been using Macs since classic. Using MBP, OS 10.7.5. Trying to figure out how to print/save folder contents (Name, Date Modified, Size Kind) of entire (non-visible) folder? Any apps that can do this?

    Been using Macs since before classic. Using MBP, OS 10.7.5. Trying to figure out how to print/save folder contents including what's not visible on screen (Name, Date Modified, Size Kind) in entire folder?
    Screen shots are getting old hat.
    Tried select all, copy, paste into pages, but it didn't display date modified, size & kind, and also included images of selected files, which is too large. 
    Any apps/shortcuts/utilities that can do this?  Thanks in advance.

    Hello Achates:
    I did not read the rather long post. If you wish to reinstall OS X 10.4, use your software install DVD. Backup is essential. To minimize your risk, I would use an archive and install:
    http://docs.info.apple.com/article.html?artnum=107120
    In that way, you will have a fresh copy of OS X and your current settings will be preserved.
    Incidentally, I do not agree that the printer problem is best solved by reinstalling OS X. I have had HP printers for sometime and, on one occasion, had difficulty after an upgrade. HP technical support walked me through uninstalling all traces of the HP driver and then reinstalling.
    Barry

  • Restrict sensitive data leakage from Printing, "Save as", Copying and Priting screen?

    Our CEO highly suspected some of our staff who have sold the confidential drawings to competitors but we do not have enough proof. How can we restrict sensitive data leakage from Printing, "Save as", Copying and Priting screen?
    Thank you for your advice in advance.

    calmman8 wrote:
    How can we restrict sensitive data leakage from Printing, "Save as", Copying and Priting screen?
    That all depends on how much hassel you'll willing to go through. You can save an image from Photoshop as a PDF...then inside of Acrobat (can't do it in Photoshop) you have two levels os security. You can require password to even open a PDF and the 2nd level is to require a second password to be able to print, edit or change (once opened there's nothing you can do about screen captures).
    So, you could then control the number of people that had the various password access to open or edit. But...keeping track of those passwords and making sure the people that need them have them can be an issue.
    Note that a secured password protected PDF can have text, images, movies and audio–pretty much anything you might need. Also note there are some issues regarding the password encryption...I don't recall what level of encryption is capable of being exported to forgien countries...you should look into that if disctribution would be outside of the US.

  • How to print / save Structural Graphics

    I want to print structural graphics displayed by a standard report. The print button there does not print anything.
    Any clues on how I can print / save the structural graphics?
    More information: FM standard is using to show the graphics is:    
        CALL FUNCTION 'PD_STRUCTURAL_GRAPHICS'
          EXPORTING
            context_id           = 'GENERAL'
            index                = ls_node-id
            load_pd_toolbox      = 'X'
            load_pd_profiles     = 'X'
          EXCEPTIONS
            no_objects_available = 1
            OTHERS               = 2.
    That internally calls GRAPH_STRUCTURAL.
    Report that we are using to test: RHXSTR00
    Thanks in adv.

    Hi,
    Why don't you use the function "excel inplace" in the ALV?  With the ALV you have some buttons "SORT/TOTAL/FILTER... and you have PRINT and EXCEL INPLACE"?
    Do you use the method   call method g_grid->set_table_for_first_display in order to display your data alv?
    Best regards

  • Printing FILE NAME and DATE PRINTED?

    when i was on a mac i used to be able to have a default in the printer dialog so that every page printed showed the file name and the data printed. i would like to do this in the mac but i am guessing that this has to be done in either the specialized software dialog box or perhaps in a mac dialog box?
    in any event, can anyone help me figure out where i might find a place to do this? i haveadobe acrobat but i wold also like to do it in something like Preview as well.
    TIA

    hotwheels 22 wrote:
    if i have documents coming that i print for a project and these are quite naturally coming from different software it i have no way now of being able to FIND this file in my computer when i am looking at it.
    Consider using Find from the File menu or Spotlight to search for the document. In one of your previous posts, you stated that you name documents with a date and name. Then perhaps search for the name. Also, with your method of naming documents, if the document is a letter, wouldn't the date on the letter and the person to whom the letter is addressed to give clues to the filename and thus finding it on your computer?
    this is a major organizational issue over here and customizing a template for all my various software should be unnecessary IMHO.
    I do not know how many documents you deal with but I do know that there a many organizations that deal with billions of documents. In addition, if you share documents with others or others with you, there is not a filenaming method that works for everyone. People adapt to each other. A date in a filename could have several forms such as month-date-year or year-month-date, two digits or four digits for year and so on and so forth.
    Are you saying it IS necessary to have this dual file type that has a Pages document which then prints a PDF?
    No. Please re-read  what I wrote and the Pages Help Center articles.
    also, is there in fact a way to save a PDF back out as a Pages document?
    Yes, re-read what I wrote (that which you quoted).
    "Acrobat has the capability to save a PDF in other formats such as Microsoft Word, which can be opened in Pages. That said IMO, a separate Pages document for each "custom" letter/report would not be necessary."
    alternatively i guess i could create a Pages TEMPLATE - that has a DATE in the header that automatically updates .../but/ i am realizing that this has the unfortunate consequence of having the DATE updated if i open the Pages document again
    But that is what you stated you wanted because
    ...and try to remember to SAVE AS this document with another name with the original FILE NAME but a NEW DATE. this does not always work and sometimes i write over the original accidentally.
    anyway, maybe the answer here is to create a Template for any new document type and simply use this template any time i need to create a PDF and then not save or delete the original Pages document but this seems a bit hairy and dangerous in terms of possibly losing a file if i forget to print to PDF or something.
    You have redundant backups, yes?
    It seems that your understanding of a template is different from what it actually is, its purpose and its use. If you have not already done so, try using one of the included Pages templates to create a document that you would reuse to get a better understanding of how it works and to help determine your workflow. What you wrote in the last post seems to be a lot of what ifs but not hands on experience with the software itself. My response was based on my experience of using many types of software and in particular to your questions, Pages and Acrobat. Perhaps you will find better responses in the Pages forum and for Acrobat there is a forum at the Adobe web site.
    is there a lock file functionality in Pages in Mountain Lion or was this in Lion?!
    Perhaps reviewing the tutorials for Pages or searching with Google would  help answer many of your questions.

  • How do you make sure the form data prints (commercial offset printing)?

    We are commercial printers and have been using a PDF workflow for quite a while now. We recently received a PDF form to print but any information filled in the form just dropped out (all non-data printed fine). When we send it to a laser printer, everything is there but when it goes through the RIP and imposition software (both Heidelberg), all the data is missing.
    When I open the PDF from the client, I am not able to change or even highlight the data. There is a message saying the information is locked.
    We were able to get around the problem by importing the PDF into InDesign and making a new PDF from that but that seems to be an extra step that coulb be avoided.
    Anyone else with a similar problem (and solution)?

    How can you tell that it is an XFA form? If I can identify the form type from when I get jobs like this, I can use the workaround from the beginning.
    Here are a few more screen shots of things that are happening:
    When I try to Print to a PDF:
    When I use the Mac "Save to Adobe PDF" in the print dialog:
    I get this message often:
    and when I try to embed the missing font (PitStop), I get this:
    The only thing that has worked so far is placing the PDF in InDesign and Exporting to a new PDF from there. I guess this is making the flattened PDF that you talked about.

  • Graph data causes VI file to very large

    My VI reads data files with up to 500,000 data points and displays them in various formats in graphs.  If I "make current values default" with all these graphs populated the file size when I save the VI is very large (72 MB).  Is there any way to not save the all the graph data with the VI and just the parameters so that the VI starts the same way the next time I open it to process a new set of data?  I don't need all the graphs to be populated when I start again.

    72MB!
    Be aware that you don't have to make eveything default. You can programmatically set only the necessary items to Default with a property node when the program starts and/or ends. My point being, you shouldn't have to "make current values default" then save.
    Richard

  • Restrict sensitive document leakage from Printing, "Save as", Copying and Priting screen?

    Our President highly suspected some of our staff who have sold the confidential documents to competitors but we do not have enough proof. How can we restrict sensitive data leakage from Printing, "Save as", Copying and Priting screen?
    Thank you for your advice in advance.

    Adobe LiveCycle Rights Management can apply DRM to a PDF file, which prevents printing and content extraction, and links access to the document to a user login - but there is no way to prevent that user saving a copy of the file to disk or a USB drive, or making multiple copies, no from telling someone else their login details. You can revoke access remotely if you suspect a copy has been stolen, but there's no DRM solution for PDF files which can lock the content to a hardware platform, for example in the way a copy of Windows "activates" itself. Opening and copying a file are two entirely-different concepts, and if a LCDRM-encrypted file is published to the Web without the login details to open it, we can be absolutely certain it cannot be cracked as the encryption hashes used by Adobe are so complex they would take billions of years to break, even with government-level resources. Naturally if a user reveals their login details to someone, LiveCycle's audit trail will prove this and you can take legal action against that user, but they may not care if the document has sufficient value.
    Using PDF there is no way to block access to the Print Screen button. Some third-party software converts the PDF into a proprietary file format which only opens in their own software, that in turn attempts to block the print screen keystroke, but it's not hack-proof and the resulting file is of course no longer a PDF. Ultimately if you can see something on screen you can always copy it, either by use of a custom display driver, remote-desktop system or photographing the screen with a cellphone camera, and re-OCRing the pages from those photos.
    Where documents are sufficiently-important to require a guarantee that on-screen reading is the only possible thing a user can do once the file is opened, they should be restricted to using hardware in secured locations, where network access, printers, USB ports etc. can all be removed. This is the approach taken by many enterprise and public-sector agencies; but once a document is distributed to an unregulated location there will always be a way around copy protection on page content if a user can open the file and view it on screen. While there are some interactive page elements in PDF which are harder to "screen scrape" than others (SWF, video and 3D), it can be done. The only elements of a PDF file which can be guaranteed secure even in an unsecure location are invisible features such as scripts when the PDF is protected using LCDRM to ensure it cannot be opened in third-party software.

  • Graph Data Labels in OBIEE 11g - Customizing

    Hi folks!
    Would somebody know how to select what is shown in graph data labels in OBIEE 11g?
    For example in a scatter graph data label I'd like to show the Group only (not the combination of Series, Group, X and Y, as by default). For a pie chart one can select the data shown in data labels to some extent (name / value), however couldn't find this option for scatter graph.
    After searching I could only find instructions for 10g - such as John's instructions at http://obiee101.blogspot.com.es/2008/01/obiee-xy-and-data-in-mouse-over-label.html.
    However, my understanding is that the graph engine in OBIEE 11g is now different, and the 10g instructions are not valid for 11g anymore.
    I was also having a look on the .cxml files in OBIEE 11g but those seem to relate to colors only?
    Any help appreciated, best regards,
    Ilmari

    hello,
    i'm facing the same situation here,did you find a solution for your problem?

  • How to read csv Data and save it with no format changes

    Hi,
    At first I am not used to Diadem.
    I want to read in a csv file do some calculation with the data and save the changed data in the same csv file. A file as an example is attached (496888_edit.csv).
    Therefore I wrote this lines:
    Dim i
    Dim Delimiter
    Dim FilePath
    Dim FileParameters
    Delimiter = ";"
    Call DataFileLoad(FilePath,"CSV","Load")
    ' Do some calculations
    FileParameters = "<filename>"&FilePath&"</filename>"&"<delimiter>"&​Delimiter&"</delimiter>"
    Call DataFileSave(FileParameters,"CSV")
    After running that lines the csv file is looking like the other attached file (496888_after.csv)
    Because of some reasons which I could not explain Diadem is rounding the numbers. I want that both files look the same.
    What can I do?
    There might be another extension. Just to read in some columns, doing some calculations and after the calculation saving that columns in the file instead of the originals. (The csv files are much bigger like the two examples)
    Thanks,
    Jens 
    Attachments:
    496888_edit.csv ‏1 KB
    496888_after.csv ‏1 KB

    The only thing that can be changed in writing float64 values using the CSV plugin is the decimal point ('.' or ',').
    The format of the doubles is not rounded but the CSV writer only writes the relevant digits.
    It is using up to 15 digits which is the resolution of float 64. It would also switch to scintific writing if necessary.
    So there is no way to force only 6 digits and filling 0s are left out. So if you just fear that you loose precision that will not happen.
    (only the typical problems of epressing a 2 system binary value in a 10 system text string)
    If you are interested to have a fix float format the only solution is to write with VBS directly to a file doing formatting on your own, which is slow.

  • Print- Save as PDF from Java applet on a webpage in Safari

    I am on a Mac running OS X version 10.8.5 and Safari version 6.1.2.  I am using the website www.wordle.net, which uses a Java applet to create a Wordle. The applet has a print button.  The website FAQ says I should be able to save a Wordle as a PDF on a Mac.  When I try to do this I get a small dialog that simply says "Error whilte printing."
    Here is some of the system.log:
    Mar  4 16:57:54 Kroghs-iMac.local sandboxd[602] ([557]): java(557) deny file-write-create /private/var/folders/f0/c8r_ry6d4131x95phl6fv7kr0000gn/T/WebKitPlugin-f12Pu6/53 164c620f81b
    Mar  4 16:57:54 Kroghs-iMac.local java[557]: spawn_via_launchd() failed, errno=1 label=[0x0-0x96096].com.apple.ImageCaptureExtension2 path=/System/Library/Image Capture/Support/Image Capture Extension.app/Contents/MacOS/Image Capture Extension flags=0
    Mar  4 16:57:54 --- last message repeated 1 time ---
    Mar  4 16:57:54 Kroghs-iMac.local java[557]: ERROR: [ICCommandCenter launchAgent] - Failed to launch agent[1], status: -10810, url: 'file://localhost/System/Library/Image%20Capture/Support/Image%20Capture%20Exte nsion.app/'
    Mar  4 16:57:54 Kroghs-iMac.local java[557]:
              ***** Failed to launch Image Capture Extension.
    Mar  4 16:57:54 Kroghs-iMac.local java[557]: spawn_via_launchd() failed, errno=1 label=[0x0-0x97097].com.apple.ImageCaptureExtension2 path=/System/Library/Image Capture/Support/Image Capture Extension.app/Contents/MacOS/Image Capture Extension flags=0
    Mar  4 16:57:54 --- last message repeated 1 time ---
    Mar  4 16:57:54 Kroghs-iMac.local java[557]: ERROR: [ICCommandCenter launchAgent] - Failed to launch agent[1], status: -10810, url: 'file://localhost/System/Library/Image%20Capture/Support/Image%20Capture%20Exte nsion.app/'
    Mar  4 16:57:54 Kroghs-iMac.local java[557]:
              ***** Failed to launch Image Capture Extension.
    Mar  4 16:57:54 Kroghs-iMac.local java[557]: spawn_via_launchd() failed, errno=1 label=[0x0-0x98098].com.apple.ImageCaptureExtension2 path=/System/Library/Image Capture/Support/Image Capture Extension.app/Contents/MacOS/Image Capture Extension flags=0
    Mar  4 16:57:54 --- last message repeated 1 time ---
    Mar  4 16:57:54 Kroghs-iMac.local java[557]: ERROR: [ICCommandCenter launchAgent] - Failed to launch agent[1], status: -10810, url: 'file://localhost/System/Library/Image%20Capture/Support/Image%20Capture%20Exte nsion.app/'
    Mar  4 16:57:54 Kroghs-iMac.local java[557]:
              ***** Failed to launch Image Capture Extension.
    Mar  4 16:57:54 Kroghs-iMac.local java[557]: spawn_via_launchd() failed, errno=1 label=[0x0-0x99099].com.apple.ImageCaptureExtension2 path=/System/Library/Image Capture/Support/Image Capture Extension.app/Contents/MacOS/Image Capture Extension flags=0
    Mar  4 16:57:54 --- last message repeated 1 time ---
    Mar  4 16:57:54 Kroghs-iMac.local java[557]: ERROR: [ICCommandCenter launchAgent] - Failed to launch agent[1], status: -10810, url: 'file://localhost/System/Library/Image%20Capture/Support/Image%20Capture%20Exte nsion.app/'
    Mar  4 16:57:54 Kroghs-iMac.local java[557]:
              ***** Failed to launch Image Capture Extension.
    Mar  4 16:57:54 Kroghs-iMac.local java[557]: spawn_via_launchd() failed, errno=1 label=[0x0-0x9a09a].com.apple.ImageCaptureExtension2 path=/System/Library/Image Capture/Support/Image Capture Extension.app/Contents/MacOS/Image Capture Extension flags=0
    Mar  4 16:57:54 --- last message repeated 1 time ---
    Mar  4 16:57:54 Kroghs-iMac.local java[557]: ERROR: [ICCommandCenter launchAgent] - Failed to launch agent[1], status: -10810, url: 'file://localhost/System/Library/Image%20Capture/Support/Image%20Capture%20Exte nsion.app/'
    Mar  4 16:57:54 Kroghs-iMac.local java[557]:
              ***** Failed to launch Image Capture Extension.
    Mar  4 16:57:55 Kroghs-iMac.local java[557]: Printing failed because PMSessionBeginCGDocumentNoDialog() returned -108.
    I've removed the Adobe plug-ins from /Library/Plug-Ins
    Print->Save to PDF works from Safari when I am on a regular webpage.
    Print->Save to PDF works from Pages
    Help!  I want to make Wordles for the teachers at my kids school for Teacher Appreciation Week.

    YES!!!!!!!
    I was pulling my hair out last night over this. I noticed the Find function was not working properly. I KNEW there was something in the PDF and Preview was not showing it. I spent 2 hours trying to find someone with a similar Find function problem, but could not find much. Also, it could not copy and paste text. I KNOW it worked before because I had taken notes on this particular PDF and had copy and pasted whole paragraphs for myself into Pages. Which is what got me searching online tonight.
    I re-downloaded the same PDF. When first opened in Preview, the Find and copy/paste functions worked. Same thing in Acrobat reader and Acrobat Pro. After confirming this, I re-opened it in Preview, highlighted some text and closed. It asked to Save Changes and I did. I immediately re-opened it, and guess what? Find no longer works and neither does copy/paste. Just to be sure, I tried re-opening in Acrobat reader and Pro; same thing. No copy/paste, corrupted Find feature. Well, copy/paste sort of functions, its just that it pastes a square with an alien head in it that says "Private Use 100000 Plane 16".
    And finally, on some PDFs that have not even been saved in Preview, the Find function is not working properly also. It happened on the re-downloaded PDF I just talked about. It finds many instances of the word, bit the left and right arrows next to "Found on X# Pages are greyed out and do not move through the document. Once I go to the left pane that displays page thumbnails and click on a few different ones, THEN it starts working.
    So yes, Apple, Preview is corrupting PDF files upon save, AND it is not working properly on other files. Please fix this. PLEASE.
    And my specs are the same as Gary; iMac 27 inch Late 2009, Yosemite 10.10.1. Is ANYONE else having this issue with a different Mac?

  • How to print (save) pages as PDF in Safari?

    I´m running Lion, we´re getting better acquainted. However, with Safari I´m having problems when I try to save a web page as a PDF using the Print-Save PDF options. It tells me the file cannot be saved. I try duplicating, exporting, etc, and the only solution I´ve found is to email the document, which, when attatched to the email arrives as a PDF with no problem whatsoever. This is silly (close to dancing infront of my MacBook Pro with a black chicken spitting rum in all directions). Please help!

    Hi ...
    Might be a plugin causing this..
    Quit Safari.
    Go to /Library/Internet Plug-Ins
    Move the Adobe PDF Browser plugin to the Trash.
    Relaunch Safari.

Maybe you are looking for