04-21-2011 02:32 PM
Hi I am in desperate need of help. I am a labview novice and only know how to do the most basic of programming. I would be extremly greatful for any help. I need to have this done asap as this is the last peice of the puzzle so that I can start running my experiment.
I am trying to design a VI using the analog outputs of a USB 6009 to control 2 relays.
I need to have a setup so that output 0 is initially energized.
The front panel has a button which will start a 5 second timer. It also has a slider to adjust a delay.
When the timer is engaged and hits 0 output 0 will de-energize then after the amount of time set in the delay has passed output 1 will then be energized and remain energized.
I currently have the front panel setup with the slider and the button and numeric counter.
I also have the daq outputs setup to output 5v but I am really unsure what I need to make all this stuff happen. Any help would be greatly appreciated. I can attach what I have now if that helps at all.
04-21-2011 04:08 PM
Sure, post your code. But first, look at the the examples that ship with LabVIEW. There are many that deal with such simple requirements. Help> Example Finder> Hardware IO > DAQmx > Analog out
Or, you could even use the [gasp] DAQ Assistant.
04-21-2011 07:59 PM
Thanks for the reply.
Attached is what I have so far.
04-22-2011 06:45 AM - edited 04-22-2011 06:47 AM
FYI: You have nothing.
In the attachment you have an Easter gift. Next time try to read some LabView basics or search through examples.
Paul
04-22-2011 07:26 AM
Thanks a million times but I can't open your file. I am running labview 8.5 and it is saying it is too new a file to open.
Is there any way you could save it in a format I could open?
Again thanks for all of your efforts.
04-22-2011 11:48 AM
Unfortunately I cannot help you.
You can ask someone to downgrade the VI. Post it in "Downconvert VI Request" thread. You can find it here, in LabView forum.
04-22-2011 12:16 PM
Thanks man I really appreciate all your efforts.
04-22-2011 12:44 PM
Scutzi,
I've downconverted the file for you in that thread. http://forums.ni.com/t5/LabVIEW/Downconvert-VI-Requests/m-p/1534386#M569668
Pauli,
What do you mean you cannont help him? Since you have LabVIEW 2010, you can use Save For Previous version under the file menu and save it to any LabVIEW version all the way back to LV8.0. It would have been easy enough to do in this thread where the file was first posted, rather than directing him to the Downconvert thread which is more for people who have the odd VI acquired from elsewhere who just need conversion help.
04-22-2011 12:53 PM
Actually, I never noticed that either. I have 2010, 8.5, 8.2 and 7.1.1. I always thought you needed every intermediate top-level version to go back to previous. Well, good for LV2010! I'm happy since I can back save without re-installing LV2009.
Of course, maybe Pauli does know this and was just too busy or away from his development computer?
04-22-2011 12:58 PM
It started with LV 8.5 was the first version to go back more than the previous version. 8.6, 2009, 2010 have all added on and can all go back to LV8. If newer versions of LV in the future start to drop off older versions, I guess we'll know when NI makes a decision like that and releases the new versiosn.
The problem for you is that you need LV8 to be able to go back to LV 7.1, since LV 8.2 only reaches back to LV8.