08-04-2008 07:58 AM
08-05-2008 06:18 PM
Hi Matt,
I tried that code that you sent me and it does not seem to function like you stated. Also, I tried changing the code but it seems that there is some strange behavior with two Elapsed Time vis used. I have not found a way around this yet but you could utilize a flat sequence structure inside of your for loop which would make the line high, hold it for some time, drive the line low, hold it for some time. This is not very elegant but should get the job done. Once again, I tried this code out with some slight modifications and found that it ran once with no problems but would keep the previously stored value of the Elapsed Time. I will check into this a little bit further but please let me know if the sequency structure will do or if something like a counter could work in this application as well.
08-15-2008 04:02 PM
Let me try this again. I was give a program by one of the NI engineers named Dennis. The program is Basic Software Timed Digital.vi, and it is exacty what I need except for one small problem. This is a program to control a TTL signal, and it is programmed so that the low signal lasts twice as long as the high signal. This works for times under 5 minutes, but at 5 minutes and greater, the signal will cycle once, and then freeze at the high signal. I need to run the program for 15 minutes on high and 30 minutes on low.
Please help.
Here is the program that I have been running.
08-18-2008 08:39 AM
08-25-2008 09:56 AM
08-26-2008 12:28 PM
Hi Matt @ ICS,
If you want to delay the start of your application, you can place your code in a large case structure with a start control and put all this in a while loop. Like this, your program will continuously be running the False case until it receives the start button, in which case, it will run your main code. Just make sure to you share the stop condition wire for both inner and outer while loop.
08-27-2008 08:41 AM
I am having problems connecting both stop icons to the same source. Starting from the outside and going in: i have a while loop, case structure, for loop, while loop, and case structure. I'm trying to connect the source inside the inner case structure to both of the stop icons associated with both while loops. When I do this I get the following error:
Array element conflict.
The type of the source is 1-D array of boolean (TRUE or FALSE).
The type of the sink is boolean (TRUE or FALSE).
I don't want to add a button to stop the program. Before I added the outer while loop and case structure, the program would cycle N times, then end itself. I would still like for it to end this way. I've added the outer case structure and while loop because I also want to run the program, but not have the program start until I press a button on the front panel.
08-27-2008 09:37 PM
02-10-2009 03:00 AM
Hi all,
During i have doing a project which is using the digital output of usb6009 to control the relay driver circuit. But, i dont know how to contruct the block diagram. I have try doing it but cannot see the expected result. Need you advise here.....
Appreciate you all help!
Thank you,
aloon......
02-10-2009 07:20 AM