LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Simulate load cell control loop

Hello,

 

Is there any way to simulate a load cell in a control loop?

Ultimately, there will be a real load cell but for preliminary testing I would like to simulate one.

 

This simulation functionality is more advanced than I am

 

any help would be appreciated

 

Thank you

-mrrcx

0 Kudos
Message 1 of 3
(2,888 Views)

Replace your DAQmx read that reads the load cell with a subVI that puts out values.  They could be random values, or they could be something that is based on some other data you put in.  (Like take a position measurement and multiply by a value to simulate a load that varies with a position.)

 

Later when you get the real load cell, delete the simulation subVI and replace it with the DAQmx Read.  You can use the Diagram Disable structure as a means to hold on to your real code in a disabled case while you are debugging with the simulation subVI.

0 Kudos
Message 2 of 3
(2,872 Views)

Apart from generating 'Random' numeric values, there are two other approaches to simulate an actual Load Cell.

 

1 -> Either you can come up with its MATHEMATICAL MODEL and incorporate it in you program, this might require using 'Simulation' module OR

2 -> You can record the Load Cell output (may be voltage) versus time data in a file and read it to replay.


I am not allergic to Kudos, in fact I love Kudos.

 Make your LabVIEW experience more CONVENIENT.


0 Kudos
Message 3 of 3
(2,846 Views)