LabVIEW Embedded

cancel
Showing results for 
Search instead for 
Did you mean: 

How to send/recive this package in UART

Dear all

 

I want my LabVIEW connect with a digital sero motor.

it is micro controller based named wCK module (Full Duplex UART serial, 115200 bps).

I use ADM3232 chip and UCON-232S(USB to serial) connected to the servo.

 

The command package is attached.

Please give me some advise I could not do it.

 

Best regards,

yaovja

Engineering at Sriracha
Kasetsart University
Message 1 of 8
(12,601 Views)

This is LabVIEW Embedded board.

However, drag the snippet, select your COM port (watch in Device Manager if you don't know the number), and enjoy.

 

servo actuate.png

 

I am sure you can handle to make a subVI from send/recv part of the BD, send on demand, or other behaviors.

 

Good Luck

0 Kudos
Message 2 of 8
(12,597 Views)

Thank you so much.

 

Engineering at Sriracha
Kasetsart University
0 Kudos
Message 3 of 8
(12,570 Views)

How to creat the "x" before FF in the command packet?

0 Kudos
Message 4 of 8
(10,809 Views)

Right click the contstant>>Properties and on the appearance tab check 'Show Radix'.

Now Using LabVIEW 2019SP1 and TestStand 2019
0 Kudos
Message 5 of 8
(10,805 Views)

format.pngThanks!

 

I was writing my program. I have a format dot shown in the picture.

 

How can I delete it?

 

 

0 Kudos
Message 6 of 8
(10,801 Views)

From the Help: 

 

Coercion Dots

Coercion dots appear on block diagram nodes to alert you that LabVIEW converted the value passed into the node to a different representation. For example, the red coercion dot appears on the Add function in the following illustration because the function expects two double-precision, floating-point inputs. If you change one of those inputs to an integer, the dot indicates that you wired two different data types together but the types are similar enough that the wire type can be converted into the terminal type.

The block diagram places the coercion dot on the border of the terminal where the conversion takes place. Because VIs and functions can have many terminals, a coercion dot can appear inside an icon if you wire through one terminal to another terminal.

Red coercion dots appear on block diagram nodes when you connect a wire of one numeric type to a terminal of a different numeric type, as shown in the previous illustration, or when you connect any non-variant wire to a variant terminal.

 

Hopefully that answers your question, 

 

Zach

Applications Engineer
National Instruments
CLD Certified
0 Kudos
Message 7 of 8
(10,778 Views)

You have got Correction dot there because your Array is Array of U16s and Byte Array to String expect Byte Array = Array of U8s

0 Kudos
Message 8 of 8
(10,704 Views)