10-02-2009 10:32 AM
Hi Mike,
I couldn't quite follow what you were saying. Is the problem that your result in Excel is cut off for the first series of waves? Then manually set your pk-pk full scale range to be bigger. I used 25 and it seemed to solve the problem. It seems like it was just cutting off the peaks when it digitized because of whatever the pk-pk is being selected.
Try using 25 and let me know if that works for you.
10-02-2009 10:25 PM
Hi mike,
I added a "Get Date/Time" to your main, hope this will fix your date problem.
For the second problem, post some feedback first for the solutions posted.
Regards,
10-03-2009 05:37 AM
Thank you both for your help...
Well I've tried to do what you've told me JefL and although I go to "DWDT analog to digital.vi" properties and set the full-scale range (pk-pk) and the full-scale range (out) from 2 to 25 as you told me...it doesn't keep the value even though i press "save all" before I push run again...I don't know why this is happening...I faced the same problem with x-axis when i tried to change its range...The program keeps some values an although it lets me change them, it doesn't save them at last. When I press run it shows the previous values that it had. And generally the program doesn't save some changes I do every time...For example I must every time that I open my .vi to set again the frequency and #of samples in the front panel because the values have changed to some defaults and not to those that I had changed last time I worked...Any ideas why???
As for you freitas thank you for your response, but did you send me my file back with the get date time component???because I don't see any attachments in your post...
Thank you for your time...
Michalis V.
Postgraduate Student
Department of Informatics and Telecommunications
National & Kapodistrian University of Athens
10-03-2009 05:18 PM
Hi mike:
Sorry, my brain is getting frozen sometimes.. :S
Here is the .vi! (attached)
One more thing, that problem with the parameters not beeing saved, you have to (at front panel) select it "left click", then "right click" on the variable go to Data Operations and Make Current Value Default.
Hope this helps.
Regards,
10-04-2009 02:26 AM
Thank you very much freitas for your quick response...Well you were very right about the procedure of making a value default...In combination with what JefL has told me I finally managed to export the wave right...As far as it concerns time, what you send me doesn't work...If you have noticed I have changed the fisrt file I have sent you a little in 10th message("my_main.vi").So I had to adjust the new circuit you sent me to mine...But this is not the problem...Even to the file that you sent me the component doesn't pass the time to the .txt file!!!!I really cannot understand what is happening...
Michalis V.
Postgraduate Student
Department of Informatics and Telecommunications
National & Kapodistrian University of Athens
10-04-2009 02:33 AM
Well i made a mistake...i pushed solution because I thought that was reffered to the specific answer and not ot the whole thread...If you can, fix it please...
Michalis V.
Postgraduate Student
Department of Informatics and Telecommunications
National & Kapodistrian University of Athens
10-05-2009 04:55 PM
Hi Michalis,
The reason is that when you write to file you've taken just the raw amplitudes out and not included the actual waveform (blue line instead of compound brown line).
With digital waveforms, you actually need to use special VIs to write to file (Store Digital, etc). The real question here, though, is why are you using digital waveforms? Just use analog waveforms! Then it is much simpler. You can just wire the analog waveform into write to file directly. Digital waveforms are meant for high speed DIO (TTL logic).
11-01-2009 07:48 AM
11-02-2009 10:32 AM
Hi Mike,
It looks like your oscilloscope (which I don't have the driver for) outputs some sort of cluster. If you want to find the specific components of whatever it's sending you, you need to Unbundle it (or Unbundle by Name). I'm not sure what each of the components are coming out of your driver VIs, so I can't comment further.
I would definitely go through the LabVIEW Help. It is very detailed on most topics. Further, you can search through the KnowledgeBases and DevZones on the ni.com website. Otherwise, take a LabVIEW Core class if you get a chance (I'm not sure what they offer in Greece). Most of it is experience. Just keep at it!
11-03-2009 02:47 AM
Thank you for your quick response. Sorry that i didn't send you all the information needed...Here it is...In the .zip file you'll find the driver at HP 54111D Graphed.vi
I want to connect that to the rest circuit that i had...Thanks for your information...I don't know either if there is a Labview seminar course in Greece, but i'll check it...I'm seeing and the unbundle component now but if you can, i would like you to give me some more help...Thanks again and i'll try to reach to the bottom of it as soon as possible so as not to bother you constantly, but still seems to me like a huge mountain to climb...it has uncountable components and information and i'm only at the beggining of it...
Michalis V.
Postgraduate Student
Department of Informatics and Telecommunications
National & Kapodistrian University of Athens