8 years, 1 month ago.

how to i configure my mbed serial connection to Labview

Hello I am trying to use my mbed though labview and i can't seem to get it to work. I have followed the instructions step by step in this link https://developer.mbed.org/cookbook/Interfacing-with-LabVIEW. I can see my device in NI-MAX and can select it in the visa dropdown menu in the first example in the link above. when i try run the VI, it comes up with the following error-message:

Error -1073807339 occurred at VISA Read in mbed_LVLibrary.lvlib:SerialRPC.lvclass:RPC.vi->mbed_LVLibrary.lvlib:DigitalOut.lvclass:DigitalOut.vi->Flash LED.vi

Possible reason(s):

VISA: (Hex 0xBFFF0015) Timeout expired before operation completed.

I'm not quite sure what to do

Are you writing data from the device? Can you see output flowing out when inspecting the COM port output with something like PuTTY?

posted by Jan Jongboom 29 Mar 2016

im using teraterm but yes i can write from device

posted by Benjamin Darville 29 Mar 2016

I have made it work by using the RPCinterface library.

posted by Benjamin Darville 29 Mar 2016

For those who should encounter the same problems as myself. i've made it work by using this library: https://developer.mbed.org/cookbook/RPC-Interface-Library, although slightly modified. Installed mbed's own serialdriver: https://developer.mbed.org/handbook/Windows-serial-configuration i havent used NI-visa at all to establish connection between mbed and labview

posted by Benjamin Darville 04 Oct 2016
Be the first to answer this question.