One of many ways to comm with Serial Port is by using function VIs from within the serial.llb found here
..\Program Files\National Instruments\LabVIEW 7.0\vi.lib\instr\serial.llb
[Serial Port Init]
- Configure and Init the Serial Port with this VI (baud-rate etc)
[Serial Port Read/Write]
- Send/ Fetch
[Bytes at Serial port]
- Bytes count at Serial Port
- Use this VI to check no. of bytes available at the Port
[Close Serial Driver]
- Close the Serial Port when VI exits.
Note:
To be able to enter \r or \n at the end of command string (in String control), simply right-click on the String input control, select '\'Codes Display
hope this info helps you in one way or another!
Cheers!
ian.f koo