11-12-2014 02:52 AM
hello.....
i have a trask to produce some digital waves... so i am using daq-6343 usb. for starting it, i am trying to write 1 simple value (i.e 1) to first pin of port. but i am getting error.. here i am attaching error png and vi of code... plz help me out here..
thanks & regards,
Solved! Go to Solution.
11-13-2014 06:19 AM
hello i tried some modification and i am getting different error.... plz some look into it and help me out here.
11-17-2014 11:29 PM - edited 11-17-2014 11:30 PM
Hello!
Here is the solution to both your queries:
Query 1:
http://digital.ni.com/public.nsf/allkb/370BD28D3D81EB95862572D0000B1C48?OpenDocument
Query 2:
You must write to the buffer before starting the task. i.e. in the virtual channel, DAQmx Write function should come before the DAQmx Start function.
Hope this helps!
11-18-2014 12:32 AM
hey thanks for reply....
your answer realy helps me.
but now it shows error regarding buffer size.. but as per my knowledge labview itself select buffer size...
regards,
11-18-2014 01:41 AM - edited 11-18-2014 01:42 AM
1. Could you please post a snapshot of the error and also the vi?
2. Is it necessary to use hardware timing? Software timed output might help.
11-18-2014 01:56 AM
i am using same vi with altered position of write and start Vi... right now i am not able to post png file...
but says error of buffer size.. expected is 2 but set value is 1.
11-18-2014 02:19 AM
continue..
No.. there is no need to use hardware time.
11-18-2014 02:21 AM
11-18-2014 02:32 AM
For a single point output create task, write to buffer, stop task, clear task. No need to have a hardware time for single sample.
For a waveform output, use software timing.
PFA the examples for Digital Output.
11-18-2014 03:21 AM
hey vkatre... thanks for help.. can u repost Vi in labview 10...? that would be so gratefull.