LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQ simulator for counters and encoder

Hi,

I'm using the DAQ simulator created within NI Max and have added a chassis NI9132 and the digital card & counter card NI 9401 and NI 9361

 

However when trying to simulate data using the examples Hardware > Counter Input > Count edges OR Hardware > Counter Input > Read Encoder I get no results i.e. the values don't change and keeps showing 0

 

Does the simulator work for counters?? I know the simulator is working (in general)  since it displays Analog and Digital signals when stimulated through other cards.

 

I just want to try out the counter application before putting it to test on live equipment...

 

Any suggestions appreciated 

 

Thanks
Hashim

0 Kudos
Message 1 of 4
(3,892 Views)

TR

When asking question about how your code works, it is generally best to post it as an attachment for others to review and offer suggestions for improvement.

 

A counter is not the same as an encoder.  An encoder produces pulses based upon rotation.  Do you have a schematic or layout of what you are trying to achieve?  What are you simulating and how are you reading back that simulation?

Help the Community (and future reviewers) by marking posts as follows:
If it helped - KUDOS
If it answers the issue - SOLUTION
Message 2 of 4
(3,884 Views)

Hi,

 

I was referring to the help examples that come with labview so didn't think it was necessary to post.

 

Anyways, i've found that the simulator doesn't 'produce' values for encoder or counters. (see in another post) 

 

Now tested with actual hardware and the application works. 

 

Thanks

 

0 Kudos
Message 3 of 4
(3,796 Views)

Also, there was an article about the NI9361 (had to add pull up resistor) as per the article. 

 

http://digital.ni.com/public.nsf/allkb/C827A149CE7C063D8625804F0002705D

 

 

Hope this helps anyone looking for similar issues

 

 

0 Kudos
Message 4 of 4
(3,795 Views)