03-11-2025 04:06 PM
Hello everyone,
Apologies for such a basic question, but I truly don't know enough to even know what to ask.
I'm using a PXIe-4190 for LCR measurements. What vi's do I use to utilize the GPIO pins? I know which pins need to be on/off at which stage of the test, I just cannot figure out how to actually set their values in LabVIEW.
Thank you.
Solved! Go to Solution.
03-12-2025 10:16 AM
I wouldn't call this a basic question, because the answer isn't really stated anywhere....
Those GPIO pins are currently reserved for future use, meaning there's no user access to them right now.
03-12-2025 11:58 AM
Thank you for your response.
Well, that's unfortunate. Can I ask where you found that out? I'm not seeing that indicated anywhere in the associated documentation.
I'm utilizing it with the PXIe-8822 controller, which has an RS-232 connector on the front. Could I use that as GPIO instead?
03-12-2025 01:18 PM
Unfortunately, that information wasn't included in the last update to the Getting Started guide, which is where it should be in. I found this information internally at NI (I'm an NI employee) and am providing feedback that this information is missing.
The serial port on the 8822 controller can't be used as GPIO pins, it only functions as a serial port. The controller does have a trigger port that can connect up to the PXI Trigger lines in the chassis if that's what you're hoping for.
03-12-2025 02:31 PM
@Ccccc wrote:
Thank you for your response.
Well, that's unfortunate. Can I ask where you found that out? I'm not seeing that indicated anywhere in the associated documentation.
I'm utilizing it with the PXIe-8822 controller, which has an RS-232 connector on the front. Could I use that as GPIO instead?
If you need GPIO, the easiest way is to get a USB DAQ like 6501
03-13-2025 09:48 AM - edited 03-13-2025 09:52 AM
The RS232 handshake lines (two input and two output) can be (ab)used to provide (slow and asynchronious) digital IO. 😉
You can change (or read) them with the serial property node. However they don't have TTL specs, so check with a scope/MM, but shoud provide enough curent to drive an optocoupler (and a current limiting R).