Page 1 of 1

connection bluetooth Arduino

PostPosted: Wed Mar 07, 2018 9:19 am
by michelafr
I have a problem with interface LabVIEW/Arduino Via LINX. Arduino is connected with PC by a HC-06 bluetooth module and a serial port COM3 is created. But the Serial doesen't find the device connected at the serial port and produce different error messages:
Error 5006 occurred at : >> Initialize >> Serial;
Property Node (arg 1) in VISA Configure Serial Port (Instr).vi->LMH-LINX.lvlib:Device.lvlib:Serial>LMH-LINX.lvlib:Device.lvlib:Initialize>>LMH-LINX.lvlib:Open>Untitled

Arduino device is composed by: arduino mega 2560, MPU 6050 and the bluetooth module.
Labview version is 2017
Computer with Windows 10

Maybe is there any compatibility problem?

Re: connection bluetooth Arduino

PostPosted: Mon May 14, 2018 10:07 am
Is the HC-06 paired and connected to your computer

Does the HC-06 "comm port" show up in the control panel?

Re: connection bluetooth Arduino

PostPosted: Tue May 15, 2018 9:21 am
by michelafr
Yes, the HC-06 is paired and connected and the "comm port" is shown.

Now i tried to make the interface with VISA functions instead of LINX and the "VISA configure serial port" block make a correct connection with arduino. But in this case the error is:

Error -1073807339 occurred at VISA Read or VISA Write.
Possible reason(s): VISA: (Hex 0xBFFF0015) Timeout expired before operation completed.

I followed the instructions found in N.I. to solve the problem but persists.

Thanks for any help.