LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Edit or information on counters

Hi,
 
I am reading impulsion from an encoder.
 
I have a VI where there is a counter. I would like to know how to view information about this counter and if it's possible to edit it.
In fact, I would like to know if X2 or X4 encoding has been used, but I can't find the details.
 
Thank you very much,
 
Jack
0 Kudos
Message 1 of 6
(3,053 Views)

Hi Jack,

Can you give us some more information? What vi are you using? Did you create it or is it an example? Can you post the vi here? What encoder are you using?

Regards,

Hillary E
National Instruments
0 Kudos
Message 2 of 6
(3,038 Views)
Hi,
 
The encorer is a Digital Encoder from Maxon.
 
The VI has been created from another person at my lab but who's not there anymore.
 
I can't post the VI, but I can send a printscreen of the interesting part.
In fact, a counter counts the impulsions in a timed loop. I would like to know the options of this task/counter. By example, if it's position, front counter, type (X2 or X4), counts per turn, etc...
 
Thank you very much again,
 
Jack
 
0 Kudos
Message 3 of 6
(3,032 Views)
Hi Jack,
 
The DAQmx Read configured for Counter Single Sample Double simply reads the data in. Any settings are applied at the Encoder (which is a DAQmx Task). You can find the settings in Measurement and Automation Explorer under Data Neighborhood»NI DAQmx Tasks. You'll want to look at the help there for details of encoder settings. You can also create a New Task by right clicking on NI-DAQmx Tasks»Create New DAQmx Task.
Regards,

Hillary E
National Instruments
0 Kudos
Message 4 of 6
(3,027 Views)

Hi,

I tried your last suggestion and it's working for the task I created, thank you very much.

The only problem is that the task he created is visible in the Labview VI but not in the tasks in MAX...I don't have his computer neither the material (NI-ELVIS) he had. Is there a way to find without that ?

Thank you again!

Jack

0 Kudos
Message 5 of 6
(3,017 Views)
Jack,
 
There isn't a way to find out those settings other than looking at the original task. You don't necessarily need the hardware though.
Regards,

Hillary E
National Instruments
0 Kudos
Message 6 of 6
(3,013 Views)