ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Insert into String

Hi,
I'm trying to insert some value into a string but I can't figure out how to do this. For example a string might be 32323030 but I want to make it 32322E3030. How can I do this?

Please take a look at the attached VI. (LV 8.2)
0 Kudos
Message 1 of 4
(7,844 Views)
Take a look at this VI I made.
 
Cheers.
Ali
Message 2 of 4
(7,828 Views)
There are many here who can answer the question that you directly asked... But in looking at your vi, I am puzzled at what you are actually trying to do.
For instance, where does the dbl come from?  The name indicates you are trying to convert to hex?  But I do not understand by looking at your VI where you are starting, and where you are trying to get to.

Paul
0 Kudos
Message 3 of 4
(7,826 Views)
Thanks Ali that works great.

Stradis:
You didn't need to know any of this for the original question but since you asked.....
The string will feed into a Temp controller using RS232. The user will enter a setpoint temperature, which will be the input, and the VI will generate the correct format of string needed. I put the input into hex because as a checksum the controller requires an XOR of the string to also be sent.



0 Kudos
Message 4 of 4
(7,809 Views)