07-14-2008 02:27 PM
07-14-2008 04:23 PM
07-15-2008 09:07 AM
07-15-2008 01:07 PM
Hi Martym,
What you are looking to do is called software timed digital output. We do have some examples in LabVIEW that will help you accomplish what you want to do. Before integrating this to your project I will suggest getting familiar with generating digital signals when a software even happens, help->find examples->Hardware Input and Output->Digital Generation. Examples like: “Write Dig Chan.vi”.
Let me know if it helps
07-19-2008 05:33 PM
07-19-2008 07:05 PM
Sure you can use the DAQ Assistant but a single digital pulse is simple with DAQmx functions as well. For the DAQ Assistant, when you get the Create New window, select Generate Signals>Digital Output>Line Output. Pick your channel and use the default of 1 Sample. Wire a True constant to the data input when you want a 1 and a false when you want a 0.
To use DAQmx, use the Create Virtual Channel and select type to be Digital Output. Create a constant or control for the physical channel input and select the line you want. Wire a DAQmx Write to the channel function and select that type to be Digital Output>Single Channel>Single Line>Boolean. Wire a True constant to the data input when you want a 1 and a false when you want a 0.
You can also (and should at some time) convert a DAQ Assistant to code. The assistant uses DAQmx and it's a good idea what is going on underneath the 'hood'.
07-20-2008 10:18 AM