Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Error -1073807298 when communicating via COM port

Hi,

 

I'm using Labview to acquire data from an IMU (Inertial Measurement Unit) via Bluetooth (with a USB Bluetooth connector). To do so, i use the COM 5 serial port and i'm able to read data from the IMU, by doing:

 

VISA configure serial port > VISA open > VISA read

 

The thing is when i try to write commands to port i get the error message -1073807298.

 

I used MAX to check the status of COM 5 and it is showing:

 

"VISA returned this device when finding resources, and MAX could use VISA to parse the resource name.  The resource is busy, so MAX could not successfully open a VISA session to the device."

 

How can i write bytes to port? Can anyone help with that?

 

 

PS: I'm still an amateur using Labview, so you will have to excuse me if a seem silly with this question.

 

0 Kudos
Message 1 of 4
(4,591 Views)
The port is probably in use by another application. Maybe some bluetooth stuff
greetings from the Netherlands
0 Kudos
Message 2 of 4
(4,583 Views)

Sorry for my late response....until now i had something in hands and i didn't have much time so review this problem...

 

So, i did more tests and this error continues....i try to use simple things just to try to comunicate with my device.

Using MAX and VISA test panel i can read data that is continously sent from my device. When i try to write a comand to the device this error occurs at VISA Write. It has something to do with the string i'm writing?

 

I really would appreciate if someone could help me...this is really killing me...

 

Thanks

0 Kudos
Message 3 of 4
(4,466 Views)

look in the msg below. KC has solved this same erro, only he has it displayed in hex.

 

http://forums.ni.com/ni/board/message?board.id=140&message.id=34995#M34995

 

greetings from the Netherlands
0 Kudos
Message 4 of 4
(4,459 Views)