04-08-2008 05:03 PM
04-10-2008 08:29 AM
Hi,
Please check the Hardware Input and output>>Daqmx>>Digital Generation examples in the Example Finder (Help>>Find Examples in Labview). Write Dig Chan.vi outs one single pulse. If you choos to use Port0/Line0 on your 6602 the signal will come out on pin 10 as listed if you rightclick your device in MAX>>Device Pinouts. The connector block doesn't change the pin number.
Hope it helps.
04-11-2008 11:48 AM
I really appreciate your answer Pelle.
However, the data array in "Write Dig Chan.vi" is configured to have 8 elements and therefore, 8 lines must be selected for the digital output as Dev1/port0/line0:7. Does this mean that the signal will come from 8 different pins?
Moreover, I could not configure the data array so that the signal will be output only from one line such as port0/line0. Is it possible.
And lastly, is this the vi that I can use to control relays since there is going to be an internal triggering mechanism from Labview that will trigger the digital output signal to the relays everytime, either to open or close.
Also, how much is the duration of this digital output signal? I may be asking too many questions but your last feedback was really helpful so now I became a bit more inquisitive.
thanks a bunch,
Fawad.
04-14-2008 03:48 AM
Hi,
I have attached a modified version of the example which only outputs on one line. Notice the change at DAQmx Read.vi. The output will remain high if you stop the program.
Please clarify if you have further questions.
04-26-2008 10:23 AM
Hello Pelle,
I am sorry I was not able to respond to your mail earlier.
Regarding the vi that you sent, it does not work for version 8.0 of LabVIEW. Is it possible for you to make it compatible for version 8.0.
Moreover, since we have the licensed version of Labview 8.0, is it possible to upgrade to version 8.5 free of charge
04-28-2008 01:30 AM
04-29-2008 02:13 PM
Hi Pelle,
I really appreciate your help sir.
I was able to generate a digital signal (0-5V TTL ) using the VI that you sent. However, since I need to simulate the loads for a Domestic Hot Water system, the digital signal should be activated through internal LabVIEW logic (control sequence) instead of the Control button on the front panel. To do this, can this same VI be modified or do I need to create another VI that could simulate the control sequence (pulse train)?
Sincerely,
Fawad.