NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Reply
Member
ledsrcool
Posts: 7
0 Kudos
Accepted Solution

port format

Dear LabVIEW Experts,

 

Can someone please explain port format for digital writes? I just got a new Omega OM-USB-1208FS and I'm trying to use its digital i/o lines to control LED sequences (there are 8 LEDs total and I'd like to make a VI that will turn on given LEDs based on maybe a bool array or something like that). I was thinking maybe port format would treat my U8 input like a bit vector and write it to the 8 lines in the port, but from testing it I can see that's not what's happening. If anyone could tell me how port format actually works, or better yet a good way to make the VI that I mentioned above, it'd be appreciated.

 

Thanks

 

P.S. I'm using the ULx VI's, and the block diagram is attached.

 

 

Member
ledsrcool
Posts: 7
0 Kudos

Re: port format

nevermind that, a write digital port vi just snuck its way into my labview folder :smileyhappy: lol

By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page