LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

syringe pump feedback control

I trying to build  a feedback loop using a syringe pump (fresenius) as the actuator. I tried to connect the pump to the RS 232 COM 1 port . I like to control the infusion or the flow rate .

I tried to use the program described in a post.

 

http://forums.ni.com/t5/LabVIEW/Connecting-a-pump-over-rs232-for-real-time-control/td-p/939426

 

But for my problem i cant make it work . (i am a LabVIEW beginner). Please have  alook into the problem . With this i am attaching the manual (The format for the commands are in 6th page).

The info on baud rate , parity etc are in 4th page.

 

I have made the program as per the command flow that i checked using the  test software...

 

1. Open the base of the pump ( command BDC)

2.Open the syringe pump module (Command 1DC)

3.Change the syringe mode tp PC control (MO;2)

4. Then i need to give the infusion rate to the pump through the command (PR;1F20 here 1F20 is the flow rate )

 

 

Please have a look into my program - pumpcontrol_09072010

I have also attached the program from which i took the logic - visa pump simple

and the manual for the pump.

 

 

Best regards,

Bala

 

 

0 Kudos
Message 1 of 6
(4,784 Views)

If you have never communicated with the device, and have limited experience in LabVIEW, DO NOT START WITH LabVIEW. Try to communicate with the device with Hyperterminal first. If you can't communicate with it, call the vendor of the pump. They should be able to tell you exactly what to type into Hyperterminal in order to get a response from the pump. From there, it's LabVIEW time.

 

Richard






0 Kudos
Message 2 of 6
(4,763 Views)

Thank you for the response...i have communicated with the pump using the test software which came along with the pump.

The pump works fine with all the commands.  Now the problem is with the LabVIEW communication only.

As i worked with the pump using the software already , code it úsing LabVIEW.

Please have a look into the steps that i have given .

 

 

0 Kudos
Message 3 of 6
(4,752 Views)

I disagree. Using the test software that came with the device is not the same as having full command over how messages are sent and received.

Richard






0 Kudos
Message 4 of 6
(4,735 Views)

 


@bala1234 wrote:

Thank you for the response...i have communicated with the pump using the test software which came along with the pump.

The pump works fine with all the commands.  Now the problem is with the LabVIEW communication only.

As i worked with the pump using the software already , code it úsing LabVIEW.

Please have a look into the steps that i have given .

 

 


You've got some major misunderstandings and mistakes. The document explains certain things such as the beginning and end of frame character and explicitly states that these are control characters, a single byte, and gives the hex equivalent. When you enter STX or ETX in a string control set for normal display, you are send the ASCII characters 'S', 'T', 'X', etc. You need to set the control to hex display and enter 02 for STX and 03 for ETC. I have not checked the other part of the data to see if it matches what is in the manual except that you are ignoring the requirement for a checksum.

 

0 Kudos
Message 5 of 6
(4,721 Views)

Could you finally control your fresenius syringe pump through Labview and RS232?

 

 

0 Kudos
Message 6 of 6
(4,063 Views)