07-10-2007 08:01 AM
I installed instrument driver for afg 3021 (signal generator).I ran an example and following error showed up.
Error - 1073807346 occured at VISA write in tkafg3k
Error Query.vi->tkafg3k Configure Standard Waveform.vi ->tkafg3k Frequency Sweep Example.vi
please help what should I do....
07-10-2007 08:54 AM
When you right click on the error cluster, you will see the option 'Explain Error". When you do that, what it says is:
VISA: (Hex 0xBFFF000E) The given session or object reference is invalid.
What do you have entered in the VISA Resource Name control (or it might be named VISA Session)? Did you type something in there and does it match the actual resource name of the instrument? On the right side of the control is a little arrow. You can click on that and get a lits of all VISA resources on your pc. You should find your instrument listed there and all you have to do is select it.
07-12-2007 09:13 AM
Thanks for your help..
Earlier I had put com1 in the visa resource name and was getting error...
After your suggestion i looked into various options available in visa resource name.. finally USB0::0x0699 worked..
07-12-2007 09:59 AM
same problem is comming in another comp but in this case VISA resource name control is showing only com1 and lpt1 as options .
both are not working ..
what should i do.
07-12-2007 10:12 AM