03-21-2006 02:52 PM
03-21-2006 04:44 PM
I was able to get a waveform in a graph!! (thanks!)
A couple of questions
1. time (X-axis) on graph displays between 0 and 2E-7 and this really crams the whole waveform on the left 1/8 of the area...how can I change the x-axis scale??
2. the file generated shows all wrong time stamp value....where do I need to look to correct this?
Asking above 2 questions, x-axis shown on graph and what it is exported in a file seems not matching (???)
03-22-2006 04:48 PM
I am not sure how I can retrieve x-axis points other than time stamp as it is shown in my previous posting. Does anyone have any experience with this type of problem? Perhaps, I will need to back calculate to obtain this(?)I
03-22-2006 05:04 PM - edited 03-22-2006 05:04 PM
I just think the problem is how the Export Waveforms to Spreadsheet File is formatting the time data. Since the header as the correct dt, it looks like it's just a matter of precision in the conversion to strings. I'll admit that I haven't used the Export function that much. You can dig into it to see where the time to string conversion is happening and change the precision or cimply calculate the time stamps yourself and use Write to Spreadsheet file. LabVIEW also has the Write LabVIEW Measurements File function but I think that might have the same issue with precision. Building a time array is trivial. See the attachment.
Message Edited by Dennis Knutson on 03-22-200604:05 PM
03-23-2006 11:07 AM
03-23-2006 11:43 AM - edited 03-23-2006 11:43 AM
You are getting it. The X offset and X Increment. If you don't want to create a waveform data type, bundle the information from the scope per the help for a graph. With this information the graph should scale correctly. You probably need to change the formatting of the X axis. Right click on the graph and select X Scale>Formatting. Try setting it to Scientific.
Message Edited by Dennis Knutson on 03-23-200610:43 AM
03-23-2006 02:33 PM
I think I am still getting the same results after using 'Build Arrray' to concatenate (x offset, x increment, waveform array)
Now the time (x-axis) displays 0 to 550...tried different formatting...but it did not help...
03-23-2006 02:55 PM
03-23-2006 04:15 PM
03-23-2006 04:33 PM
I don't know what went wrong with your bundle. You would have to create indicators for each output, run it, save as defaults, save the VI, and then re-post.
You are specifying a 500 point transfer I believe with the waveform size control. The return points should be the same unless you've set the record length to be less. I think there is another function for setting the scope's record length.