07-26-2006 03:19 PM
07-26-2006 03:31 PM
07-26-2006 03:39 PM - edited 07-26-2006 03:39 PM
I downloaded a Plug-n-Play driver from Tektronix website.
Edit: I found the VIs but I don't see a Read Waveform vi?
Message Edited by nyc on 07-26-2006 04:44 PM
07-26-2006 04:14 PM - edited 07-26-2006 04:14 PM
I can understand the confusion if you're talking about the tktds7K driver. I have downloaded that too and played with it a while ago. It has numerous functions - some of them overlap and some would seldom be used. For example, the Set Horizontal Parameters, configures record length, scale, and position. There are separate functions for each of these as well. Every configure function also has a query function. Using the same Set Horizontal Parameters, there is also a Get Horizontal Parameters. The query would not normally be used because your program is in control and has set these. No reason to read back what you jst sent.
At the minimum, you want to do an initialize first and then set basic horizontal, vertical, trigger parameters. You could also cheat a little bit and just run one of the Auto Initialize functions. Then use the Get Waveform. This is the function I meant to say - not Read Waveform. The results from this can be wired to a graph in LabVIEW. You can use the x zero and x increment to scale the LabVIEW graph to match the scope's display.
You might want to look at another driver for some examples. The NiScope has one. In fact, approved drivers on NI's site are all supposed to have an example. A LabVIEW driver for another tek scope would also be a good place to look.
Message Edited by Dennis Knutson on 07-26-2006 03:16 PM
07-27-2006 08:13 AM
Thanks, Dennis.
I found the Get Waveform VI, and I will look into that and the other options you mentioned.