Hello,
You can simply define the data byte in bits by actually specifying 1s and 0s in LabVIEW with a numeric control; here's how:
0. drop a numeric control on a front panel
1. right click on it and choose Properties to display the properties dialog box
2. click the Format and Precision tab
- select binary from the list
- place a check mark in the "Use minimum field width" checkbox
- specify a width of 8
- select "Pad with zeros on the left" from dropdown box; this will display the binary representation of a byte
- click Ok to close the dialog box
3. Now, to write the byte to the serial port using the VISA Write function, all you have to do is type cast the byte to type string.
See the attached screen shot.
Best Regards,
JLS