LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

change pin configuration in linear position DIO daq assistent

Hi,

I have an Device for interferometric Displacement Measurements that gives out an digital A quad B Signal plus the clock signal (runs at 10MHz).

I wanted to use the DAQ Assistent to calculate the Displacement. The Problem is, if I select the "linear Position" Option it wants me to use the Inputs PFI8 and PFI10 for A and B.

Unfortunately we use a BNC2110 Box which only connects PFI0 - PFI9. Leading to my qestion: Is there a way to change that Pin-Configuration?

If not, are there complete vi´s available for downliad where I can select the Inputs for A,B and clk and that at least gives me the A and B Signal in Labview?

Setup-wise we are using a 6259 M-Series PCI DAQ-Card which should be able to handle 10MHz.

I would be really happy if anyone can help me with that!

Cheers,

Daniel

 

 

0 Kudos
Message 1 of 3
(2,591 Views)

Hi Daniel!

Unfortunately the DAQmx assistant is limited to a small subset of the DAQmx capabilities. If you want to change the PFI assignment for a counter task you have to use the low level DAQmx functions provided in the Measurment I/O > DAQmx palette. I attached a small example where you can see how PFI for a Counter Linear Position Task are assigned with a DAQmx property node. Hope that helps!

 

Regards,

  Georg

0 Kudos
Message 2 of 3
(2,549 Views)

Hi Georg,

thanks, that helped a lot!

The systems actually works right now but not at the needed rate. The PCI Card should be able to handle 10MHz. I´m using the clock signal of my device (10MHz) but the output of the vi is at 100kHz (new datapoint every 10us).

I just created a loop around the dataoutput subvi to make it an array with all the measurement points. Also tried it using the NSample VI instead of the loop and a single value output, but the same result.

What am I missing? Am I doing something wrong?

Cheers,

Daniel

0 Kudos
Message 3 of 3
(2,531 Views)