LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

pull data from scope & save to a file

the bundle function was from 'Cluster' menu...it was wired to Get Waveform_mod.vi with suggested order...

Default values should not be assigned for both 'waveform size' & 'return points'??

I did add 'get record length' VI and it grabs the horizontal record length from the scope...but this does not synch up with waveform size...how can I do this?

 

 

0 Kudos
Message 21 of 37
(1,439 Views)

According to one of your previous posts, you should be seeing something like this on the graph. If that's not what you see I the scope, I can't help you because I don't have the scope or anything else. If you are seeing something on the scope but nothing on the graph, then are you sure that the scope is actually returning data? If you want more data from the scope, then you need to specify more than the 500 points you currently ae requesting. Change the stop number or change the set start stop to False. The help for this VI explains all of this. Have you read it?

I don't think you understood at all my previous post and that shows you are missing some fundamental knowledge of LabVIEW. Because I or no one else can reproduce your test setup, you need to provide us with the actual data that the scope is returning if you want help in formatting it. I will repeat what I said earlier step by step. Right click on the waveform output of tktds8k Get Waveform_mod.vi and select Create>Indicator. Do the same thing on the X Increment output. Do the exact same thing on the X Offset indicator. Now, run the program. Assuming that you have actaully gotten data from the scope, go to the operate menu and select Make Current Values Default. Save the VI. This will make the new indicators have the data from the scope so that someone can actually look at the data you are getting without having the scope. You can then post this VI.

Message Edited by Dennis Knutson on 03-24-200608:53 AM

Message 22 of 37
(1,436 Views)
created 3 indicators for output of tktds8k Get Waveform_mod.vi
Set False for 'set start/stop' setting.
 
thanks for the help
 
 
0 Kudos
Message 23 of 37
(1,423 Views)
Okay, so this is the data you are getting from the scope. It looks similar to the screen shot of the scope. What else is the problem?
Message 24 of 37
(1,416 Views)
1. how can I get x-axis points instead of time-stamp in the text file?
   build array with x offset and x increment??
2. return points does not change dynamically with waveform size value
 
0 Kudos
Message 25 of 37
(1,408 Views)

trying to find out if I am headed to the right direction

to build a column for x-axis points:

-x offset (starting point) to add x increment (up to number on record length)

- attach the new x-axis points to the corresponding y values..

thank you!

0 Kudos
Message 26 of 37
(1,394 Views)
I already showed you how to do this. Go back to page two. It's right in the middle - the one with the for loop.
Message 27 of 37
(1,388 Views)
here is the updated VI
I think the other VI is doing the conversion, but cannot find where to change the precison or format
0 Kudos
Message 28 of 37
(1,379 Views)
In the same post with the for loop, did you not read where I said you could then replace the Export Waveform with the Write to Spreadsheet File? Here that is. Even if you use the Export Waveform, you were using it incorrectly when you concantenated the two arrays together. You would not have gotten two columns like I thought you wanted.
Message 29 of 37
(1,375 Views)
how can I add the current time to  beginning of a file...(a header info)
 
don't know how to append the current tme data to the start of the arrray...
 
0 Kudos
Message 30 of 37
(1,368 Views)