A short guide on how to use LabVIEW with mbed:
1. Install Windows USB Serial Port Installer (mbedWinSerial_16466.exe) http://mbed.org/handbook/SerialPC ?
2. Once you did this, download, compile and upload to your mbed the second example http://mbed.org/handbook/SerialPC (the one that uses the 'u' and 'd' keys to make LED1 brighter or dimmer). Restart mbed.
3. Run LabVIEW
Open Help -> Search Examples -> Search for "serial" -> choose "Advanced Serial Write and Read.vi"
We need to slightly modify this vi.
in the block diagram change the following:
+ value of "I/O Receive Buffer mask" from 16 to 48 (which corresponds to I/O Receive and Transmit Buffer).
+ in the while loop change the value of "Wait until next ms" from 5 to 1000.
on the front panel
+ choose the correct COM port (VISA resource name)
+ turn off the "End write with termination character?" button
+ turn off the "Read" button
+ in the "string to write" window write "u" or "d"
+ press the start arrow and observe the led #1 on your mbed.
If things doesn't work, check if your mbed works in TeraTerm console - http://logmett.com/index.php?/download/tera-term-465.html or send me a msg.
Good luck.
Jakub
Hello, I'm using windows 7 x64 and Labview 2009 x64 and I'm getting a VISA error reading the serial port. Is anyone successfully using mbed with Labview?
Regards,
Samuel.