Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

Need help with PMD-1208LS

Hi, experts of LabVIEW:
Can you show me how to control PMD-1208LS by Measurement Computing. I have already installed the InstaCal and the Das16.llb in my LabVIEW 7.0 user's lib folder.
0 Kudos
Message 1 of 2
(3,438 Views)
Hello There,

First call DCFGPORT.VI once only for each of FIRSTPORTA and FIRSTPORTB, to set the direction of each of these two 8-bit ports. Then you must decide whether to control/read via byte operations (i.e. an entire 8-bit port) or via bit operations (one of the 16 individual lines at a time)

For Byte operations, use DIn.VI or DOut.VI, making sure to specify FISRTPORTA or FIRSTPORTB.

For Bit operations, use DBitIn or DBitOut. Be sure to always specify FIRSTPORTA (do not specify FIRSTPORTB). The bit number is between 0-7 for port A and 8-15 for port B.
0 Kudos
Message 2 of 2
(3,438 Views)