Accessing RFID Digital Ouput

Supporting Java SE version 7 and up
Post Reply
oakStem
Fresh meat
Posts: 2
Joined: Tue Jan 22, 2019 4:10 pm
Contact:

Accessing RFID Digital Ouput

Post by oakStem »

How do I access the RFID Controlled Output (0) to control the +5VDC Source on the terminal block?

I don't see in the API how to retrieve/get the Digital Output class from the RFID object. Nor how to set the Digital Output "on" once I get it.

Thanks in advance for any assistance.
User avatar
mparadis
Site Admin
Posts: 660
Joined: Fri Oct 28, 2011 12:17 pm
Contact:

Re: Accessing RFID Digital Ouput

Post by mparadis »

You need to create a new DigitalOutput object and open it separately. You'll have one variable for your RFID reader, and a different variable for your digital output. This is different from the previous version of our libraries (Phidget21) where everything was in one object.
oakStem
Fresh meat
Posts: 2
Joined: Tue Jan 22, 2019 4:10 pm
Contact:

Re: Accessing RFID Digital Ouput

Post by oakStem »

Thank you! That was very helpful and I was able to access the Digital Output.
Post Reply

Who is online

Users browsing this forum: No registered users and 9 guests