LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

problem using DPO7254 IVI driver

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?

0 Kudos
Message 1 of 5
(2,701 Views)

The error message is "Primary Error: Invalid value for parameter or property"

0 Kudos
Message 2 of 5
(2,688 Views)

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?

0 Kudos
Message 3 of 5
(2,671 Views)

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.

-Jim B
Applications Engineer, National Instruments
CLD, CTD
0 Kudos
Message 4 of 5
(2,642 Views)

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.

0 Kudos
Message 5 of 5
(2,631 Views)