Accessing RFID Digital Ouput

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

Accessing RFID Digital Ouput

Postby oakStem » Tue Jan 22, 2019 4:41 pm

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: 642
Joined: Fri Oct 28, 2011 12:17 pm
Contact:

Re: Accessing RFID Digital Ouput

Postby mparadis » Wed Jan 23, 2019 12:03 pm

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

Postby oakStem » Mon Jan 28, 2019 11:20 am

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


Return to “Java”

Who is online

Users browsing this forum: No registered users and 1 guest