08-13-2008 12:36 AM
08-13-2008 01:28 AM - edited 08-13-2008 01:34 AM
08-13-2008 01:35 AM - edited 08-13-2008 01:36 AM
08-13-2008 01:38 AM
08-13-2008 10:56 AM
I've attached my code in LabVIEW 8.0 and added some notes in the code to better explain my application. Keep in mind, it is sending and recieving on the same serial port (simple loopback test).
08-14-2008 02:42 AM
08-14-2008 02:43 AM - edited 08-14-2008 02:44 AM
08-15-2008 11:52 AM
I tried saving this vi in 8.0 again. Please verify if it is correct. Nothing has worked so far. I would just like to capture a string of binary values (32 bytes) from the serial port, convert and store them as hexidecimal characters in a text file. So, a string read from the serial port (00000000000000010000001000000011.......00011111) would look like the following when stored as a text file:
000102......1F
Any help is greatly appreciated.
08-15-2008 01:16 PM
You haven't posted anything that you have tried so far but try the code that is in the image below. I'm sure that there is several other ways to do this.
Please not that you are not able to view the received data as binary. If you create a string indicator on the VISA Read, right click on it and select Hex Display.
08-18-2008 04:56 AM - edited 08-18-2008 04:57 AM