10-12-2011 01:55 AM
I use the example"Tektronix TDS 200 1000 2000 Series Acquire Waveform.vi" from downloaded driver.
RS232 port tested ok.
The connection is ok.( RS232(PC)---RS232(Tektronix TDS210) )
Error is attached.
Please help. Thanks.
10-12-2011 09:43 AM
Did you select the VISA resource name from the pulldown menu?
10-12-2011 11:11 PM
Yes, I have selected com1, which connect to TDS210.
10-13-2011 02:40 AM
1. Find TDS210 in MAX;
2.When error 1073807346 occured, the reason maybe:
LabVIEW provides you a configurable option to close VISA sessions. The Automatically close VISA sessions option allows open VISA sessions to close automatically when the top-level VI goes idle. This option helps you avoid potential problems the next time you run the VI. As a result, when you try to access that VISA session using a global variable, you can get an invalid VISA session error if you have the option enabled.
In LabVIEW 6.x and later, the Automatically close VISA sessions option is disabled by default. If you receive this error, check if you have this option enabled in LabVIEW. To disable the feature and eliminate the error message, you can follow the instructions below pertaining to your version of LabVIEW:
10-13-2011 07:21 AM
Thanks Ryan.
I will check Automatically close VISA sessions. My version is Labview 8.6.
I connect TDS210 to my PC(Original COM port) through RS232(DB9). TDS210 can not be found in MAX when connected through RS232, Right?
10-13-2011 08:11 AM
Absolutely NO!
TDS210 could be found in MAX if the driver has been installled properly. Therefore, it is the first step to find the card in MAX.
And then, you could test communication with TDS210 with the VISA test panel in MAX. If it could work, try the examples you find
10-13-2011 08:59 AM
Driver was downloaded from NI website, should be ok. But I still can not find TDS210 in MAX, only can see COM port. Please kindly help to fix. Thanks.
10-13-2011 09:42 AM
@RyanWhite wrote:
Absolutely NO!
TDS210 could be found in MAX if the driver has been installled properly. Therefore, it is the first step to find the card in MAX.
And then, you could test communication with TDS210 with the VISA test panel in MAX. If it could work, try the examples you find
That is just incorrect. You will never, ever see a specific instrument in MAX when it is connected to a com port. As navy1979 says, all you will see in MAX is the com port.
navy1979,
In MAX, are you able to right click on the com port and select 'Open VISA Test Panel'? If so, can you go to the Basic I/O tab, select vIWrite and do that without getting the error?
One last question. Is NI-VISA the only VISA you have installed? Or did you perhaps also install Tek-VISA?
10-13-2011 11:15 PM - edited 10-13-2011 11:18 PM
Thanks Dennis for the clarification.
I can select 'Open VISA Test Panel'. The test result is like below. viWrite has no error, viRead has error "BFFF0015".
NI-VISA is the only VISA installed in my PC, NO Tek-VISA. Please help.
10-14-2011 01:02 AM
error "BFFF0015" means timeout. To solve it ,you might try as following:
Run "Write" command first, and then "Read" command within 10s, because the default timeout value is 10s. Set it in I/O setting if you wanna change the time.