From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
10-30-2007 02:55 PM
11-01-2007 07:28 AM
Hello,
I have discovered that the examples for the TDS 1012 Tek scope are "as is" and do not come with support from National Instruments. I have to get into the 346 page Tek prograamming manual to figure out what is going on. I have spent some time with the local NI rep and he has found that the driver does not configure the scope to collect all of the data from the scope and that the Trigfer coupling on the scope is not implemented. So once I get things going I will let you knwo what has happened.
Regards,
Kaspar
11-01-2007 08:50 AM
11-01-2007 09:44 AM
The drivers for the scope were checked out with a 2XXX series scope and I am using a TDS 1012 scope, which may not be exactly identical.
Regards,
Kaspar
11-01-2007 10:01 AM
Hello,
I have decided to temporarily delay my efforts to understand what is going on with the "continuous mode" example of the scope and get the "edge" example going.because the edge operation represents how I really want my automated test setup to work. Here is what I have found so far
Regards,
Kaspar
11-01-2007 10:41 AM
1. The Initialize function is expected to reset the instrument every time when you don't have a False constant wired to the Reset? input.
2. What timeout value are you talking about? The only timeout value I can see is for the VISA Read in order to give the function enough time to read all of the data.
3. The edge triggered example is set to use the same channel as the trigger and the source of the waveform. You would need to modify the example to use a different source for the trigger. Obviously, if you use this example with a signal connected to CH1, it will trigger immediately. To wait to acquire until the external trigger is present, you would need to write some additional functions. I don't see anything in the driver for a Wait for SRQ or an OPC?
11-01-2007 11:13 AM
Hello,
I had to add a VISA WRITE VI to send the following command to the scope, "TRIG:MAI:EDGE:COUP AC". The reason I had to do this is that the "Configure Trigger" vi does not allow the user to specifiy the coupling for a edge trigger. Maybe the next release of the drivers from NI will have this.
Regards,
Kaspar
11-01-2007 11:50 AM
Hello,
Ok, now I feel that I am starting to get somewhere. I have disconnected the scope probe from channel one of the scope, therefore there is no signal going to the scope, obviously no edge is presented to the scope, the scope therefore does not get triggered and no waveform should come out of the scope...but it does....why?
So if you run the edge example vi no errors come out of any vi and a waveform appears on the front panel.
I initially thought that the timeout value was used to determine the duration that the read vi would wait until a edge ocurred on the scope input, which trigers the scope and then a waveform is generated by the scope and sent to the labview program. . It appears that the timeout value is only used to allow sufficient time for the waveform data to come out of the scope.
So why is a waveform being display on the front panel without any errors being generated when no trigger has been sent to the scope?
Regards
Kaspar
11-01-2007 12:06 PM
One thing is that the trigger mode is set for Auto. According to the Help for that input:
Sets the trigger mode. Auto mode generates a trigger if a trigger is not detected within a specific time period. It also enables scan mode for sweep speeds of 100 ms/div and slower. Normal mode waits for a valid trigger event.
Wire an enum constant of Normal to the input and I think you will see the behavior you expect.
11-01-2007 12:09 PM