05-01-2003 01:23 PM
05-02-2003 03:28 PM
05-02-2003 04:33 PM
05-02-2003 05:51 PM
10-03-2008 05:16 PM
Have you worked out this Masterflex pump issue. If so, could you please send me a sample code. I used the RS-232C serial cable to control the pump and desktop and it went very well. However, I am migrating my system to a laptop which does not have a RS-232C port. I have to use the USB to RS-232 adaptor to connect the laptop to the RS-232 of the pump. Could you send me a simple VI, including initialized the serial port, and send/receive a command/acknowledge ment to/from the pump?
For those of you who don't have the pump and are willing to help. I use USB (laptop) to serial (pump) connection between my laptop and pump. I installed a driver which called 'USB Serial Converter'. Then I am able to see the pump at COM5. My question is how to write and read from this serial port. According to the manual of the pump (it worked in my desktop as well), 'The serial data format is full duplex (simultaneously transmit and receive), 1 start bit, 7 data bits, one odd parity bit, and one stop bit at 4800 bits per second. All data transmitted will consist of characters from the standard ASCII character set.'
Thanks,
Ryan
10-03-2008 08:26 PM
You are posting to a 5 year old thread and asking a question of someone who hasn't visited the board in over 4 years.
I'm a little confused by your statement that 'it went very well'. Whatever you had working before should work exactly the same with a USB-RS232 adapter. If you mean that you used a different program before and now want to use LabVIEW, then the best place to start is with the shipping examples. There is one called Basic Serial Write and Read and one called Advanced Serial Write and Read. Why don't you give one of those a try. They both show how to initialize a com port and read and write data.