11-06-2009 09:04 PM
Refer TCPIP simple data client.vi from Labview examples. I am trying to get numerical data display after type casting but cannot connect the function. I tried using unbundle, cant work.
I tapped the string connection hoping to see some numerical data in it, but I only see something like "@".
I am expecting some numbers from a simple data server.vi, how to display the numbers in numerical data display without going through the waveform chart?
Advance thanks
Solved! Go to Solution.
11-06-2009 09:16 PM
You've typecasted your string to an array of doubles (or singles, I can't tell from the picture of the diagram), but are trying to wire it to a scalar indicator. You either need to use an array indicator, or use Index array to get one particular element out of the array to send to the numeric scalar indicator.
As for your "@", I don't know about that. It all depends on what data the other end of your TCP/IP communication is sending. Put some probes on the string, and also on the number coming out of the typecasting to number of bytes.