02-17-2014 10:33 AM
I have coded up a routine to setup a capture, aquire the waveform and then use fetchwaveform to get the ata and display it on the computer. This works great with my TDS5054, but now I am trying to get it to work with my DPO7254 and the fetchwaveform times out with an invalid parameter error. I have checked the handle and channel name. Same ones all the previous calls used and worked fine. I see the scope getting configured and setup. Then it triggers and captures the waveform on its display. But the fetchwaveform just fails. Anythoughts?
02-17-2014 01:09 PM
The error message is "Primary Error: Invalid value for parameter or property"
02-18-2014 10:13 AM
I have determined it is the virtual channel name. The fetchwaveform call seems to be very unstable. Sometimes it works and sometimes it doesn't. I have not been able to figure out what is causing it to lose track of the virtual channel mappings. Any ideas?
02-19-2014 06:03 PM
Hi Muffin,
Are you using this driver in LabVIEW or a text-based environment? Also, what are the inputs to the fetchwaveform call?
I am not familiar with this driver, but it might be that this call takes slightly different options depending on which scope it is used with.
02-20-2014 06:24 AM
I am using it in Labview 2013. It is in the IVIscope subset so it is not scope specific; that would kind of nullify the point. It is a fairly simple VI as it only takes the handle, channel name and error in. It is in the low-level section, but so is the initial acquisition which I use prior to it and that works just fine.