From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Data saving from PIC code

Hi All

 

I'm having a problem transferring data from a PIC to LabView via RS232. I have 2 bytes of data per data point which are in binary. As the most significant byte only uses the 2 LSB's I'm running into those control charcters from ASCII. Also, I cannot successfully change the charcters transferred back to an ASCII No. to represent my data. It seems that the read vi doesn't like me transmitting a binary byte. I've tried the Type Cast VI but with no success. Broken wires due to data type mismatch. Any help would be greatly appreciated

0 Kudos
Message 1 of 2
(1,800 Views)

The best way to get help is for you to attach the VI giving problems so we can fix that, rather than us guessing what might be wrong in that VI we can't see.

0 Kudos
Message 2 of 2
(1,788 Views)