LV2016 64-bit
I have inherited a LabVIEW Interface that talks thru a USB2 Interface to a micro-Controller at 921,600 baud.
This opens a new world of possibilities as USB2 can handle data at much higher rates than a typical RS232 interface.
I have been tasked with rewriting the LabVIEW code as it is difficult to maintain. I have an application that will talk to the uC at 230 kbaud but can't attain the 921,600 baud. I have tried copying the pertinent VIs from the supplied code into my app but still can not attain 921,600 baud. Plus I don't have a serial line analyzer capable of handling USB2, so I can only trial and error with the uC. Is there a setting I have to do in LabVIEW to allow serial communications at the higher rates? At the moment, I am trying to get the Find Controllr VI to work. I have included the support VIs for the Find Controllr.vi. The Find Controllr VI attempts to find the correct port and baud rate and then obviously communicate with the uC.
Find Controllr.vi
Packet TR.vi
Get Available Ports.vi
Serial Data.vi
Check For Packet.vi
Open Port.vi
Create Packet.vi
Extract Packet ID.vi
PTI CRC.vi