I have a project that I'm currently working on that involves sending various messages (hexidecimal format) via TCP protocol. I need a way to create/generate these codes in Labview. I currently have a program that was written in VB that performs the operation needed, but I have no way of using it to interface with a DAQ board (the next step in the project).
I've tried using FOR, WHILE, and Timed Loops, but the issue I run into is incrementing the various bytes. Example:
I need to send a command like this: 0E 00 21 06 00 00 05 00 01 42 45 54 54
And then I want to change the "01" to 02, 03, and so on up to FF. When it reaches FF, the next step is to increment the "00" in front of it. I've been able to get one series to work (using timed loop to create the command, then send and receive response through TCP, then check DAQ for output, then repeat, but when I reach FF, I can't get the second pair to increment as well.
Any ideas?