01-14-2009 03:35 AM
Dear Joseph,
This program work.
Thanks for kind help,
Can I store different duty cycle value for each digital output channel.
I will do few modifications in this program for actual purpose,
I gives you feed back again.
Regards,
Rajesh
01-14-2009 03:40 AM
Dear Joseph, This program work. Thanks for kind help, Can I store different duty cycle value for each digital output channel. I will do few modifications in this program for actual purpose, I gives you feed back again. Regards, Rajesh |
01-14-2009 03:47 AM
Hi Rajesh,
I'm glad it works.
This was only meant as a starting point to give you the general idea. You can obviously adapt to have a different duty cycle for each channel. I would suggest simply creating an array with all the various duty cycles and to only use the one corresponding to the current channel being written to.
Good luck!
02-10-2009 09:57 AM
Dear ,
it is very interesting discussion. I have similar idea to do. But I use Labview 8.2.
Joseph, can you please post the vi with Labview 8 version?
Thanks.
Shin'ichi
02-13-2009 01:56 AM
Hi Shin'ichi,
here is the LV8.2 version.
Regards,
02-16-2009 04:23 AM
08-31-2009 09:14 AM
Dear Joseph,
This my program working very accurately, but during
measurement i am facing one problem, that suppose i wants to start measurement
from forth LED(forth LED array). but for this i need to run all program and wait
till the signal from forth LED come.
many time i wants to start measurement from middle any LED(say LED11) not from
the first LED (means i don't want to measure signal from first 10 LED, for this
i have to put zero duty cycle for all previous 10 LED and start measurement
from LED 11 and its very time consuming)
for this i tried to make changes in program like,
suppose i click on any LED(may 1, 2 3,...) on the screen then these LED will be
continuously ON(for given duty cycle) till next command/execution or when i
click again on the same LED it will be OFF.
Each LED will be work independently to each other.
please Joseph can you help me to resolve this problem
09-01-2009 10:03 AM
Hey,
have you tried changing the first state of the state machine to a control on the front panel, so that before starting you can choose which state will execute first?
To do this, right-click on the enum before the state-machine, and select 'change to control'.
Then before starting the program, choose the first line or column and all the ones before that will be skipped.
I hope this helps.
Regards,
09-02-2009 02:31 AM
Dear Joseph,
I did as per your suggestions but not work, it shows following block diagram error,
"You have connected an indicator to an input of Sub Vi. Change the indicator to a control"
Error details are
"A wire must be connected to one and only one data source, such as a control's terminal or a function output. This wire is connected to two data sinks but zero sources. You must add a source, perhaps by changing an indicator to a control."
Best Regards,
Rajesh
09-02-2009 02:36 AM
Hi,
please change the indicator you created to a control as the message states. You have two outputs connected together.
Regards,