09-11-2012 04:31 AM
09-11-2012 05:35 AM - edited 09-11-2012 05:35 AM
I used the Vi attached in this message.
Manually, the power supply works: if i set 2V it gives 2V
With the GPIB control, if i set 2V i read 2V in the program but the power supply gives 0V!
How to fix this?
09-11-2012 07:47 AM
You haven't told us what power supply you're using, or provided a link to the manual.
09-11-2012 07:50 AM
you're right, sorry about that.
manual attached.
i solved the problem explained before.
Another issue now: I need to "PID" the voltage based by a temperature value, that assume a costant value, sine waveform values, casual waveform values. Don't know how to PID the voltage..
09-11-2012 08:44 AM
PID refers to a type of control loop: http://en.wikipedia.org/wiki/PID_controller
You can implement the PID loop yourself (examples have been posted and you can search for them), or you can also purchase the PID Control Toolkit from NI.