LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Storing Data ; Array?

Solved!
Go to solution

Hi gregoryj,

thx for the advices,

the 5v part is when i was using analog input 

i've changed to digital input now

0 Kudos
Message 11 of 17
(1,406 Views)

@Roamingburger wrote:

Hi Varaprasath

 

when i'm using the DAQ Digital i/o sometimes it detects logic1 even when i did not press the button but it doesn't happen when i'm using DAQassistant, 

is that a problem with my hardware or something else?

 

edit: i disconnected my hardware from myDAQ but it still shows logic1 at times 



Try to Pulldown or Pullup in your digital input Pin using a resistor. which control yours floating state.

 

Can I Use a Pull-down Resistor to Set the Default State of the Digital Lines on my NI DAQ Device? (try this link)

 

If internal Pulldown or Pullup is hard try to put an external Pulldown or Pullup .

 

 

untitled.png

 

do some analysis on resisitor value (4.7k), in your case MCU is DAQ.

Thanks & Regards

Varaprasath M
Certified LabVIEW Architect
Certified TestStand Architect
0 Kudos
Message 12 of 17
(1,373 Views)

1) Before using DAQmx driver, use NI-MAX to check how the input responds to your button

2) Depends on this u can guess  hardware issue or software issue.

 

0 Kudos
Message 13 of 17
(1,357 Views)

i've been trying to solve this issue for some time, tried using the external method but doesnt seems to work.(i also looked for alternative ways)

 

is there a way to use the DAQassistant instead? when i right click > properties > run it seems to work just fine (only logic1 when pressed)

 

 

 

 

 

 

daqassssssis.png

0 Kudos
Message 14 of 17
(1,300 Views)

Hi karthickkece,

how do i get to the NI-MAX ? is it a vi. or a function in LabVIEW? 

can't seems to find anything on this

0 Kudos
Message 15 of 17
(1,290 Views)
MAX is Measurement and Automation Explorer and is on your desktop.
0 Kudos
Message 16 of 17
(1,278 Views)

Oh found it thanks, Dennis.

 

 

karthickkece

 

tried on NI-MAX doesnt seems to have any problem

 

0 Kudos
Message 17 of 17
(1,262 Views)