LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

compactdaq and math interface toolkit

Hi i have a problem with compactdaq, i have a simulink model and i want it to interact with labview using the compactdaq to real controlling a process.I send you an example of the matlab model to be more specific: in this model i want to match the out1 parameter with the analog out of the compact to give voltage to an actuator and the ln1 parameter with the analog input of compact to acquire data. In labview i should change parameters like Constant or the Gain in Subsystem and display data. I would like to know if it's possible do something like this and how.Thanks a lot
0 Kudos
Message 1 of 2
(2,506 Views)
Hi Freddino,
I post the answer received by Andrew Stillwell about your problem.
 
For future reference, a jpg of that system would be a lot easier to work with - MatLab isn't readily available around here

So I'm looking at this:



It looks like you are just reading in a value (In1) and feeding it back to an AO (Out1) after doing some gain and addition.  Yes it is possble to do this for cDAQ - you just need an AO and AI module.  For a feedback loop like this it would probably make most sense to use single point reads and writes. You could start with the PID Control-Single Channel.vi example.

Hope this helps,
Andrew Stillwell
NIC

Message Edited by Branch Support - NIC on 02-12-2007 02:32 PM

Attachment feedback.JPG (34 kb)

0 Kudos
Message 2 of 2
(2,489 Views)