07-10-2012 10:50 PM
please let me know how I can free that Com port so that it can be used for modbus... I am using VISA CLOSE Function, but I think some unknown process taking the handle of that com port continuously.
07-10-2012 11:20 PM
Close other programs you have running. Have you possibly opened some communication software that came with the device you are trying to talk with?
If that doesn't work, reboot your PC and try using it again before you work with any other programs. Something is opening it and failing to close it. It's just a matter of figuring out which program is doing that.
07-10-2012 11:28 PM
Hello Sachin
This error most often occurs when you try to open a VISA Session to a resource that already has been opened. (In serial communication, this is not allowed, and subsequently causes this error). Be sure to close all sessions in your code.
Before post any query first try yourself to resolve it. If not able to resolve than only post the query. You have the error code -1073807246 servh this in search box this will search all the discussion and solutions related to this,
07-11-2012
01:47 AM
- last edited on
04-25-2025
01:09 PM
by
Content Cleaner
Please fo thorugh following link,
It will help you, for the modbus communication.
https://forums.ni.com/t5/Reference-Design-Content/LabVIEW-Modbus-API/ta-p/3524019
https://www.ni.com/en/support/downloads/tools-network/download.modbus-master.html
Prabhakant
07-11-2012 06:54 AM
Hello Prabhakant,
All above mention links are related with the ModBUS library. I think discussion is about the error, If engineer getting the error it indicates that he already have the ModBUS library and while executing the code he is faceing some issues.