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.
06-04-2014 05:04 PM
Hello
I have a feeling this problem might be tricky to diagnose and explain but I've tried to fix it on my own with no success.
I am trying to communicate with a Tektronix AWG70002A using the IVI drivers found here. (the 64-bit version) and I wrote a script to connect to it and upload waveforms. In the past it worked. I'm not sure what changed but now it's giving me various errors with the refrence number and other things. I'm not very experienced when it comes to TCIP, IVI and connecting with instruments like this so any help will be appreciated.
I'm also connecting through LAN. Thanks.
Solved! Go to Solution.
06-04-2014 06:20 PM
What were the errors you are getting? I don't have LabVIEW right now, so I can't look at your code. But the error messages usually tell you exactly what is wrong.
06-04-2014 07:28 PM - edited 06-04-2014 07:28 PM
When I run the initialization block I would get 3005 before the invoke node after the open application vi. I think I had a 97 at one point and two others, both long strings of numbers.
06-05-2014 06:54 AM
Then can you get a screen shot of these errors?
If you didn't have a proper initialization, then it would make sense that you would get a 97 later on. From the LabVIEW Explain Error:
Error 97 occurred at an unidentified location Possible reason(s): LabVIEW: A null or previously deleted refnum was passed in as an input.
06-05-2014 12:07 PM - edited 06-05-2014 12:19 PM
The error I'm getting now is -2147221164 which says "Class not registered in .vi" Which happens after I try to pass the automation refnum to the automation open vi. The reference number is coming from the IVI driver I mentioned in the first post.
Actually.. Looking closer, I reinstalled the drivers, the ones mentioned in the first post and they are different than the ones I used when the program was working. I can't seem to find those old ones. I think it was version 1.4 or 1.04
I rewrote a simple version that should connect with the device, do some stuff then close but it gave me the same 2147221164 error when using the drivers found here.. http://www.tek.com/awg7061b-software/ivi-c-driver-awg5000-and-awg7000-v50
I got a 3005 error using a version 3 driver. I'm not sure where it came from..
06-05-2014 03:46 PM - edited 06-05-2014 04:08 PM
Essentially I've done this http://www.ni.com/white-paper/4505/en/ and I get a -2147192738 error. I can ping the device and it shows up in the visa tektronix list so I know it's there.
So I think the issue is the driver. I installed the IVI-COM driver here http://www.tek.com/awg7101-software/ivi-com-driver-awg5000-and-awg7000 but when I select only show creatable objects, nothing shows up.
06-05-2014 04:35 PM
So I restarted my computer, tried this driver http://in.tek.com/signal-generator/awg70000-arbitrary-waveform-generator/awg70001a-1-software/ivi-dr...
Set the reset on initialize to false and it worked.