07-06-2009 04:17 PM
07-06-2009 05:18 PM
07-06-2009 05:42 PM
Based on this description of operation, then the example I had provided will let you do that. When you change the dial on the front panel the VI would send the new command to the pump. You would need to create the command string based on the value. Your initial post seemed to imply you had already done this part of it. Have you, or were you entering the byte string to send to the pump manually?
In terms of your earlier question regarding my example and the serial port configuration: I simply placed the VISA Configure Serial Port to indicate that you would perform the configuration before entering the loop. As the Basic Serial Write and Read example has, you can have controls to set the various serial port parameters or you can hard-wire constants to the inputs of VISA Configure Serial Port VI.
superomario wrote:
what i am trying to get the program to do is during the video monitoring of the flow if the observer sees that it is oscillating too much at a given rate they can adjust the rate as they see fit to combat this and smooth out the flow pattern. I was thinking that the simple dial to control rate should do the trick, am i wrong in my assumption?
Not necessarily. A dial control is one type of control to use. It depends on what level of control you want/need to have. If you're looking for really fine control then you can right-click on the dial control and have the digital display visible which will allow you a finer amount of control.
07-07-2009 06:44 AM
@smerc - maybe I can help clarify (I'm a fluids researcher and work with syringe pumps all the time): supermario doesn't really need control, unless his app is far more advanced than he is letting on. The syringe pump already has "control" built into the hardware, it is a stepper motor that pushes the plunger on a syringe and will essentially take care of itself. All we are doing is sending it a command with a flow rate to maintain. Therefore, the VI is very simple.
@supermario - in response to your last issue, perhaps I can suggest a non-VI bit of help: all stepper motor syringe pumps will eventually show you the oscillations you are observing. There's no real way around it, it's a stepper, after all. Better pumps have better noise-control, which smooth out the stepper response, but that is an expensive fix. The easiest fix is to use smaller and smaller capacity syringes (think in terms of microliters, I commonly use 100ul) that allow you to move the plunger at a higher speed and see less "stepping".
07-07-2009 03:08 PM
07-07-2009 03:25 PM - edited 07-07-2009 03:26 PM
What did you do differently? In your original post, you said the basic serial read/write VI (a labview example) was communicating with the pump successfully?
make sure the ports and baud rates are set correctly, other than that, not easy to diagnose remotely.
07-07-2009 03:32 PM
07-13-2009 03:40 PM
07-13-2009 03:40 PM
07-13-2009 05:07 PM