LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to use bidirectional I/O in CLIP of LabVIEW FPGA?

Solved!
Go to solution

How to use or define bidirectional I/O for CLIP with LabVIEW FPGA? I want to use 1-wire communication inside CLIP core, the function will implement read and write that I/O inside the CLIP.

 

The CLIP XML Generator (CXG) 1.1.0 does not support.

 

Thanks,

Supawat

0 Kudos
Message 1 of 4
(2,695 Views)

Supawat,

 

LabVIEW does not have a native bidirectional(inout) datatype. You will have to workaround this by introducing a tristate buffer in CLIP with three CLIP I/O items, two from LabVIEW to CLIP (PinOutputData and PinOutputEnable) and one from CLIP to LabVIEW (PinInputData)

Rob K
Measurements Mechanical Engineer (C-Series, USB X-Series)
National Instruments
CompactRIO Developers Guide
CompactRIO Out of the Box Video
0 Kudos
Message 2 of 4
(2,667 Views)

Rob,

 

Thanks, I will try. By the way, the attached files from xilinx of the picoblaze IFF function implement in Spartan3. Is posible to use in LabVIEW FPGA? IB pin is the bidirectional communication to 1-wire DS2432.

 

Supawat.

Download All
0 Kudos
Message 3 of 4
(2,652 Views)
Solution
Accepted by topic author asupawat
Working after separate IB pin(bidirectional pin) to input and output. Thanks.
0 Kudos
Message 4 of 4
(2,647 Views)