Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

PI E-710 PIO interface

 

 

Hello,

 

I am just trying to use a digital interface to read/write data. The device is a PI E-710 digital controller that has a PIO interface. I can fully control it with serial port. But, I am new to digital LabVIEW and looking for some experience. If there is any eperience in using PIO interface of PI-E-710, I would be glad to be shared to me.

 

Here is the link of device: PI E-710 with PIO interface

 

Thanks

0 Kudos
Message 1 of 9
(5,740 Views)

Hello, Hosa!

 

It looks like you've already found the solution to your questions in the other forum.

 

Please let us know if anything else comes up!

Will Hilzinger | Switch Product Support Engineer | National Instruments
0 Kudos
Message 2 of 9
(5,727 Views)

Hello Will,

 

Thanks for your notice.

 

Currently, I am trying to find a good synchronization method to be able to get data from an analog input and PIO in a synchronized manner. I have heard about buffer acquisition method and use of strobe, but they need lots of study, I think.If you can give me some hints or comment, I would be very glad.

 

hosa

0 Kudos
Message 3 of 9
(5,725 Views)

Hello, Hosa!

 

To clarify, when you say PIO, do you mean programmable input/output, or an output mode specific to your PI Brand device?

 

If you're looking at buffered acquisition, there are a number of examples available online and through NI example finder (through LabVIEW), but most depend on your other system restrictions. What kind of AI signal are your working with?

Will Hilzinger | Switch Product Support Engineer | National Instruments
0 Kudos
Message 4 of 9
(5,704 Views)

 

Hi Will,

 

Actually, PIO is Parallel Input/Outpu defined in the PI device's manual (E-710 4PD).

 

For the buffered acquisition, my purpose is to get the AI of an optical detector. It is like a photon counter. The buffer acquisition is needed to  synchronize the motion of a nanopositioner with AI of detector. So that both data must be in time with each other. I mean that, I am going to count photons from each pixel of a sample (pixel by pixel), and for that reason I need the nanopositioner. Thus, to be sure that the counted photons of pixels are not missed or mixed with each other, I need to synchronize the acquisition of AI with motion of nanopositioner. My first plan is to load the "path" ( a list of positions) into a memory and then acquire the AI for each position, again in the memory. Then transfer everything to PC for furthur calculations.

 

I hope I answere your question about the kind of AI signal.

 

Hosa

 

 

0 Kudos
Message 5 of 9
(5,700 Views)

Hello, Hosa!

 

So, as mentioned, there are a number of "Buffered Acquisition" examples written for acquiring from specific NI hardware, but it sounds like you're just using your PI E-710 with LabVIEW. As suggested in the other forum, it may be best to contact PI for examples. Many third-party hardware manufacturers provide LabVIEW examples along with their driver packages, so this may be something to look into.

 

Here is a community example which may lead you in the right direction, which deals with Buffered Image Acquisition. Hopefully this will help get you started.

 

 

Will Hilzinger | Switch Product Support Engineer | National Instruments
0 Kudos
Message 6 of 9
(5,696 Views)

Thank you. But the input is not an image from camera. The input is an analog signal, voltage or current, from a detector. 

0 Kudos
Message 7 of 9
(5,692 Views)

Hi Hosa,

 

As I understand it, you are acquiring an analog signal pixel by pixel from an optical detector, and you want to synchronize this analog input with Parallel Input/Output from your E-710 4PD. I assume that PIO is just a Digital Input/Ouput signal that you control from LabVIEW. Is this correct?

 

There are some great tutorials for synchronizing analog inputs and Digital IO available on NI's website. Here is one such tutorial. 

 

Best,

Dan N

Applications Engineer

National Instruments 

Message 8 of 9
(5,676 Views)

 

Great! It was very to the point. Let me check it and I will ask for help soon.

0 Kudos
Message 9 of 9
(5,674 Views)