LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

U16 Button and delay problems

Hi,
Im a bit new to labview and I was just looking through the examples.
I was confused about what the U16 button is and how you can place this
button on my VI

Also, as a secondary problem I also seem to have a bit of a delay when
using visas to write to a com port. Is this something that is
supposed to happen? I had a similar problem earlier with my NI daq
and i found out that i set the sample rate too high and it would not
output a value until the buffer filled with samples(as far as i can
understand at least). Is a similar thing happening on my VI?

0 Kudos
Message 1 of 5
(2,463 Views)
Hi Phil,

your U16 button probably is a ring control - look for it at 'Ring & Enum' palette.

For your other problem: Can you attach your vi?
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 5
(2,457 Views)

Phil,

As such, there is NO U16 BUTTON in LabVIEW.

Like what GerdW had suggested, it is euther Ring or Enum by default, or a Numeric changed to U16.

Look into things to get a clearer & deeper picture. Smiley Wink

- Partha ( CLD until Oct 2024 🙂 )
Message 3 of 5
(2,446 Views)
On Jun 4, 5:10 am, parthabe <x...@no.email> wrote:
> Phil,
> As such, there is NO U16 BUTTON in LabVIEW.
> Like what GerdW had suggested, it is euther Ring or Enum by default, or a Numeric changed to U16.
> Look into things to get a clearer &amp; deeper picture. Smiley Wink

I was also confused about using VISA's to write to a com port(serial
communication). I merely used the sample code provided in the
exmamples. It did not allow me to output data to the com ports
without a huge delay (5s or so). Is there anyway that I can fix it?
thanks

0 Kudos
Message 4 of 5
(2,427 Views)
Hi Phil,

why don't you make up your own example? Like the one attached... (Make sure the VISA constant is set to COM1 or the name of your serial port!)
On my computer it takes only milliseconds to run!
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 5 of 5
(2,407 Views)