01-06-2006 12:02 PM
01-06-2006 12:44 PM
01-06-2006 01:34 PM
I use this driver for the TDS3034 scope, I was not completly satisfied with the driver however and modified several of the VI's. The one VI I had issues with was the GetRawWaveform, it is only setput ro retrieve BINARY data from the scope. If you have the scope set up to output ASCII data this VI will Error as it is looking for the specific header in the binary format. The main issue I had with binary format on my scope is for some reason I could not explain the voltage/div value affected the number of sample points the scope returned. I have absolutly NO IDEA why, so I just modified the GetRawWaveform VI to format the ASCII data.
This driver (in my opinion) is not written well and not complete in some aspects, however, with some minor modifications it will work.
01-13-2006 12:51 PM
Hi,
Sorry for the late answer, i opened the vi GetRawWaveform and in the case structure the condition is if is binnary format "#", if wish to compare to ascii format what is the condition ?
Regards,
Rodrigo
01-13-2006 12:59 PM - edited 01-13-2006 12:59 PM
02-08-2006 10:55 PM
Hello AndrewAlford,
Can you please explain the modification you did, I am new to LabView and I can not follow what is going on inside this False Case.
Some rare instances I had Dual channel example working without time-out report, on the same day it doesn't work, when it worked I used Ch1 on the scope's sample signal and Ch2 two on a DC source with 15 Volt. I have the same settings for both channels, scope shows 15 V as standalone device, on LabView screen 10 Volts ???
Any advice help, appreciated.
Hasan
PS. if possible can I have a copy of modified getraw*.vi
02-09-2006 09:35 AM
In the original GetRawWaveform VI the False case has nothing in it. The scope sends a header with the binary data format, if you select ASCII the scope sends a comma seperated string of ASCII characters representing numbers. I modified this VI strictly for my application so I hardwire a constant of 10000 data points as I never reduce the number to 5000. So the For loop parses the String of 10000 ASCII characters into an array of decimal numbers.
The scope will timeout if you haven't set the triggering channel properly. If you are using the Dual waveform example you need to ensure the that your signal will meet the trigger conditions, if the trigger conditions are not met the scope does not provide any data and this is why the vi will timeout.
02-14-2007 06:42 AM
02-14-2007 08:47 AM
10-10-2007 11:37 AM
Andrew,
I implimented your ASCII change to the GetRawWaveform file which got rid of the time-out issues I was seeing. Thank you. I now get intermittent data return though. In all cases the scope displays the waveform, but I intermittently get any real data in my comma delimited ASCII file. The file has 5 columns for time, and channels 1 through 4. In the cases that I don't get data, all 5 columns contain 10K zeros. Do you have any ideas why?
Thanks,
Del Anderson
Albuquerque, NM