Reported In
Reported In shows products that are verified to work for the solution described in this article. This solution might also apply to other similar products or applications.
Software
- Measurement & Automation Explorer (MAX)
- LabVIEW
Driver
- NI-VISA
- NI-488.2
- NI-Serial
Issue Details
When attempting to use NI-VISA to communicate with hardware in LabVIEW or NI-MAX, I get the following error:
Error -1073807202 (Hex Code: 0xBFFF009E): A code library required by VISA could not be located.
How can I troubleshoot this error?
Solution
You may be getting this error for one of the following reasons:
- NI-VISA, NI-Serial, or NI-488.2 Driver not installed in Your System:
- Development: Verify that the driver(s) you need are installed and appears under My Systems >> Software in NI MAX.
- Otherwise, download and install the correct driver(s) for your hardware (found under Supported Devices under the driver version readme)
- Deployment: Verify that that the driver(s) you need are under Remote System >> [Your Target] >> Software. If it is not installed on the device, install them on your target.
- Development: Verify that the driver(s) you need are installed and appears under My Systems >> Software in NI MAX.
- Visa32.dll missing:
- Verify that this DLL is located at C:WindowsSystem32. Uninstalling and reinstalling or repairing I-VISA should install this DLL to the correct location.
- NI-VISA is not Primary: When installed third party drivers, it’s important to confirm and set NI-VISA as primary .
- Internal Error in NI MAX: Fix or Reset the NI MAX Database File.
- Note: Resetting the MAX database will just delete all the scales, tasks and configurations of recognized devices on the Measurement and Automation Explorer itself, it will not impact the hardware in any
- Driver Issue: Reinstall or repair the driver.
I’ve been working on my Sparkfun Inventor’s kit and have been running into all kind of problems in getting it set up. My experience has deviated from the instructional videos they offer so I’ve had to solve a bunch of problems. The latest is this error I get when I try running their Blink Example:
After typing in the Serial Port COM7 and clicking the green button, I get the error:
Error Text:
Error – 1073807202 occurred at VISA Close in LMH-LINX.lvlib:Device.lvlib:Close Device.vi->LMH-LINX.lvlib:Close.vi->LMH-LINX.lvlib:LINX – Blink (Simple).vi
I did some research and finally figured out that NI-VISA wasn’t installed at all on my computer. You can check to see if it is installed by launching LabVIEW and then clicking on Tools > Measurement & Automation Explorer…
In the Measurement & Automation Explorer expand the Software section in the left column:
There is no NI-VISA installed! I solved this problem and have the step-by-step solution for you too…
Hardware/Software:
- MacBook Pro
- OS 10.10.3 Yosemite
- Oracle VM VirtualBox
- Windows 7
- SparkFun Inventor’s Kit for LabVIEW
I had followed all the instruction so I don’t know how that happened but here’s how to install it:
Step 1: Visit http://www.ni.com/downloads/drivers/
Step 2: Click on “NI VISA” in the Popular Drivers section or click here.
Click on “NI VISA” in the Popular Drivers Section |
Step 3: Click on the driver for your operating system.
For me running Windows 7, it would be the driver circled below:
For Windows 7 Click on the appropriate NI-VISA driver |
Step 4: Click on the full downloader link:
NI Downloader Link |
You can save it to your hard drive or run it from the location (which just downloads it to a temporary location).
Step 5: Run the NI Downloader.
You will first get a “Open File – Security Warning.” Go ahead and click the “Run” button.
Open File – Security Warning for NI Downloader — Click Run |
Step 6: Pick a location to save the installation executable.
I just saved it on the desktop:
NI Downloader – Pick a location to save the installer file |
Step 7: Run the file you just downloaded, NI-VISA 14.X.X.
It will then extract the files to your hard drive. Click OK:
NI-VISA self-extracting archive dialog window–click OK |
Step 8: Click the “Unzip” button to extract the installation files.
You can change the location if you want by clicking the “Browse…” button:
NI-VISA installation file extraction |
You’ll get this window when it is done. Click ok:
You’ll then get a “User Account Control” message. Click “Yes.”
Click Yes to allow the installer to run |
Step 9: Go through the NI-VISA Installation.
At the NI-VISA installation window click “Next >>”
Initial NI-VISA Installation Window–Click Next >> |
You can modify the Destination Directory or just click Next >>. I would suggest just clicking Next unless you are installing software to a different drive:
Click Next to begin the installation |
If you want to adjust the Features to install change them in this window and then click “Next >>”
NI-VISA Features |
You will then get the option to unselect the “Search for important messages…” option, then click “Next >>”
Leave the check-box checked to receive product notifications–Click Next |
You will then either find out any new product notifications or see that there are no notifications for your products like I did:
No product notifications– Click Next >> |
Accept the 2 License Agreements and then click “Next >>”
Accept the 2 License Agreement(s) and click Next >> |
Check the “Always trust software from National Instruments Corporation” checkbox and click Next >>
Check the box to always trust National Instruments Corporation and then click Next >> |
Click Next to begin the installation of NI-VISA:
Click Next >> to begin the installation of NI-VISA |
If everything goes well you’ll get the “Installation complete!” window. Click Next >>
NI-VISA Installation Complete |
You’ll then be asked to Restart your computer. Click the “Restart” button:
Click “Restart” |
You can now relaunch the Measurement & Automation Explorer by selecting Tools > Measurement & Automation Explorer from the LabVIEW menu. Then expand the Software section in the left column an see that it’s been installed:
Step 10: Open the Manual Blink .vi file Example and try it again.
You can find the Blink Example file on your hard drive in the following location: C:Program FilesNational InstrumentsLabVIEW 2014examplesMakerHubLINXLINX – Blink (Simple).vi
Step 11: Manually enter the COM port and make sure Digital Output Channel is set to 13.
Step 12: Click the right-pointing Run arrow to run the program:
Click the Run Arrow |
Step 13: Click the green circle to turn on the blue LED on the RedBoard.
The green circle will light up in the LabView window when the button has been clicked:
The green circle changes to a brighter shade of Green when the LED is on |
And the LED on the RedBoard will come on (by pin 13):
The Blue LED light will come on |
If your blue LED comes on you have installed NI-VISA correctly!
Amazon Associate Disclosure: As an Amazon Associate I earn from qualifying purchases. This means if you click on an affiliate link and purchase the item, I will receive an affiliate commission. The price of the item is the same whether it is an affiliate link or not. Regardless, I only recommend products or services I believe will add value to Share Your Repair readers. By using the affiliate links, you are helping support Share Your Repair, and I genuinely appreciate your support.
Skip to main content
Welcome to EDAboard.com
Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals… and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
-
EDA Software
-
Software Problems, Hints and Reviews
You should upgrade or use an alternative browser.
Labview 8.2 Problem with Serial Write and Read using VISA
-
Thread starterclsfox
-
Start dateJun 20, 2007
- Status
- Not open for further replies.
-
#1
- Joined
- Apr 29, 2007
- Messages
- 23
- Helped
- 1
- Reputation
-
2
- Reaction score
- 0
- Trophy points
- 1,281
- Location
-
Greece
- Activity points
-
1,447
I am using Labview 8.2 to communicate with a microcontroller using serial write/read (at least I am trying to…).
I open the example file «Basic_Serial_Write_and_Read.vi» and as soon as I press «Run» the following error appears:
«Error -1073807202 occurred at Property Node in VISA Configure Serial Port (Instr).vi-> Basic_Serial_Write_and_Read.vi
This error code is undefined. No one has provided a description for this code, or you might have wired a number that is not an error code to the error code input.»
The same thing happens with every example using VISA serial communication I try to open.
My OS is Windows XP SP2.
Any ideas as to what is wrong and how I can fix it?
Thank you!
-
#2
- Joined
- Jul 11, 2001
- Messages
- 322
- Helped
- 33
- Reputation
-
64
- Reaction score
- 7
- Trophy points
- 1,298
- Activity points
-
2,293
The example file «Basic_Serial_Write_and_Read.vi» runs without problems in my computer. If you ask to LabVIEW to explain the error code -1073807202, you get the following explanation:
Error -1073807202 occurred at an unidentified locationPossible reason(s):
VISA: (Hex 0xBFFF009E) A code library required by VISA could not be located or loaded.
=========================
VISA: (Hex 0xBFFF009E) A code library required by VISA could not be located or loaded.
I think you must re-install LabVIEW.
-
#3
- Joined
- Mar 23, 2002
- Messages
- 508
- Helped
- 72
- Reputation
-
144
- Reaction score
- 43
- Trophy points
- 1,308
- Activity points
-
3,755
Do you have the full version of LV or a studnet version?
-
#4
- Joined
- Apr 29, 2007
- Messages
- 23
- Helped
- 1
- Reputation
-
2
- Reaction score
- 0
- Trophy points
- 1,281
- Location
-
Greece
- Activity points
-
1,447
Thanks to you all for taking the time to reply.
The problem was solved. I was using the student version which does not include the VISA drivers. So all I had to do after all was download and install the VISA software which was not included.
If someone else needs to download VISA drivers here is the link where all VISA versions can be found:
h**p://www.ni.com/visa/
- Status
- Not open for further replies.
Similar threads
-
SPI read delay in FT2232H with libMPSSE
- Started by Eisenheim
- Nov 10, 2022
- Replies: 0
-
Write software error
- Started by m.beta
- Jan 15, 2023
- Replies: 4
-
nand writing problem
- Started by m.beta
- Jan 19, 2023
- Replies: 0
-
Diodes extraction problem with Calibre Interactive LVS
- Started by Narcisuss the Reborn
- Jun 8, 2022
- Replies: 4
-
STM32 Serial Port Control with LabView
- Started by uranyumx
- Oct 15, 2020
- Replies: 4
-
EDA Software
-
Software Problems, Hints and Reviews
-
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.
Содержание
- Instrument Control (GPIB, Serial, VISA, IVI)
- Error -1073807330 occurred at Property Node (arg 2) in VISA Configure Serial Port (Instr).vi
- Error -1073807330 occurred at Property Node (arg 2) in VISA Configure Serial Port (Instr).vi
- Re: Error -1073807330 occurred at Property Node (arg 2) in VISA Configure Serial Port (Instr).vi
- LabVIEW
- Error: Property Node (arg in VISA Configure Serial Port
- Re: Error: Property Node (arg in VISA Configure Serial Port
- Re: Error: Property Node (arg in VISA Configure Serial Port
- Re: Error: Property Node (arg in VISA Configure Serial Port
- Re: Error: Property Node (arg in VISA Configure Serial Port
- Re: Error: Property Node (arg in VISA Configure Serial Port
- LabVIEW
- Can’t open serial port
- Can’t open serial port
- Re: Can’t open serial port
- Re: Can’t open serial port
- Re: Can’t open serial port
- Re: Can’t open serial port
- LabVIEW
- Error -1073807202 occurred at Property Node in VISA Configure Serial Port
- Error -1073807202 occurred at Property Node in VISA Configure Serial Port
- Re: Error -1073807202 occurred at Property Node in VISA Configure Serial Port
- Re: Error -1073807202 occurred at Property Node in VISA Configure Serial Port
- Re: Error -1073807202 occurred at Property Node in VISA Configure Serial Port
- LabVIEW
- VISA serial 125000 baud — Error -1073807330 occurred at Property Node (arg 2) in VISA Configure Serial Port
- Re: VISA serial 125000 baud — Error -1073807330 occurred at Property Node (arg 2) in VISA Configure Serial Port
- Re: VISA serial 125000 baud — Error -1073807330 occurred at Property Node (arg 2) in VISA Configure Serial Port
- Re: VISA serial 125000 baud — Error -1073807330 occurred at Property Node (arg 2) in VISA Configure Serial Port
Instrument Control (GPIB, Serial, VISA, IVI)
Error -1073807330 occurred at Property Node (arg 2) in VISA Configure Serial Port (Instr).vi
Error -1073807330 occurred at Property Node (arg 2) in VISA Configure Serial Port (Instr).vi
11-17-2005 12:21 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report to a Moderator
I am trying to set the baud rate on my COM port to 56.7K and I am getting the following error (copied from «explain error » box).
Error -1073807330 occurred at Property Node (arg 2) in
(Instr).vi->Change baud rate.vi
VISA: (Hex 0xBFFF001E) The specified state of the attribute is not valid, or is not supported as defined by the resource.
Now I have gone and changed the baud rate (by force) through Device Manager and the baud rate is supported (I am assuming, since it gave me that baud rate as an option). The only problem now if that when I try to configure my COM port for the parity and bit size with the Visa Cofnigure Serial Port , the default baud rate on that call is 9600. I am assuming that this will change that COM port’s baud rate to 9600, even though I have set it to 56.7K through Device Manager.
I have included the sample code where the error is being generated on my system.
Why am I getting this error ?
Re: Error -1073807330 occurred at Property Node (arg 2) in VISA Configure Serial Port (Instr).vi
11-18-2005 01:20 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report to a Moderator
your error explanation is OK as I read it. It says:
Error -1073807330 occurred at Property Node (arg 2) in
(Instr).vi->Change baud rate.vi
This means that you call ‘Change baud rate.vi’, which calls ‘VISA Configure
(Instr).vi’, where a property node is executed. The second argument of this PropNode (.. at Property Node (arg 2).. ) causes the above mentioned error, because the stated value is not acceptabel for the PropNode.
I can’t tell the reason for this inacceptance, but being able to set this baud rate in device manager does not mean that all the participating code and devices can handle this. Espacially NI-VISA itself _may_ have a problem with this..
What to do?
1. Try to connect to the serial device using Hyperterminal with exactly the same parameters. If this succeeds than VISA is to blame. Contact NI support for help. Else find another baud rate.
2. Right-click to the PropNode and select ‘Ignore errors inside Node’. Test your code now. If it works this way you should safe ‘VISA Configure
(Instr).vi’ with a different name into your private project folder (for example as ‘ My VISA Configure
HTH and
Greetings from Germany!
—
Uwe
Источник
LabVIEW
Error: Property Node (arg in VISA Configure Serial Port
Re: Error: Property Node (arg in VISA Configure Serial Port
07-23-2014 03:38 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report to a Moderator
Saved me a bunch of time trying to trouble shoot my LabVIEW code. I will get another hub and try that. Thanks for the quick reply!!
Re: Error: Property Node (arg in VISA Configure Serial Port
07-24-2014 07:58 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report to a Moderator
So, I played around with a new USB hub that has 4A of power which should be good since I am running 8 parts. I am still having the same trouble. When LabVIEW is up and running and I disconnect a USB, the program will no longer see the USB unless i shut down LabVIEW completely (not just the vi) and restart the program. Is this normal? The current setup that I am tryingt to replace has a PCI card for the 8-up port so it is not possible to unplug the part while LabVIEW is running. Is it possible for LabVIEW to see the port after replugging the port in while LabVIEW is running?
Re: Error: Property Node (arg in VISA Configure Serial Port
07-24-2014 08:50 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report to a Moderator
What is the device on the other end of the USB Cable?
Re: Error: Property Node (arg in VISA Configure Serial Port
07-24-2014 09:00 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report to a Moderator
For troubleshooting purposes, nothing. On the production line it will be a PCB board
Re: Error: Property Node (arg in VISA Configure Serial Port
07-24-2014 09:05 AM — edited 07-24-2014 09:06 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report to a Moderator
I just had a curious thought. The original error message says that there is an error while configuring the serial port. If you look inside that VI all that is there is one large property node. Now the error message says that the problem is specifically with arg8, or the 8th item in the property node (Serial Settings:Flow Control). The significance of this is that property nodes «execute» from top to bottom so LV had already set 7 other properties on the port without complaint.
First, put a property node before the serial port configuration that has all the same properties as the one in serial port configuration VI, but are all set to read. When the error is occurring, what are the properties that you are reading?
Second, try creating a copy of the existing serial port configuration VI that doesn’t have the last two properties (Flow control and whatever is after it). Do you still get errors?
PS: you will need to try these experiments because I have not been able to duplicate your problem on my computer.
Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion
Источник
LabVIEW
Can’t open serial port
Can’t open serial port
06-28-2006 03:37 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report to a Moderator
Re: Can’t open serial port
06-28-2006 03:40 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report to a Moderator
«It’s the questions that drive us.”
Re: Can’t open serial port
06-28-2006 03:47 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report to a Moderator
Re: Can’t open serial port
06-28-2006 04:36 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report to a Moderator
«It’s the questions that drive us.”
Re: Can’t open serial port
06-28-2006 05:18 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report to a Moderator
Try to open the port using Windows Hyperterminal and see if you get an errror.
Certified LabVIEW Architect
LabVIEW 6.1 . 2013, LVOOP, GOOP, TestStand, DAQ, and Vison
Источник
LabVIEW
Error -1073807202 occurred at Property Node in VISA Configure Serial Port
Error -1073807202 occurred at Property Node in VISA Configure Serial Port
05-01-2005 08:08 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report to a Moderator
I get the message «Error -1073807202 occurred at Property Node in VISA Configure Serial Port», when try to use
the include examples of serial port read/write. or build my own.
Any help is greatly appreciated.
Best Regards
LabView 7.1.1 running on Windows XP
Re: Error -1073807202 occurred at Property Node in VISA Configure Serial Port
05-01-2005 09:25 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report to a Moderator
Re: Error -1073807202 occurred at Property Node in VISA Configure Serial Port
05-02-2005 12:03 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report to a Moderator
DavidT, thank you for your interest.
I working in a full, fresh installation of LabView 7.1.
Also a have installed the 7.1.1 update, but it finnish with
lot’s of errors (i attached the log file).
No matters the update is installed or not, i got the same error.
My Windows XP Pro is a spanish version.
Re: Error -1073807202 occurred at Property Node in VISA Configure Serial Port
05-02-2005 12:44 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report to a Moderator
What David had in mind was that you uninstall/reinstall/upgrade NI-VISA, which is driver software that may not have been installed when you installed LabVIEW. Certainly, the 7.1.1 patch would not install this driver.
Check out the How Do I Resolve VISA Error -1073807202 (0xBFFF009E)? KnowledgeBase entry, use its links if appropriate, and follow up if this does not help.
Источник
LabVIEW
VISA serial 125000 baud — Error -1073807330 occurred at Property Node (arg 2) in VISA Configure Serial Port
Re: VISA serial 125000 baud — Error -1073807330 occurred at Property Node (arg 2) in VISA Configure Serial Port
08-04-2009 07:24 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report to a Moderator
Your VI shows that the baud rate is being not set exactly to 125000 but instead it is being set to 128000 which is close enough to allow the communication to work.
I should be able to make the serial port communicate at 125000 using this new VI with the VISA serial VI.
Thank you for your help.
Re: VISA serial 125000 baud — Error -1073807330 occurred at Property Node (arg 2) in VISA Configure Serial Port
08-04-2009 07:57 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report to a Moderator
Well the idea I had on how to make the VISA serial VI and the dll VI to work together, does not work as you can not open the dll while the VISA serial VI has an open session.
Is there a way we can make the VISA serial VI ignore the read back and leave the baud at 125k? Ignore Errors inside Node does not work.
Re: VISA serial 125000 baud — Error -1073807330 occurred at Property Node (arg 2) in VISA Configure Serial Port
08-04-2009 08:03 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report to a Moderator
Ok, the easiest solutions are usually right in front of your face.
Using the TestBaudRate I was able to determine that the actual baud rate that the serial port was going to was 128k. Since I know that this is close enough for communication, I set the baud rate for the VISA serial VI to 128k. The VISA serial VI is happy and my communication works.
Источник
QUOTE(NIBC @ Oct 16 2007, 10:50 PM)
I had another problem. I try to use the Advanced Serial Write and Read subvi in new blank vi (Try_Serial.vi). When i simulate using lookback test, try type something in the ‘string to write’ but it wouldn’t display back on the ‘read string’ Try_Serial.vi. It just display on Advanced Serial Write and Read(M).vi. It couln’t pass out the string.
I would like to know why the Try_Serial.vi can’t display out the string while i type something in string to write box? How to solve this problem?
My initial guess would be that you’re just misunderstanding the Advanced Serial Write and Read.vi example slightly. Notice that the example (which you’re using as a subVI) has a While loop inside it. When your code runs that VI as a subVI, the execution will get «stuck» in the subVI because that While loop will just keep running over and over. The read string won’t get passed out until that While loop stops. (You can check this by running your code, then opening the subVI’s front panel and clicking the Stop button in the lower left.)
If you’re looking for example code to edit for use in an application, I would advise you to take a look at the Basic Serial Write and Read.vi, as well. It executes once and exits, which is more likely to suit your purposes for a subVI.