11-28-2007 12:12 PM
11-28-2007 01:31 PM - edited 11-28-2007 01:39 PM
11-28-2007 01:45 PM
Thanks - I'll give this a go and report back.
In the meantime how is the UDP Read function likely to interpret raw bits of data in a datagram? Will it try to read them as ASCII since the data output from the VI is a string type.
11-28-2007 01:47 PM
russelldav,
It sounds as though you are trying to come up with a way to create binary data streams and stuff them in a string to send using UDP Write.vi. There are probably a million ways for you to create an interface that allows a user to enter binary data. If you need to enter it as 16-bit 1's and 0's, you could put an array of 16-bit unsigned integers on your front panel, turn on the radix, and format to show 16-digits. When you are ready to send, you can use Byte Array to String.vi to convert to string suitable for sending. You will need to do some bit-jockying to get the bytes in order. Attached is one possible 8.2.1 solution.
-cb
11-28-2007 01:51 PM
11-28-2007 02:00 PM
11-28-2007 02:05 PM
11-28-2007 03:26 PM