09-18-2010 10:00 AM
excuse me, I fresh with labview and this forum as well.
actually i do not how to post a code, which text i must paste when the window of insert code opens.
sorry for the confusion
09-18-2010 10:06 AM
Right below the message body. Click on browse. Find the VI and select it. You should know that attaching a top level VI will not attach any subVIs. You can zip everthing up and attach the zip file.
09-18-2010 10:14 AM
does this work?
09-18-2010 10:20 AM
No. You only zipped the top level VI. That is NOT everything. You would need to include all of your subVIs. Did you copy this code from somewhere? Perhaps if you provided that link, it might be easier. You would still have to attach any VIs you modified.
09-18-2010 10:31 AM
I attach it again,, also look at http://zone.ni.com/devzone/cda/epd/p/id/3618
09-18-2010 10:49 AM
Thats an improvement but there is nothing there that uses a scope as far as I can see.
This getting pretty frustrating.
09-18-2010 10:56 AM
my Scan data is from ultrasonic sensor that is connected with Tektronix tds 3054 oscilliscope. this why i asked if i can replace scan data of ni example with my own
09-18-2010 11:08 AM
Yes. I thought that was the whole point of this and you said that when you did this replacement as mentioned here, the data was different. I don't see anywhere in the code you posted where the replacement was done. The Usonic_A_Scan_Data (test) is the one that would need to be modified/replaced. Since you do not seem to have done that, I can't understand your question about different data. The data on that front panel is irrelevant at this point. You need to show the difference between the simulated and actual data. If and when you are acquiring real data, go to the edit menu and select 'Make current values default'. You would then need to save the VI before posting that.
09-18-2010 11:27 AM
This is my trial to modify the A-scan data, and as u see it gives no signal
09-18-2010 01:15 PM
I can't see anything. You did not replace the simulated data in the subVI with the scope data - you replaced the subVI. In the subVI, replace the simulated data and the index array with a scope capture.