Discussion:
Reading a digital input using DAQmx base on MAC OS 10.5
(too old to reply)
UMassStudent
2008-07-28 20:40:06 UTC
Permalink
I have a NI-6501 USB daq, I have been able to configure mxbase to do what I want it to do with the DO's, now I am trying to create a simple vi that will allow me to just give a line +5 VDC to see if I can see it. By doing this it will allow me to see if I have a switch on or not, which is all I need help with. If I can do this then I can adapt that vi into a vi that I need to use. Any information and help would be greatly appreciated. Thanks,~Dan
RT4CY
2008-07-29 20:10:09 UTC
Permalink
Hi Dan,I'm not sure I understand your question.&nbsp; Your subject line says "Reading a digital input..." however your post says "create a simple vi that will allow me to just give a line +5 VDC to see if I can see it".&nbsp; If you are simply wanting to read a digital input line, I would recommend taking a look at the simple examples that are installed with the DAQmx Base driver.&nbsp; See this <a href="http://digital.ni.com/public.nsf/allkb/BEA8C88ED8B09AF286256ED0004544F7?OpenDocument" target="_blank">KnowledgeBase</a> for the locations of the DAQmx Base examples on your OS.&nbsp;
Loading...