Quantcast
Channel: Instrument Control (GPIB, Serial, VISA, IVI) topics
Viewing all articles
Browse latest Browse all 5565

Help sending command packet hex values to serial connection? Piezoelectric element control

$
0
0

I'm trying to control a piezoelectric element that connects to the computer via serial connection. The command set documentation provided by the supplier provides the formats for the command packets that need to be sent to the serial connection, but I'm having trouble figuring out how to do this in labview.

The first command packet I need to send is a set of four hex values, that I bundled with the hope of sending to the Serial Write function, but the wire is broken and the error reading says that the Serial Write input and the cluster output are different types and therefore incompatible.

I've read some other places that I need to use a byte array and then convert that to hex, but I don't really understand this instruction. If this is the solution, can someone please elaborate for me and tell me where in the menu I can find the byte array, and why this is the solution?

Here is a photo of my wiring error: http://imgur.com/3enNZfR

Thanks!


Viewing all articles
Browse latest Browse all 5565

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>