Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I read back outputs of PCI6527 in vb.net?

I'm trying to readback the output bits of a PCI-6527 after I set them in VB.net. I succesfully wrote to the port, setting all 24 bits at once. Later, I need to know what bits were set. I can see the digital value on the display of the control so I assumed that if I read the '.text' field it would have that number. I seem to always get back an empty string. Am I missing something?
0 Kudos
Message 1 of 2
(3,180 Views)
Hello Breeyet,

I believe that whether or not you use the '.text' field to read the value of the control depends on the property of the control itself. I opened up a "WriteDigPort" example in VB .NET that installs with the DAQ driver and it looks like the control on this example uses the ".Value" field to read the value that was entered into the control. It might be helpful if you zipped up your project and posted it.

Take care,
E.Lee
Eric
DE For Life!
0 Kudos
Message 2 of 2
(3,174 Views)