PXI

cancel
Showing results for 
Search instead for 
Did you mean: 

NI PXI-5122 2bit external input

Hello.

I'm trying to acquire a normal Voltage signal with the channel 1.

But i also have to read (with the "PXI-5122") an external 2 bit input. Sended by another device.

 

 

Which port do you think is better to use to read this 2 bits?

The Bits arrives in  parallel on 2 different channels.

 

Signal ------------------------------->PXI-5122 Chan 1

External Device ------>bit0 -------->PXI-5122 Port?

External Device ------>bit1 -------->PXI-5122 Port?

0 Kudos
Message 1 of 4
(3,793 Views)

Hi InDo,

 

I think that we are in mistake.

 

As you can see from  the device specs (https://www.ni.com/en-us/shop/model/pxie-5122.html) the Digital I/O is 0. The digital input that you have seen is probably the PFI 0 and 1 but these are for trigger and similar stuffs.

 

Hope this helps,

 

 

Matteo Brunella
Application Engineer
NI Italy
0 Kudos
Message 2 of 4
(3,767 Views)

Actually from the DevSpec it seems that the Digital I/O is absent.

But i think that it may be possible to use the PFI0 and PFI1 as a 1 bit digital input.

 

This sentence comes from a NI 6013/6014 User Manual:

"As an input, each PFI pin can be individually configured for edge or level

detection and for polarity selection."

(Even if it's not the same model of my device the functions names should be the same)

 

 

So i think that it could be suff. to configure the trigger level in LabView in order to read the signal as a 1 bit digital. input.

Can someone confirm this theory?

 

0 Kudos
Message 3 of 4
(3,762 Views)
I'll try to explain it in different words.

I have this 2 Trigger input Function PFI 0 & PFI 1 on my NI device.

A trigger should read an input tension and process it someway.

Example: If there is a signal of triggering i should be able to save it like a boolean "1". Signal is Absent ->Boolean "0".

 

The main problem is that the dedicated VI functions of LabVIew for this device don't allow me to threat the trigger as a signal. 

So i can't save it as "0" or "1".

 

Is there any way of solving this metter?

 

0 Kudos
Message 4 of 4
(3,701 Views)