07-04-2012 12:40 PM
How can i receive "numbers" i.e. an integer using Visa Read .. i'm using visa write to send data from a numeric control to the micro-controller via serial interface by casting the "number" to "string" using Type Cast function .. now i want to receive data "numbers" from the micro-controller and display it at the numeric indicator but the buffer of the visa read receives "Strings" only .. any help with this please ??
07-04-2012 01:02 PM
07-04-2012 01:14 PM - edited 07-04-2012 01:14 PM
Typecast can be used for both directions, but it has a middle terminal too. When that is not connected it will generate a string, but when you connect an integer to it it will produce an integer.
07-04-2012 01:25 PM - edited 07-04-2012 01:27 PM
You also have to remember to set the representation of the constant connected to the middle terminal of the typecast.
07-04-2012 01:59 PM