Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

Position Measurement with PCIe-6321

Hi,

 

I have PCIe-6321 card and I want to use it for linear position measurement. I have an interpolation device that provides A and B channels that I`m going to put in the counter inputs of the card. Are there any examples of using the position information with LabView (Graphing the position, using it for control purposes etc.) There are some examples in the example library of LabView but in most of the, PCI6321 isn´t on the compatible cards list although most PCI62xx cards are. Can I still use these examples? Thank you in advance.

0 Kudos
Message 1 of 2
(5,339 Views)

Hi

 

You can try it with this examples, but there is another easy way. Please do not forget that you need at least the DAQmx 9.0 driver.

 

1. Open the MAX and create a task  for your linear position measurement with the PCIe-6321

2. There you can see all the connections you need and you can set all parameters fot the acquisition

3. Save the Task

4. Close MAX and open LabVIEW

5. In the block diagram go to  Measurement I/O >> NI-DAQmx >> insert Task Const (DAQmx Task Name)

6. Right click on the task constant and choose  >> Generate Code >> Configuration and Example

7. Run your VI and have fun

 

Kind regards

 

Beat

NI Germany

0 Kudos
Message 2 of 2
(5,322 Views)