08-11-2012 06:00 AM
hello everybody
i was working on a direct on line starter for a motor on LABVIEW.
I was using a case structure for the above purpose
was wondering if anyone can help me with a DOL having just two switches for switching the motor ON and OFF
REGARDS,
JALASHWA
08-11-2012 10:06 AM
Hi jalashwa,
Sorry,What you meant DOL??
08-11-2012 10:09 AM
08-11-2012 06:38 PM
HI,
Having a two position switch for on and off is not an issue. However, how is the hardware hooked up to your LabVIEW? If it is controlled through DAQmx then you can hook your on/of to a channel.
Some more detail and then some more specific pointers can be made.
For example, one case for running the on driver, one case for the off diver.
08-12-2012 12:49 AM
08-12-2012 01:01 PM
HI,
Not much to provide without more info. I have attached a snippet, tell me if this is to basic or not.
This is switching a DOL Boolean. Put your drivers for the hardware inside the case structure. If you are planning on using hardware you need to do some more investigation and post a sample code of what you want to do. good luck.
08-13-2012 03:39 AM
The constant polling for DOL can be removed with the use of event structure. And according to the state of the your On / Off switch you can intiate the startup sequence or shutdown sequence. You can place the respective sequence in the case structure provided in the event structure. I'm attaching a code and hope it suffice your query.