Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

Simulataneous control potentiostat (PalmSens) and step-motor

Hi everyone, 

 

I am struggling a bit to implement a LabView VI to control at the same time chronoamperometric data from a PalmSens potentiostat and and current vs. step motor position while moving the step motor. I have two version of the VI (attached). In the first one i try to add real-time position and real-time current in a for loop where i control the step motor. In this case i can run the chronoamperometry, record the i-t curve, move the motor and record the position. However, the current is not recorded in the current vs position graph.

After asking PalmSens they suggest to add the position of the stepper inside the PalmSens structure (i.e. inside the Event Structure) where PalmSens record the real-time current vs time. However, if i implement the signal from the step motor inside the Even Structure, once i start the chronoamperometry i cannot control the step motor (no button is working).

I think i have some problem with the synchronization of current and position when i start moving the step motor. Can someone give some hint ? Here are the two option of the block diagram and the Front Panel.

 

Many thanks! 🙂

0 Kudos
Message 1 of 2
(297 Views)

We cannot analyze or debug blurry images. Is this really running under LabVIEW RT (since you posted here) on special hardware or just under windows?

 

A humungous diagram peppered with local variables and many code islands running in parallel and without any visible timing or synchronization does not inspire a lot of confidence.

 

If you want help, you need to attach your VIs. If you are mostly interested in program logic, maybe the LabVIEW forum might be a better place for all this. A moderator can move this thread.

0 Kudos
Message 2 of 2
(289 Views)