02-11-2019 01:42 PM
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.
Solved! Go to Solution.
02-11-2019 01:53 PM
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
02-12-2019 12:21 PM
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
02-12-2019 12:27 PM - edited 02-12-2019 12:27 PM
Are you sure you didn't accidentally choose the wrong COM port for the BMT932? Maybe one that is already open?
02-12-2019 12:42 PM - edited 02-12-2019 12:46 PM
@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?
02-12-2019 01:29 PM
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
02-14-2019 10:05 AM
'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.
10-28-2019 05:23 AM
how can i fixed this problem sir ? can you show me how