12-14-2009 09:01 AM
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.
12-15-2009 04:31 AM
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