Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

Reading Encoder pulses using US DIGITAL PCI4E

Solved!
Go to solution

Hello All,

 

I'm new to this forum so I hope that I post the question in the correct board.

 

I have an encoder connected to PCI4e board.

 

The problem is that when trying to measure velocity I get different result using different methods:

 

So I want to measure the Encoder pulses frequency.

 

I'm trying to figure out which PCI4E function gives me this information

 

If anyone know please tell me.

 

Thanks

 

Gil,

0 Kudos
Message 1 of 6
(6,697 Views)

Gil,

 

Is this PCI4e board a specific National Instruments board or is this hardware from another manufacturer? How is Labview communicating to the PCI4e board, is it GPIB, Serial? Perhaps the specific board has this information in its Product Manual. If you have this manual perhaps we can take a look at it to figure out which functions it has as well as what this device can do to read the Encoder frequency.

 

Frank L.

Frank,
National Instruments
Software Group Manager
0 Kudos
Message 2 of 6
(6,678 Views)

Hello frank,

 

Thanks for your prompt reply,

 

Labbiew is connected to the interface card with Unterminated 5-Wire Discrete Cable by US-DIGITAL So I guess this is Serial connection.

 

The interface card is also made by US DIGITAL http://usdigital.com/products/interfaces/pc/internal-card/pci-4e/

 

I hope the information I gave is sufficient.

 

Thank you very much,

 

Gil,

0 Kudos
Message 3 of 6
(6,652 Views)

Gil,

 

The US Digital website provides a set of VI's for using their hardware in Labview, this is not supported hardware and we do not have access to the commands that are sent to the device as it was made by a third party vendor. However there is example code for labview which can be downloaded at (http://usdigital.com/download/43) which was found in the download section of that product support page. Keep in mind, this code was created in LabVIEW 6.1 and may have problems integrating with current versions and or may have different functions and features. This download contains many different VIs which may help you to better understand the workings of the device. Feel free to contact me at any time if you experience any more issues. I will be happy to help you. Thanks!

Frank,
National Instruments
Software Group Manager
0 Kudos
Message 4 of 6
(6,634 Views)
Solution
Accepted by Gil_Maor

Thanks very much!

0 Kudos
Message 5 of 6
(6,632 Views)

Gil,

 

Glad to have helped! If you have any more questions about the commands sent by those VI's it would be best to ask US Digital for the answers to those questions. If you need any assistance with Labview programming with these drivers, you can ask here and we will be glad to assist you. Thanks!

Frank,
National Instruments
Software Group Manager
0 Kudos
Message 6 of 6
(6,615 Views)