LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error -1073807246 occurred at Property Node (arg 1) in VISA Configure Serial Port (Instr).vi

Solved!
Go to solution

Hi there,

Could someone please tell me why i get the following error message?

Error -1073807246 occurred at Property Node (arg 1) in VISA Configure Serial Port (Instr).vi
Possible reason(s):

VISA: (Hex 0xBFFF0072) The resource is valid, but VISA cannot currently access it.

0 Kudos
Message 1 of 8
(7,278 Views)
Solution
Accepted by topic author LTBALAZS

Another process is using the device?

 

Some weird comm devices have bad drivers that require a reboot to free up comm ports.

 

Hope that is not your case.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 2 of 8
(7,272 Views)

Well, in my code i initialize the following instruments:
TESTO 435, LMG95, BMT932. Each has its own COMx port
I also have to create and write to file the measurement data. (delay of main while loop is 1000ms)

Error -1073807246 occurs when all is together.

My project without BMT932 works well though,

Is there a 'limit' of number of instruments that i can use in my project?

Kind Regards,
Balázs

0 Kudos
Message 3 of 8
(7,228 Views)

Are you sure you didn't accidentally choose the wrong COM port for the BMT932?  Maybe one that is already open?

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 4 of 8
(7,226 Views)

@LTBALAZS wrote:

Well, in my code i initialize the following instruments:
TESTO 435, LMG95, BMT932. Each has its own COMx port
I also have to create and write to file the measurement data. (delay of main while loop is 1000ms)

My project without BMT932 works well though,



Without seeing your code we can only take your word for it that this is how it works. Obviously that is not how it actually works or you would not be getting the  Error -1073807246.

 

What I am getting at here is you need to post your code so we can see what you did wrong.

 


Is there a 'limit' of number of instruments that i can use in my project?


The only limit would be the number of Com ports a computer can have (I am guessing 255)

 

I just looked it up and according to this Maximum Number of Serial Com Ports on a Windows Computer

 

The maximum number of COM ports is dependent on both the operating system (OS) and the serial driver.

The maximum number of serial ports that NI-VISA currently supports on any platform is 256.

COM port limitations are listed below:
On Windows NT, NI-VISA limits the number of COM ports to 99.
On Windows 95, 98, 2000, and XP the OS and NI-VISA limit the number of COM ports to 256.
On Windows 7, 8, and 10, NI-VISA limits the number of COM ports to 256.
For the serial ENET products on Windows NT and 2000, NI-VISA limits the number of COM ports to 256.

 

Pretty good guess, huh?

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 5 of 8
(7,220 Views)

Dumb question

 

This is not a RS-485 port with all of the devices on one port is it?

 

Otherwise NI IO Trace will show you what is happening on those ports.

 

And then there is the extreme possibility that you would share your code so we do not have to wildly speculate.

 

Sure I have been there and done that but the hard part is figuring which there is appropriate for this situation.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 6 of 8
(7,206 Views)
Solution
Accepted by Ben

'Some weird comm devices have bad drivers that require a reboot to free up comm ports.'

I have tried another serial to usb converter and it works now.
Thanks.

Message 7 of 8
(7,184 Views)

how can i fixed this problem sir ? can you show me how

0 Kudos
Message 8 of 8
(6,250 Views)