02-17-2010 07:35 AM
I'm using a USB 6501 and cannot figure out how to read the state of the outputs. It's possible that my application controlling the outputs can shutdown, leaving the outputs in all different states. When I restart the application, I want to know what the current state is for each output, before I write the output array to the task.
At the start of my application, I start two tasks and keep them running, one for reading inputs and one for writing outputs. I I try to read an IO declared as an output, all of the states on that channel reset.
02-19-2010 11:51 AM
Hey
Check the user manual, page 14 and 16 explains the power ON state, this might answer your question.
Cheers
Lab
02-19-2010 02:49 PM
Hi Bjoles,
To read the lines of the 6501, you can just use a DAQmx Read at the beginning of your program. You will have to place the read after the create task and the start task anywhere in your program. I have attached a VI that will show you how to read the current states of your lines.
03-29-2011 11:47 AM
Hi,
I am interested in viewing the attached VI file, but unfortunately I only have LabVIEW 8.5. Can you please convert the vi to 8.5? Thanks.
- Peter
03-30-2011 11:59 AM
Hi Peter,
I would gladly do that. Could you please attach the Vi? There was no file attached to your message.
Regards,
Jackie
03-30-2011 12:04 PM
I Peter,
I apologize. I just realized you were talking about the Write Dig ChanWithRead.vi. Here it is! Saved for your version of LabVIEW.
Good Luck!
Regards,
Jackie