05-06-2021 09:42 AM
Using a proper programing architecture would help and a simple state machine lends itself perfectly to this
First initialize your instruments BTW: I am using an Agilent 34970A)
Then go to your Control state
Don't forget to shut everything down when you exit.
05-06-2021 10:04 AM
Hi GerdW,
Thanks for your reply.
The vi doesn't stop now, but it gives me a timeout error. I have attached a cop[y of the modified vi. Please do let me know what corrections I must make again.
thanks for your time
05-07-2021 06:51 AM
@RTSLVU wrote:
Nobody cares about seeing the voltage the heaters are being run at. That does not tell you at a glance how hard the heating/cooling system is working.
You could always do something like this
Then you have throttle that goes from 0 to 100% and the voltage is still regulated in it's full range 0-120VAC.
05-07-2021 08:56 AM
@AeroSoul wrote:
@RTSLVU wrote:
Nobody cares about seeing the voltage the heaters are being run at. That does not tell you at a glance how hard the heating/cooling system is working.
You could always do something like this
Then you have throttle that goes from 0 to 100% and the voltage is still regulated in it's full range 0-120VAC.
That's just dumb and takes twice as much code.
05-10-2021 03:40 AM
05-10-2021 09:47 AM
@AeroSoul wrote:
Nice and compact, but I believe that is still more code than this: due to the two math functions and the formula node structure.
05-11-2021 12:40 AM
Actually if you made PID range 0 - 120 and then multiplied output by 0.833 it'd be the same amount of code 😄